Skip to main content
  • Loading metrics

Emergence of Functional Specificity in Balanced Networks with Synaptic Plasticity

  • Sadra Sadeh ,

    Current address: Department of Neuroscience, Physiology and Pharmacology, University College London, London, United Kingdom

    Affiliations Bernstein Center Freiburg & Faculty of Biology, University of Freiburg, Freiburg im Breisgau, Germany, Bioengineering Department, Imperial College London, London, United Kingdom

  • Claudia Clopath ,

    ‡ These authors are joint senior authors on this work.

    Affiliation Bioengineering Department, Imperial College London, London, United Kingdom

  • Stefan Rotter

    ‡ These authors are joint senior authors on this work.

    Affiliation Bernstein Center Freiburg & Faculty of Biology, University of Freiburg, Freiburg im Breisgau, Germany


In rodent visual cortex, synaptic connections between orientation-selective neurons are unspecific at the time of eye opening, and become to some degree functionally specific only later during development. An explanation for this two-stage process was proposed in terms of Hebbian plasticity based on visual experience that would eventually enhance connections between neurons with similar response features. For this to work, however, two conditions must be satisfied: First, orientation selective neuronal responses must exist before specific recurrent synaptic connections can be established. Second, Hebbian learning must be compatible with the recurrent network dynamics contributing to orientation selectivity, and the resulting specific connectivity must remain stable for unspecific background activity. Previous studies have mainly focused on very simple models, where the receptive fields of neurons were essentially determined by feedforward mechanisms, and where the recurrent network was small, lacking the complex recurrent dynamics of large-scale networks of excitatory and inhibitory neurons. Here we studied the emergence of functionally specific connectivity in large-scale recurrent networks with synaptic plasticity. Our results show that balanced random networks, which already exhibit highly selective responses at eye opening, can develop feature-specific connectivity if appropriate rules of synaptic plasticity are invoked within and between excitatory and inhibitory populations. If these conditions are met, the initial orientation selectivity guides the process of Hebbian learning and, as a result, functionally specific and a surplus of bidirectional connections emerge. Our results thus demonstrate the cooperation of synaptic plasticity and recurrent dynamics in large-scale functional networks with realistic receptive fields, highlight the role of inhibition as a critical element in this process, and paves the road for further computational studies of sensory processing in neocortical network models equipped with synaptic plasticity.

Author Summary

In primary visual cortex of mammals, neurons are selective to the orientation of contrast edges. In some species, as cats and monkeys, neurons preferring similar orientations are adjacent on the cortical surface, leading to smooth orientation maps. In rodents, in contrast, such spatial orientation maps do not exist, and neurons of different specificities are mixed in a salt-and-pepper fashion. During development, however, a “functional” map of orientation selectivity emerges, where connections between neurons of similar preferred orientations are selectively enhanced. Here we show how such feature-specific connectivity can arise in realistic neocortical networks of excitatory and inhibitory neurons. Our results demonstrate how recurrent dynamics can work in cooperation with synaptic plasticity to form networks where neurons preferring similar stimulus features connect more strongly together. Such networks, in turn, are known to enhance the specificity of neuronal responses to a stimulus. Our study thus reveals how self-organizing connectivity in neuronal networks enable them to achieve new or enhanced functions, and it underlines the essential role of recurrent inhibition and plasticity in this process.


Although lacking an orderly map of orientation selectivity (OS) [13], an increased connectivity between neurons with similar preferred orientations (POs) has been reported in the visual cortex of adult mice [47]. However, such specific connectivity is conspicuously lacking immediately after eye opening [6], suggesting that it might be a result of experience-dependent plasticity during development. Simulations have indeed corroborated that synaptic plasticity can lead to the formation of functionally specific networks [6].

The insight into the neuronal mechanisms that can be derived from those numerical studies is, however, still somewhat limited: First, the results were reported only for very small ensembles of neurons that lacked the rich recurrent dynamics of realistic cortical networks. Second, the receptive fields and OS properties were mainly driven by feedforward inputs, and the effect of large recurrent network dynamics in shaping orientation selective responses of neurons was not taken into consideration. It remains, therefore, unclear if feature-specific connectivity can at all emerge in more realistic neuronal networks, and whether the recurrent dynamics possibly compromises the stability of the learned weights.

Here we study this scenario in large-scale recurrent networks of excitatory and inhibitory neurons. These networks are known for their rich and biologically realistic repertoire of the dynamics they can exhibit [8, 9]. As a result, it is not clear if the connectivity structure observed experimentally in adult animals [6] can also be obtained in simulations under these more realistic conditions. Collective dynamics of a strongly recurrent network of excitatory and inhibitory neurons may enhance, but could also impede Hebbian learning and self-organization [10, 11]. The dynamics of large plastic networks is difficult to characterize in general [10, 1222], and there is conflicting evidence whether functional subnetworks can emerge in them under biological conditions. It remains, therefore, unclear if functionally specific connectivity can develop in such networks.

Even more challenging is the question whether specific connectivity can be obtained in balanced networks of spiking neurons with realistic receptive fields. It has been recently demonstrated that balanced random networks can show highly selective neuronal responses despite receiving only weakly tuned inputs [2325]. Here we report that both highly selective neuronal responses and functionally specific connectivity emerge simultaneously in balanced random networks with synaptic plasticity of excitatory-excitatory and excitatory-inhibitory recurrent connections. In addition, the resulting connection specificity is sensitive to the statistics of the stimuli, and an over-representation of one particular orientation leads to an over-representation of functionally specific weights among those neurons that prefer this orientation. Interestingly, the emerging functional subnetworks remain stable for spontaneously active (non-stimulated) networks, and the activity of the network in absence of a visual stimulus does not substantially change the learned weights.


Our point of departure is a recurrent network of excitatory and inhibitory neurons, with sparse random connectivity (Fig 1A). Both the connection probability and the synaptic weights are taken to be independent of the orientation preference of pre- or post-synaptic neurons. We now ask the question whether such a network with plastic recurrent synapses can, through visual experience, develop specific connectivity (Fig 1B), where neurons with similar preferred orientations are more likely and/or more strongly connected than others. To simplify our simulations and analyses, we admit only changes in the strength of synapses here. Structural plasticity is not considered here and, hence, the multiplicity of connections is fixed in the networks considered (see Materials and Methods). Feedforward plasticity is also not considered, and we assume a fixed weight for the feedforward connections in all our simulations (see Discussion).

Fig 1. Simulating the effect of synaptic plasticity in balanced random networks.

(A) In random networks of excitatory (E; triangles) and inhibitory (I; circles) neurons, synaptic connections are established disregarding the stimulus selectivities (preferred orientation) of pre- and post-synaptic neurons. (B) In specific networks, synapses between neurons of similar preferred orientations are stronger, while dissimilar feature selectivity of pre- and post-synaptic neurons imply weaker synapses between them. (C–F) Stimulus-induced response of a network before, during and after learning. The middle of each panel shows the raster plot of two seconds of stimulation. Spikes of excitatory and inhibitory neurons are displayed in red and blue, respectively. Within each population, neurons are sorted according to the preferred orientations of their weakly tuned inputs. Average firing rates of individual neurons during the period of stimulation are shown in the histogram on the right. The average firing rate of each subpopulation is indicated to the right of it, in the corresponding color. The lower panel depicts the time-resolved histograms of population activity for excitatory (red) and inhibitory (blue) neurons, respectively. Population spike counts are extracted from bins of size 10 ms. The colored bar at the bottom of the main panel shows the sequence of stimulus orientations applied during the simulation (color code is indicated between panels (D) and (E)). For the simulations before (C) and after (F) learning, the initial or final weights are frozen, respectively, and network activity is simulated with static weights in response to a stimulus of orientation 90°. During learning, a network with plastic synapses is stimulated with 40 batches of oriented bar stimuli. Each batch consists of a random sequence of 20 different stimulus orientations, each stimulus lasting for 100 ms. Therefore, the “visual experience” lasts 20 × 20 × 0.1 s = 40 s in total. The responses to the first and the last batch are shown in (D) and (E), respectively.

Activity-dependent modification of network responses

In agreement with experiments in mice demonstrating that neurons show orientation selective responses already at eye opening [6], neurons in our networks exhibit selective responses even before synaptic plasticity is turned on in the network, and despite receiving only weakly tuned inputs [6, 2325]. This is demonstrated here with the example of network activity in response to a stimulus orientation of 90° (Fig 1C).

We then studied the consequences of turning on synaptic plasticity in our networks. We implemented a voltage-based spike-timing dependent plasticity (STDP) rule [26] for excitatory-to-excitatory (E → E), excitatory-to-inhibitory (E → I), and inhibitory-to-excitatory (I → E) connections, while keeping inhibitory-to-inhibitory (I → I) connections non-plastic (see Materials and Methods). This particular learning rule has been shown to faithfully reproduce a broad range of experimental results on pair-based spike-timing-dependent plasticity, STDP [27, 28], voltage-clamp experiments [29, 30]), frequency dependency [31], pair and triplet experiments [32], and triplet and quadruplet experiments [33] (see [34] for details). We then stimulated the plastic network with a random sequence of different orientations, reflecting some visual experience of this circuit of total duration 80 seconds. The response of the network at the beginning and at the end of the learning period are depicted in Fig 1D and 1E, respectively. The raster plots and histograms of population activity show that plasticity-induced changes cause sparser activity in the network in the excitatory population. Individual neurons are selective before and after learning, but after learning they respond with a lower number of spikes, and to a reduced range of stimulus orientations. This is most evident when we freeze the final weights after learning and stimulate the network with exactly the same input as before learning (compare Fig 1C and 1F). The overall response of the network activity (as reflected by the “network tuning curve”) is still selective, but fewer spikes are emitted, and a smaller set of neurons is now active.

Individual tuning curves before and after experience-dependent plasticity

Changes in neuronal responses as a result of learning can be further illustrated by individual tuning curves (Fig 2). We obtained such tuning curves by stimulating the network before and after learning (Fig 1C and 1F, respectively), for 8 different stimulus orientations. Tuning curves were extracted from the average firing rates of neurons in response to each orientation. Shown are a sample excitatory and a sample inhibitory neuron in Fig 2A and 2B, respectively, and the average tuning curves of the respective subpopulations in Fig 2C and 2D, respectively. Such average tuning curves are obtained from averaging over individual tuning curves each aligned to its respective input preferred orientation.

Fig 2. Orientation selectivity before and after learning.

(A) Tuning curves of a sample excitatory neuron from the network before and after learning. The mean firing rate of a neuron for different stimulus orientations was extracted from simulations of network activity for two seconds, as explained for Fig 1C and 1F. This was repeated 10 times for each orientation, and the mean and standard deviation over trials of the firing rates are depicted by solid lines and corresponding shadings, respectively. (B) Same as (A) for a sample inhibitory neuron. (C) All tuning curves of excitatory neurons, similar to the tuning curve in (A), were aligned to the preferred orientation of the input, and the average tuning curves (over 180 bins) before and after learning were computed from them. The solid line indicates the mean value in each bin, and the shading is ± one standard deviation. The orientation selectivity index indicated in the plot (OSI, see Materials and Methods) was computed from the average tuning curves, respectively. (D) Same as (C) for the inhibitory population. (E) The OSI was computed for each individual tuning curve, and its distribution for the entire excitatory population is shown for a network before (solid) and after (outlined) learning. The average OSI in the network is indicated for each case. (F) Same as (E), for the inhibitory population.

Overall, tuning curves show a slight enhancement of selectivity, as quantified by the orientation selectivity index, OSI (see Materials and Methods). The excitatory population responds with less firing rate, consistent with our observation above that plasticity leads to sparser and more selective network responses in this case. Enhancement of orientation selectivity, for individual cells, also shows up in the distribution of OSI of individual tuning curves before and after learning (Fig 2D and 2E, for excitatory and inhibitory populations, respectively).

This enhancement of tuning in excitatory neurons is consistent with the results reported by Ko et al. [6], who demonstrated a slight enhancement of OSI after eye opening (an increase from 0.62 to 0.68, see supplementary Figure 2 therein). Another experimental study [35] has in fact reported a larger (almost two-fold) enhancement of OSI (from ≈ 0.4 to 0.8, see Figure 4B therein) during development. Note, however, that a different measure of orientation selectivity (i.e. (RprefRorth)/(Rpref + Rorth), where Rpref and Rorth are firing rates at preferred and orthogonal orientations, respectively) were employed in these two experimental studies, as opposed to the “global” measure of orientation selectivity (1−circular variance, see Materials and Methods) that we have used here [36, 37]. A very recent study [38] has in fact computed both measures of orientation selectivity and found a significant enhancement of OSI for both measures.

Emergence of feature-specific connectivity through learning

The synaptic learning rule considered here allows for changes in the weights of connections. Comparing the initial random connectivity matrix (Fig 3A) with the connectivity matrix after learning reveals some interesting structure within its subpopulations (Fig 3B). This pattern becomes more salient when the accumulated changes of weights are plotted directly (Fig 3C). One observes an unspecific potentiation (increase in amplitude) of E → I and (I → E) connections (column numbers and row numbers 401 to 500, respectively). This explains the observed sparser responses in the network as the result of a more intense recruitment of inhibitory neurons.

Fig 3. Emergence of specific connectivity as a result of synaptic plasticity.

(A) Initial connectivity matrix of the random network. Each excitatory neuron is connected to a random sample of 30% of all post-synaptic neurons, with a weight EPSP = 0.5 mV. Inhibitory neurons form synapses of weight IPSP = −4 mV. Neurons are sorted according to their preferred orientations (POs) within each population (1–400: excitatory, 401–500: inhibitory). (B) Matrix of synaptic weights in the network, after learning. (C) Change in the weights as a result of plasticity and “sensory experience”. The overall weight increase on the diagonal shows the specific potentiation of synapses between pairs of excitatory neurons with similar POs. (D–F) The final weights (black) are plotted against the difference in the preferred orientations (dPO) of pre-synaptic and post-synaptic neurons, for E → E(D), E → I (E) and I → E (F) connections, respectively. The initial weights are shown in red, for comparison. (G) Mean of the weight distributions are shown for all synapses between neurons with similar (dPO < 30°), indifferent (30° < dPO < 60°) and dissimilar POs (dPO > 60°). The unspecific distribution of initial weights (red) has now changed to an over-emphasis of connections between neurons with similar POs, indicating the emergence of specific connectivity in the network through synaptic plasticity and visual experience.

More noteworthy, however, is the increase in some E → E connections (diagonal band in the matrix (B) and (C)). As neuron indices are sorted according to the preferred orientation of the input to neurons, an increase around the main diagonal indicates a potentiation of connections between neurons with similar preferred orientations. The obvious symmetry of the E → E block implies an over-representation of bidirectional connectivity between these neurons, as was also shown experimentally [6]. This can be quantified by a normalized measure of weighted bidirectional connectivity (WBInorm, see Materials and Methods), which has been increased here from 1 (bidirectional connections expected from a random distribution of weights) before plasticity to 1.38 (38% over-representation of bidirectional weights compared to random distribution) after plasticity. As was noted in a previous small network model [6, 26], with an architecture that was mainly driven by feedforward links, this increase in bidirectional connectivity is a consequence of the employed plasticity rule and would also hold for other, similar nonlinear rules [3942]. Symmetric pair-based STDP models [14, 43], however, would not support bidirectional connectivity.

Fig 3D3E show the distribution of synaptic weights after learning, in relation to the difference in preferred orientation of pre- and post-synaptic neurons (dPO). The clear tuning of weights for E → E connections (Fig 3D) demonstrates the emergence of specific connections (black) in the network from initial random connections (red). In the case of E → I (Fig 3E) and I → E connections (Fig 3F) the specific enhancement of weights is generally much weaker, reflecting the aforementioned essentially unspecific potentiation of all connections. The reason for this is the weaker tuning of neuronal responses in the inhibitory population (Fig 2A2D), as was also observed experimentally [4, 44, 45]. In our simulations, this is in turn a result of a weaker tuning of feedforward input to inhibitory neurons (see Materials and Methods).

The sharp tuning of E → E weights as a function of the difference between preferred orientations (dPO) of the pre- and post-synaptic neurons leads to an over-emphasis of connections between neurons with similar preferred orientations. If pre-post pairs are split according to the difference of their preferred orientations to similar (dPO < 30°), indifferent (30° < dPO < 60°) and dissimilar groups (60° < dPO < 90°), a clear trend is now observed (Fig 3G). In contrast to random networks with a flat profile of average connectivity (before learning, red), after the plastic period in the balanced network pairs of excitatory neurons with similar POs increase, and pairs with dissimilar POs decrease the strength of a synapse between them (after learning, black), fully consistent with experiments [5, 6].

In the results presented above, we considered networks with a connection probability of 30% for both E → E and E → I connections. An even higher connection probability for E → I has in fact been reported in an experimental study [4]. We therefore studied how such a difference in connectivity affects our results. We found that all our main results, including emergence of feature-specific connectivity and sparse orientation selective responses after learning, also hold for the alternative connectivity parameters (S1 Fig). Our results are therefore also consistent with a more experimentally constrained network connectivity. Note, however, that matching the parameters of our model networks to real cortical networks might not be straightforward, as relatively small networks of 500 neurons were considered to speed up the simulations, and the exact scaling of the connectivity parameters for larger networks might be different. Our conclusions, however, hold for a range of connectivity parameters as long as the network is inhibition-dominated and operates in a balanced activity regime.

Balanced activity regime before and after learning

The balanced change of synaptic weights ensures that balanced regime of activity is maintained in the network also after learning (Fig 4). In either case, a large excitatory input to the neurons is counter-balanced by recurrent inhibition of comparable strength, which keeps individual neurons away from saturation, and prevents runaway activity to occur in the network. This is demonstrated for a sample neuron in response to its preferred orientation before and after learning (Fig 4A and 4D, respectively). A 500 ms trace of the actual membrane potential of the neuron is shown, along with the excitatory and inhibitory components of its (spike free) membrane potential.

Fig 4. Balanced activity regime before and after learning.

(A) The membrane potential trace of the same excitatory neuron shown in Fig 2A in response to its preferred orientation is depicted here for 500 ms. The black trace is its actual membrane potential, with the thin vertical lines denoting spikes when the membrane potential crosses the spiking threshold (the dashed line). The red and the blue traces reflect the excitatory and inhibitory components of the free membrane potential (by not allowing the neuron to spike), respectively. (B) Temporal average of the membrane potential, ⟨u⟩, over two seconds of stimulation is extracted for each stimulus orientation and plotted as a tuning curve. The tuning curve of the free membrane potential, ufree, is also computed, by correcting for the total reset voltage induced as a result of spiking, i.e. ufree = u + τm uth r, where r is the mean firing rate of the neuron. (C) The tuning curves introduced in (B) for a single cell are now computed for the whole network, by aligning the individual tuning curves and computing the mean and standard deviation of values in each 180 discrete bins (similar to Fig 2C). (D–F) Same as (A–C), respectively, for the network after learning.

As a result of balanced input to the neuron, its membrane potential remains on average below threshold, and spikes are generated by positive-going fluctuations. The tuning curve of the average membrane potential of a sample neuron before and after learning (Fig 4B and 4E, respectively), as well as the average (over network) tuning curves of the membrane potential of all neurons in the network also reveal the same behavior (Fig 4C and 4F). Both networks, before and after learning, operate in the balanced activity regime. The only difference is that the network after learning shows more hyper-polarized membrane potentials (Fig 4F). This is explained by the potentiated inhibition shown in Fig 4D, as compared to the network before learning. This is also fully consistent with sparser and more selective responses of networks after activity-dependent plasticity.

Orientation selectivity that emerges in balanced networks is very pronounced, even if the selectivity of the feedforward input is extremely weak. This is because the untuned component of the input is strongly suppressed by balanced networks [23], as a result of selective attenuation of the common-mode due to dominant recurrent inhibition, while the same mechanism does not affect the tuned component [25]. This processing is fully contrast-invariant: If the tuned component of the input remains the same while only the untuned component increases (leading to a decrease of the relative modulation depth of the input), balanced networks still maintain their output selectivity.

This is exactly the scenario when the typical connectivity in the network, C = ϵN (corresponding to the average number of connections each neuron receives in the network, see Materials and Methods), increases. In this case, the untuned component scales with C, while the modulation scales with . As a consequence, the relative modulation amplitude of the input tuning (denoted by μ in our model, see Materials and Methods), also scales with [23]. We therefore investigated the response of our networks for different input selectivities in this manner, to see if our networks invariantly respond to more weakly tuned inputs.

To study this situation, we decreased the relative modulation of input to excitatory neurons, μexc, in our networks, while scaling the strength of input such that the absolute modulation amplitude in the input remained the same (Fig 5). The tuning curves of a sample cell are, in fact, almost the same before and after learning (Fig 5A and 5B). Output selectivity is maintained despite a two-fold decrease in input selectivity.

Fig 5. Orientation selectivity of network responses to more weakly tuned inputs.

(A) Simulations of the network in Fig 2 (before learning) are repeated with the following changes in the parameters: sb (see Eq 2 in Materials and Methods) is scaled by a connectivity factor (C = 1, 2, 4), which emulates an effective increase in connectivity. The relative modulation of the feedforward input to excitatory neurons, μexc (Eq 2), is reduced by a factor . Finally, to keep the absolute size of modulation the same, feedforward synaptic strength is scaled by a factor . The output tuning curve of the sample neuron in Fig 2A for the three different values of C is then plotted. (B) Same as (A) for the network after learning. (C) Average tuning curves of all the cells in the network (extracted similarly to Fig 2C) are plotted for different values of C, along with the OSI computed for each average tuning curve. (D) Same as (C) for the network after learning. (E, F) Distribution of OSI of individual tuning curves (similar to Fig 2E and 2F) for the networks before and after learning, respectively.

This effect can be better seen, on the level of the entire population, by plotting the average tuning curve of neurons in the network (Fig 5C and 5D), and the distribution of OSI of individual tuning curves (Fig 5E and 5F). Robust output selectivity is again observed for both networks, before and after learning. However, although there are some subtle differences among different tuning curves before learning, the network after learning shows completely identical responses to different inputs. Plasticity of excitatory and inhibitory weights, therefore, also extends the invariance of balanced network responses to more weakly tuned inputs.

Dynamics and stability of learning in the network

Next we looked at the dynamics of plasticity in our networks (Fig 6). Following the time evolution of the synaptic weights (averaged over synapses and average per batch) indicates that the connection weights converge smoothly to their equilibrium values during the period of evoked activity of the network (Fig 6A). Importantly, the learned weights remains stable during spontaneous activity: We continued the stimulation with an input that lacks feedforward tuning and has a weaker baseline intensity (reflecting the fact that in the spontaneous state the feedforward input and hence the untuned input induced by it would be weaker). The results showed that the weights learned in the stimulus-induced state now remain stable during untuned input, when the network exhibits only sparse spontaneous activity (Fig 6A). We can therefore conclude that the learned weights generally remain stable even when the corresponding visual stimuli are not present, and govern the evoked responses in future stimulations. Note that this phenomenon could not have been studied in the small network model mentioned before [6], as is the networks studied there were mainly driven by feedforward, stimulus-induced input, and were lacking the realistic recurrent dynamics of large-scale networks we study here.

Fig 6. Dynamics and stability of learned weights.

(A) Evolution of synaptic weights in the network during plasticity. After each batch of learning, weights are frozen and compared to the weights in the previous batch. The difference in the weights is averaged over populations, for all synapses, respectively. On average, weight changes decrease over batches, indicating the convergence of the learning process. The weights established under evoked activity are also stable for spontaneous activity, in absence of any specific stimulation (batch 41 and later, after the vertical dashed line). Here, the plasticity period is continued for extra 10 batches, where neurons are only receiving an untuned background input (with an input rate of sb/2 and μ = 0, see Materials and Methods). (B) Distribution of weights are shown separately for E → E, E → I and I → E weights, for evoked and spontaneous states, respectively. In each case, two distributions are shown, one sampling the beginning and one sampling the end of the corresponding learning phase. (C) Distribution of weights extracted at the end of each trial batch (every 2 s) is plotted for all plastic connections in a pseudo-color map. Note the logarithmic scale of the color code.

The convergence of synaptic weights we observed in Fig 6A was for the average weights over synapses. To obtain more insight on the evolution of synaptic weights on the systems level, it is important to also look at the distribution of weights, rather than only on their mean values (Fig 6B and 6C). The distribution of weights before and after learning in the evoked state (first column) and during spontaneous activity (second column) is plotted for E → E, E → I and I → E connections, respectively (Fig 6B). A more complete account of the evolution of weight distributions can be obtained by inspecting the changes in weights after each batch of learning (Fig 6C). Both analyses corroborate the previous results on the convergence of the mean weights, and the stability of weights under spontaneous activity.

However, in the case of E → E weights, as opposed to other connections, a bimodal weight distribution emerges out of the initial distribution of weights. This is due to the fact that the learning rule considered here is hyper-competitive. Therefore the weights are typically pushed either to very high or to very low values. Similar bimodal distributions have previously been reported in several other studies [14, 46, 47]. We did not observe such a bimodal distribution when we chose the initial (non-zero) excitatory weights from a normal distribution about Jexc (S2 Fig) (for a similar observation, see [14]).

In both cases (Fig 6 and S2 Fig), however, imposing hard bounds on E → E weights seems necessary: in Fig 6C, the emergent bimodal distribution is not stable and smaller and larger weights are still changing (decreasing and increasing, respectively). As a result, if learning is continued for a longer time, smaller weights converge to zero and larger weights converge to the maximum weight imposed on the connections. Such a bimodal distribution at wmin and wmax is already visible in S2 Fig.

To further study the issue of dynamics of learning in our networks, we can also investigate whether the network is sensitive to the statistics of stimulation (Fig 7). To test that, we presented cardinal orientations more frequently to the network such that half of stimuli corresponded to either 0° or 90°. We observed that, as a result, the subnetworks corresponding to these orientations became over-represented in the network, as reflected by its connectivity matrix (Fig 7A). Although neurons with similar preferred orientations were still connected more strongly, the enhancement of connectivity is more pronounced for subnetworks preferring over-represented orientations, here corresponding to the cardinal orientations (Fig 7B). Thus, the Hebbian learning leads to the emergence of feature-specific connectivity, while it remains sensitive to the statistics of stimulation.

Fig 7. Stimulus statistics is reflected in the learned weights.

(A) Sensitivity of the final weights to an over-representation of certain stimulus orientations. When the stimulation is repeated with cardinal orientations being more frequent than others (0° and 90° stimuli represent 50% of all stimuli), the final weights also reflect this over-representation of the corresponding subnetworks. (B) Total weight change of each presynaptic neuron is plotted vs. its initial preferred orientation (PO). Specifically for the excitatory population, neurons with POs close to 0° and 90° show the highest increase in their synaptic weights.

Joint emergence of feature selectivity and selective connectivity

Our results so far revealed a critical role of inhibition for the initial establishment of orientation selectivity and the ensuing emergence of feature-specific connectivity. The former was governed by the network dynamics alone, and specifically was a result of inhibition-dominance in our networks. For the latter plasticity of certain recurrent synaptic connections was needed. Next we asked the question what would happen if the initial selectivity was not as strong as we had assumed so far in our simulations underlying Figs 17.

To answer this question, we first decreased the dominance of inhibition by a factor of 2 (from g = 8 to g = 4). This lead to a network that was not any more dominated by inhibition, rather excitation and inhibition were of equal strength. Under these conditions, the output selectivity of the network response was not as strong as before (Fig 8A), and the response was generally less sparse. During learning, however, the responses became gradually sparser and highly selective (Fig 8B and 8C), and eventually a degree of selectivity was obtained comparable to the case g = 8 considered before (Fig 8D). As a result of synaptic learning in the network, inhibition became more dominant, which ensured highly selective output responses. Notably, feature-specific connectivity was found to result from this procedure at the same time (Fig 8E8K). Thus, enhancement of feature selectivity and emergence of feature-specific connectivity jointly result from plasticity in randomly connected recurrent networks, even if they are not, or only weakly dominated by inhibition.

Fig 8. Emergence of feature selectivity and feature-specific connectivity.

The format of (A–D) is identical to Fig 2, (C–F), and (E–K) identical to Fig 3, respectively, for a network with initial random connectivity and strongly reduced inhibition dominance, g. Instead of g = 8, the inhibition-dominance ratio is now decreased to g = 4 for the network “before plasticity”. As before, the learning was run for 20 batches.

To study how feature-specific connectivity is related to initial orientation selectivity in our networks, we systematically changed the inhibition dominance ratio, g, and measured the selectivity of E → E weights after learning in each network (Fig 9). The more dominant inhibition was in the beginning, the more selective were the initial network tuning curves (Fig 9A). In all networks, some degree of feature-specific connectivity emerged after learning (Fig 9B). However, the post-learning connections were more specific in networks with initially more selective responses, as revealed by quantifying the selectivity of initial network responses and specificity of final network connections after a similar period of learning (Fig 9C).

Fig 9. Relation between orientation selectivity and feature-specific connectivity induced by learning.

(A) Initial (before learning) response selectivity for networks with different amounts of inhibition dominance, g. (B) Each network is simulated for 20 batches of learning, and the final selectivity of E → E weights is illustrated by plotting the weights vs. the difference in the PO of pre- and post-synaptic neurons (pre-post dPO). (C) The selectivity of the initial network tuning curve (A) and the final weight tuning (B) is quantified by computing their OSI (see Materials and Methods) for each value of g. The more selective the initial orientation selectivity is, the more feature-specificity is observed in the final connectivity.

Robustness of the results

The above result shows that the emergence of feature-specific connectivity is robust with regard to the most important parameter of network dynamics, namely inhibition-dominance. We have shown before that the emergence of orientation selectivity is in turn robust to other parameters of network connectivity (specifically, spatial extent of excitation and inhibition in locally connected networks) [48], network dynamics (specifically, operating in asynchronous vs. synchronous or mean-driven vs. fluctuation-driven regimes of activity) and single cell properties (specifically, linear or non-linear neuronal transfer functions) [49]. We will therefore only focus on the parameters of plasticity for the remainder of the paper and test whether our results are also robust to changes in these parameters.

To do this, we changed (either decreased or increased) the major parameters of plasticity in our networks (see Materials and Methods) by 10% of their respective values, and ran the simulations again (Fig 10). In all cases, feature-specific connectivity still emerges in the network, as illustrated by the tuning curve of connection weights as a function of the difference between preferred orientations of pre- and post-synaptic neurons, dPO (Fig 10A). This is further quantified by computing a selectivity index of this tuning curve, which reveals similar values as for simulations with the default values for all plasticity parameters (Fig 10B). We conclude that the emergence of feature-specific connectivity is a robust property of our networks, as it is essentially invariant to wide changes in network parameters.

Fig 10. Robustness of the results to changes in the plasticity parameters.

(A, B) The robustness of the results in the default configuration of the network is studied by decreasing (A) or increasing (B) 5 parameters of plasticity by 10%. The parameters are ALTD, ALTP, θ, θ+ and , respectively. The learning phase for each network is again organized in 20 batches. (C) Selectivity of the final weights is quantified (blue and red; similar to Fig 9) and compared with the selectivity in the default case (black).

We also checked specifically whether our results depend on the learning rates of excitatory and inhibitory weights, and found that these are again not crucial for our results (S3 and S4 Figs). We increased the strength of synaptic potentiation (ALTP; see Materials and Methods) by 20% for either excitatory (S3 Fig) or inhibitory (S4 Fig) synapses, while keeping ALTP fixed for the other type of synapses. This lead to similar results, and we found that the emergence of feature-specific connectivity in our networks is not compromised by different learning rates. The only difference was a slightly increased or decreased feature-specificity of connections when the learning rate was larger for excitatory and inhibitory synapses, respectively (S3 and S4 Figs, respectively).

Finally, our results were also robust with respect to the learning rule governing I → E connections. Although for simplicity, we have assumed the same plasticity rule governing all the plastic synapses (i.e. E → E, E → I and I → E), employing another plasticity rule for I → E connections [50] did not compromise our results (S5 Fig). We implemented this rule in S5 Fig, instead of our voltage-based rule before, and choose the parameters such that inhibitory plasticity ensures an average firing rate of 5 Hz in the excitatory population. Moreover, we used the denser connectivity of E → I connections corresponding to experimental data [4], instead of the default parameter. Note that given our parameters before, the connection frequency is now fully constrained by the experimental data (E → E and E → I connections according to [4] and I → E and I → I connections according to [51, 52]). To be more realistic, we also draw E → E connections from a normal distribution, similar to S2 Fig.

Similar results as before were also obtained in this case (S5 Fig). Initial orientation selective responses became sparser as a result of learning (S5AS5D Fig), and feature-specific connectivity emerged in E → E connections (S5ES5K Fig). Synaptic weights showed stable and convergent evolution under evoked state as well as spontaneous activity (S5L Fig), while change in the statistics of stimulus presentation was reflected in the statistics of feature-specific connectivity (S5M Fig). Note that neurons with similar preferred orientations are connected together with the strongest weights (S5H Fig), consistent with a recent experimental report [53]. This, however, does not render the network fragmenting into disconnected parts, as neurons with similar preferred orientations are connected together in a continuous manner. Thus, we can conclude that our main results hold in realistic balanced networks fully constrained with experimentally reported connectivity, and that they are robust to the main parameters of network dynamics and plasticity, including the I → E plasticity rule.


We analyzed biologically realistic models of sensory cortical networks, which are strongly driven by recurrent activity, and the recurrent connections of which undergo synaptic plasticity. We showed that functionally specific and stable connections can arise from an initially random structure. Specifically, we could demonstrate that Hebbian synaptic plasticity in balanced random networks can lead to the emergence of specific and bidirectional connectivity in orientation-selective networks. The initial response selectivity generated by such random networks guides the Hebbian learning process to enhance the connectivity between neurons with similar evoked responses.

If the initial selectivity is absent, or if it is very weak, specific connections, do not emerge, or remain very weak (Fig 9). Therefore, if the recurrent coupling is weak, or if the network is not inhibition-dominated, significant specific connectivity does not emerge. This is an immediate consequence of too weak initial tuning of output tuning curves. This sequence of events in the emergence of orientation selectivity and specific connectivity during learning is indeed fully consistent with the developmental processes, where neurons first show orientation selective responses, and only later functional subnetworks emerge [6].

The plastic mechanisms in our networks would also lead to the joint emergence of feature-specific neuronal responses and feature-specific synaptic connectivity, if the initial feature specificity was weak. Concretely, if not enough inhibition was provided at the beginning to ensure sharp and sparse output responses, a potentiation of inhibition in our networks lead to an enhancement of neuronal response selectivity during development. This was indeed accompanied by the simultaneous emergence of feature-specific synaptic connectivity in the network, demonstrating that self-regulation in a randomly connected balanced network via synaptic plasticity is capable of adjusting the network to work in the “right” regime, dominated by inhibition.

In fact, in absence of such a dynamic self-regulation, plasticity of excitatory connections can lead to a network, where only neurons with very similar orientation selectivity are connected together. A similar issue was recently raised by [3], where it is argued that Hebbian plasticity, naively applied, would drive networks to become overly specific, with only very few excitatory connections between neurons preferring different orientations. First, this scenario is inconsistent with the experimental results which show a heterogeneous functional connectivity in mouse visual cortex [54]. Second, an overrepresentation of connections between functionally similar neurons can lead to an instability of network dynamics, with pathological states of highly correlated activity (unpublished observation). None of these phenomena were observed in the simulations we report here, demonstrating that in plastic balanced networks self-regulatory mechanisms emerge that work against such consequences.

We found that the emergence of functionally specific connectivity was a robust process that always converged to a stable equilibrium in our simulations. However, the network was sensitive to the stimulus statistics, and an overrepresentation of specific stimulus orientations eventually increased the number of neurons that selectively responded to that orientation. Moreover, the synaptic weights in the equilibrium state after learning remained stable for a spontaneously active network, in absence of visual stimulation.

Our results suggested that synaptic plasticity can enhance orientation selectivity. Consistent with experimental studies [6, 35, 38], we observed an enhancement of orientation selectivity in tuning after learning, as indicated by the OSI of tuning curves. The overall responses of our networks became sparser, with fewer neurons in the network responding to each stimulus orientation. This is consistent with experimental results demonstrating a sparsification of neuronal activity in visual cortex after eye opening [55], and a general decrease in cortical activity between eye opening (postnatal day 13) and the peak of the critical period for rodent visual cortical plasticity (postnatal day 28) [56]. Also, consistent with our findings on the role of inhibition and stimulus statistics in refining both connectivity and function during development, a recent experimental study has found an enhancement of surround-suppression during normal vision for natural surround stimuli [57].

The importance of inhibition-dominance and inhibitory plasticity for our results brings up a question with regard to recent experimental studies, which argue that lateral inhibition is not a prerequisite for the emergence of orientation selectivity and its sharpening, and that the nonlinearity induced by the spiking threshold is enough [5861]. First, in our networks, too, a nonlinearity induced by the spiking threshold was necessary for sharpening of tuning curves, as we have analyzed and discussed in a recent study [49]. In fact, if such a nonlinearity in the transfer function of single neurons was absent, no sharpening would appear, as a linear operation of the neuronal network would linearly transform the feedforward tuning to output tuning curves and map input cosine curves to output cosine curves [25, 49]. This nonlinearity, however, is not acting alone in our networks, as the interplay between recurrent (excitatory and inhibitory) inputs from the network and the nonlinearities of single cell transfer functions eventually determines the output orientation selectivity and its sharpening.

This notion is supported by recent experimental results in mouse visual cortex [62, 63], where broad inhibitory input underlies a developmental [63] and a contrast-dependent [62] sharpening of tuning curves. These results, along with recent optogenetic experiments on the contribution of inhibitory neurons to orientation selectivity [64, 65], provide direct evidence for the functional role of inhibition in this process. However, we cannot rule out the possibility of species-specific differences regarding the contribution of intracortical inhibition, especially between species with and without orientation maps (e.g. cats and macaque monkeys vs. mice and rats) [1, 6668], although clear evidence for the contribution of untuned inhibition to orientation selectivity has also been provided for the former species [69, 70]. Further experimental studies are thus needed to resolve this issue, and to elucidate the relative importance of each mechanism.

The voltage triplet plasticity rule we used here was a non-linear variant with a symmetric component. It was constructed to account for experiments [31], which show that if both neurons fire at high rate (about 15 Hz), pre-before-post and post-before-pre both lead to LTP. In that case, two neurons with the same orientation preference tend to fire together at high rate, and therefore are bound to develop a bidirectional connection. An asymmetrical STDP rule, in contrast, would tend to remove bidirectional connections (see also [14]). Hence, the learning rule we used here is well suited to generate the connectivity pattern recently observed experimentally in visual cortex [5, 6, 71].

The form of the plasticity rule from E → E, E → I, and I → E in our work was assumed to be identical for the sake of simplicity. There are some recent data on inhibitory plasticity (e.g. [72, 73], see also [74] for a review), but the experimental evidence is rather confusing. The exact rule seems to be highly dependent on the protocol, the inhibitory neuron subtype, and the experimental preparation. Therefore, we chose the simplest possible approach and used the same rule for our main results. Specifically, our I → E plasticity rule was different from the plasticity rule employed in a previous study [50], which set out to reproduce excitatory and inhibitory co-tuning in auditory cortex [75], where inhibitory neurons are sharply tuned. Detailed balance resulted from this rule. In the visual cortex, although orientation selectivity of inhibitory neurons and the specificity of their wiring is controversial in the experimental literature [45, 76], mostly a non-specific connectivity of inhibitory neurons for both major subtypes (i.e. PV+ and SOM+ interneurons) has been reported (see e.g. [64]). We therefore confined our modeling to PV-expressing interneurons with broad tuning and non-specific connectivity to conform better to the currently available experimental data. Nevertheless, we were able to show that the same results can be obtained using the I → E plasticity rule of [50] (S5 Fig), or, in fact, even without plasticity of I → E connections (S1 Fig).

We assumed non-plastic feedforward connections in our study. The rationale behind this decision came from experimental results [6], which showed that orientation selectivity is already in place at eye opening, and only later on, presumably thanks to experience-dependent plasticity, there is a refinement of intra-cortical connections. Our present work puts a focus on modeling the second step of the development, i.e. what happens after eye-opening. We think that, even though the feedforward weights are still plastic during that time, they do not change orientation selectivity much anymore. Note that feedforward plasticity was studied in a previous model [6, 26], but the model did not have large recurrent and complex dynamics of excitation and inhibition. Here, instead, we focused on the cooperation of recurrent dynamics and recurrent plasticity, and we showed how functional networks can operate in balanced regimes of activity and develop feature-specific connectivity.

It has been shown that while Hebbian learning can extract the first principal component [77], including inhibition allows us to extract other components as well [78]. Inclusion of recurrent inhibition in realistic network models thus paves the road to study this phenomenon. It can also cast light on the formation of receptive fields: a non-linear spike-timing-dependent plasticity (STDP) rule has been recently shown [79] to reduce to a rule similar to the Bienenstock-Cooper-Munro (BCM) rule, which can form receptive fields [80]. The excitatory plasticity model (voltage-triplet rule, i.e. a non-linear variant of STDP) used in this paper allows to extract three point correlation structures in the inputs, as shown in [79]. If this rule is applied to patches of images that are whitened, receptive fields emerge that are Gabor filters, similar to orientation selectivity [26]. In contrast, using standard linear STDP learning, no Gabor filters can develop. Lateral inhibition can be used to make sure that neurons become selective to different orientations [26] so that the network can recover other components and represent all the different orientations.

A study using a pair-based STDP rule has shown that plasticity of recurrent excitatory connections may lead a group of neurons to take over the whole network, but including recurrent (nonplastic) inhibition prevents that and can lead to the emergence of maps [46]. The latter result is consistent with our network model here, where the balance of excitation and inhibition keeps the network in a dynamically stable regime, which in turn ensures a linear representation of the feedforward input [48, 49]. It is, however, difficult to replicate the same winner-take-all type of behavior reported in [46] in our networks for the following reasons. First, the activity in our networks is dominated by recurrent input to neurons. Hence, the networks show unstable activity in absence of recurrent inhibition, since the excitatory recurrent feedback is large. Second, the networks are dominated by recurrent plasticity. As a result, when recurrent inhibition is not present, the output selectivity of responses is very weak and the output selectivity cannot be enhanced by feedforward plasticity. Because the activity is very weakly selective, the selective component of the responses cannot dominate in a winner-take-all type of dynamics. The network response, instead, ends up in a pathological state of nonselective activity, where all neurons are active (not shown).

This was not the case, however, for smaller, feedforward-driven networks where recurrent dynamics did not lead to runaway excitation in absence of inhibition, and where the feedforward input was dominant such that the receptive fields of neurons were mainly determined by it (networks developed in [6, 26]). The same winner-take-all behavior as reported in [46] was observed in absence of inhibition, where all neurons developed the same selectivity. It will be interesting to see in the future how including feedforward plasticity can change the behavior of our network model in this respect. This might be particularly pertinent to experimental findings on brain plasticity after lesion, and useful for understanding the mechanisms of brain repair in certain brain diseases.

In conclusion, our study demonstrates how functional balanced networks with realistic recurrent dynamics can work in tandem with Hebbian synaptic plasticity to understand and explain findings recently reported in experimental studies. It sheds light on the process of refinement of network responses during development, and elucidates the conditions for the emergence of feature-specific connectivity in the network. Our results underline the significant role of inhibition for network function [81], both for the emergence of feature selectivity and feature-specific connectivity. This work in turn, triggers another important question: Which functional properties result from feature-specific connectivity in the network [82]? Further theoretical and experimental studies are definitely needed to address these questions, but our present study indicates some promising directions to further explore large-scale neuronal networks with realistic recurrent dynamics and synaptic plasticity.

Materials and Methods

Network model

The technical details of network model are described elsewhere [25]. Briefly, the model consists of a recurrent network of N = 500 leaky integrate-and-fire (LIF) neurons, of which f = 80% are excitatory and 20% are inhibitory [83]. The sub-threshold dynamics of the membrane potential uk(t) of neuron k is given by the leaky-integrator equation (1) The current Ik(t) represents the total input to neuron k, the (leaky) integration of which is governed by the leak resistance R, and the membrane time constant τ = 20 ms. When the voltage reaches the threshold at uth = 20 mV, a spike is generated and transmitted to all post-synaptic neurons, and the membrane potential is reset to the resting potential at u0 = 0 mV.

Each excitatory neuron projects to a randomly sampled population comprising ϵexc = 30% of all neurons in the network. Inhibitory neurons project to all neurons in the network (ϵinh = 100%) [51, 52]. In addition, inhibitory post-synaptic potentials have a g = 8 times larger amplitude than excitatory ones [9, 25]. This choice of parameters is motivated by the dense connectivity of inhibitory neurons reported in different areas of cortex [4, 51, 84]. Post-synaptic currents are modeled as δ-functions, where the total charge Q is delivered instantaneously to the post-synaptic neuron after the arrival of a spike, without a synaptic delay. Synaptic coupling strength is measured in terms of the amplitude of the resulting post-synaptic potential (PSP), J = QR/τ. Unless stated otherwise, the amplitude of excitatory connections in the local network is Jexc = 0.5 mV, and that of inhibitory connections Jinh = −gJexc = −4 mV.

Upon presentation of the visual stimulus, an elongated bar with some fixed orientation, feedforward input is driving cortical neurons. We lump all feedforward synapses to a given neuron into one single synapse, and model the feedforward input as a single channel with an untuned and a tuned component. The untuned baseline firing rate of this feedforward input is sb = 2 kHz, and the amplitude of the input synapses is Jffw = 1 mV. The tuned component of the input is modulated depending on the orientation of the stimulus, θ, and the preferred orientation (PO) of the neuron, θ*, according to a cosine function (2) The parameter μ is the relative modulation amplitude of the input tuning curve, which is set to μexc = 20% for excitatory neurons, and μinh = 2% for inhibitory neurons, consistent with weaker tuning of inhibitory neurons reported in the cortex [4, 44, 45].

In our simulations, the feedforward input is represented by a stationary Poisson process of rate s. To obtain individual tuning curves, as shown in Fig 2, the stimulation of the network is repeated with 8 different orientations, 0°, 22.5°, 45°, …, 157.5°. Selectivity of responses, including individual tuning curves, is quantified by a global selectivity index, OSI = 1−circular variance [25, 36].

The implementation of the LIF model is based on a numerical method known as “exact integration” [85, 86]. Numerical integration of network dynamics was performed using a time step of dt = 1 ms. We repeated some of the simulations with a smaller time step (dt = 0.1 ms) to verify the accuracy of our results.

The simulation code will be published on the freely-available repository ModelDB ( after publication.

Plasticity model

The plasticity model is explained in detail elsewhere [6, 26]. Here, it applies only to recurrent weights, and describes changes in the synaptic amplitude of synapse i (wi) by the equation (3) combined with hard bounds wminwiwmax. wmin and wmax are 0 mV and 2 mV for excitatory synapses, and −5 mV and 0 mV for inhibitory synapses, respectively.

The quantity is a low-pass filtered version of the postsynaptic membrane potential u(t), assuming an exponential kernel with time constant τ: (4) The brackets [.]+ denote half-wave rectification ([x]+ = x for x > 0, and [x]+ = 0 otherwise) and reflect experimental findings showing that postsynaptic depolarization induces a depression of the synapse only if it exceeds a certain threshold value θ [29]. The presynaptic spike train is represented by a sequence of impulses at times , , where i is the index of the synapse and n is an index that counts the spike. is an amplitude parameter that is under the control of a homeostatic processes [87]. Here it depends on , which is the mean depolarization of the postsynaptic neuron, averaged over a time window of size 0.1 s: where is a reference value. The variable is used to control the homeostasis, and therefore the window is longer than all the other time constants. uref defines the target depolarization that the homeostasis is reaching, whereas ALTD is the amplitude for depression of the rule. See [26] for more details.

For the LTP part, we assume that each presynaptic spike arriving at the synapse wi increases a synapse-specific trace of some biophysical quantity by some fixed value. The trace decays exponentially with a time constant τx in the absence of presynaptic spikes, as described in previous work [43, 88]. The temporal evolution of is described by a linear differential equation (5) where Xi is the input spike train defined above. ALTP is a free parameter inferred from experimental data, and is another lowpass filtered version of u(t) similar to , but with a somewhat shorter time constant τ+. Thus positive weight changes can occur if the momentary voltage u(t) surpasses a threshold θ+ and, at the same time, the average value is above θ.

The two time constants τ+ and τ were fitted to several experimental data (see [26]). Without the filtering, it is neither possible to reproduce the frequency dependency demonstrated in [31], nor the classical spike-timing dependent plasticity learning window. The voltage is very fast during a spike and therefore needs to be filtered to detect the pre-post coincidence. This rule shows a nice trade-off between the number of parameters and the robustness at describing the experimental phenomenology [34].

The values of the plasticity parameters in our simulations are: τ = 10 ms, τ+ = 7 ms, τx = 15 ms, ALTD = 14 × 10−5, ALTP = 8 × 10−5, θ = −20 mV, θ+ = 7.5 mV, . Structural plasticity is not allowed: only synapses that were initially established undergo potentiation and depression. Feedforward weights are not plastic. For a justification of network and plasticity parameters, see [25, 26], respectively. All the parameters are listed in Table 1.

Table 1. Table of parameters.

Default parameters are given, and only the exceptions are noted for figures with parameters different from the default values.

To quantify the amount of bidirectional connectivity emerging as a result of plasticity (as in e.g. Fig 3) we used a weighted bidirectionality index (WBI). As we did not allow for structural plasticity in our networks, we quantified this by computing the product of bidirectional weights between each pair of neurons (wij wji for neurons i and j). If only one neuron is connected to the other, and the bidirectional connection is completely missing (wij = 0 or wji = 0), the product is zero. To obtain WBI of a network, we average over all neuronal pairs in the network. A completely unidirectionally connected network would therefore return a WBI of zero. For networks with bidirectional connections, WBI would be larger than zero. For a specific pair of neurons with a similar sum of weights, wij + wji = constant, WBI would be highest if weights are fully bidirectional, i.e. wij = wji.

To account for the fact that some bidirectional connectivity exists by chance in random networks, we shuffle the elements of weight matrix for each network and compute its WBI as WBIrandom. The normalized WBI, WBInorm, is then obtained by dividing the WBI of the actual weight matrix of the network by its shuffled WBI: WBInorm = WBI/WBIrandom.

Supporting Information

S1 Fig. Emergence of specific connectivity in a network with a different initial connectivity.

Results are illustrated in the same fashion as in Fig 8, for a network with the following parameters of connectivity: probability of an I → E connection = 80%, J = 0.1, g = 4. I → E weights are not plastic. Other parameters are the same as the default values. The learning phase is organized in 20 batches.


S2 Fig. Effect of the initial distribution of excitatory weights.

Same as Fig 6 for the same network, but with a different initial weight matrix. Instead of excitatory weights being either 0 or Jexc, as in Fig 6, here the amplitudes of non-zero initial connections are drawn from a Gaussian distribution with mean Jexc and standard deviation Jexc. Rarely occurring negative values are set to zero.


S3 Fig. Effect of an altered potentiation rate of excitatory connections.

The default network with the same parameters as the network in Fig 1, except for a potentiation rate of excitatory (to both excitatory and inhibitory) synapses increased by 20%: . Panels and conventions are the same as in Fig 8.


S4 Fig. Effect of an altered potentiation rate of inhibitory connections.

The default network with the same parameters as the network in Fig 1, except for a potentiation rate of inhibitory (to excitatory) synapses increased by 20%: . Panels and conventions are the same as in Fig 8.


S5 Fig. Emergence and evolution of specific connectivity in a network with denser connectivity of E → I and a different plasticity rule for I → E connections.

Probability of an I → E connection is 80% [4], Jexc = 0.1, g = 2. Similar to to S2 Fig, the amplitudes of non-zero initial E → E connections are drawn from a Gaussian distribution with mean Jexc and standard deviation Jexc. I → E connections are plastic according to the plasticity rule described in [50]. Briefly, the synaptic weight wij from a pre-synaptic inhibitory neuron j to a post-synaptic excitatory neuron i is updated at each time step according to the following rule: for pre-synaptic spikes, and for post-synaptic spikes [50]. Here, and are traces obtained by low-pass filtering (similar to Eq 5 with the same time constant τx) spikes emitted in the pre- and post-synaptic neurons j and i, respectively. η = 0.1 is a learning rate and α = 0.01 is a depression factor. The parameters are chosen to ensure an output post-synaptic firing rate of 5 Hz. Other parameters are the same as the default values. The learning phase is organized in 40 batches. For the spontaneous activity, the network is stimulated with an untuned input with sb. Panels and conventions are the same as in Figs 68 of the main text with the following correspondence: panels (A–K) correspond to Fig 8, A–k; panel (L) corresponds to Fig 6A; and panel (M) corresponds to Fig 7A.


Author Contributions

Conceived and designed the experiments: SS CC SR. Performed the experiments: SS. Analyzed the data: SS CC SR. Contributed reagents/materials/analysis tools: SS CC SR. Wrote the paper: SS CC SR.


  1. 1. Ohki K, Chung S, Ch’ng YH, Kara P, Reid RC (2005) Functional imaging with cellular resolution reveals precise micro-architecture in visual cortex. Nature 433: 597–603. pmid:15660108
  2. 2. Ohki K, Reid RC (2007) Specificity and randomness in the visual cortex. Current opinion in neurobiology 17: 401–7. pmid:17720489
  3. 3. Kaschube M (2014) Neural maps versus salt-and-pepper organization in visual cortex. Current opinion in neurobiology 24: 95–102. pmid:24492085
  4. 4. Hofer SB, Ko H, Pichler B, Vogelstein J, Ros H, et al. (2011) Differential connectivity and response dynamics of excitatory and inhibitory neurons in visual cortex. Nature Neuroscience 14: 1045–52. pmid:21765421
  5. 5. Ko H, Hofer SB, Pichler B, Buchanan KA, Sjöström PJ, et al. (2011) Functional specificity of local synaptic connections in neocortical networks. Nature 473: 87–91. pmid:21478872
  6. 6. Ko H, Cossell L, Baragli C, Antolik J, Clopath C, et al. (2013) The emergence of functional microcircuits in visual cortex. Nature 496: 96–100. pmid:23552948
  7. 7. Ko H, Mrsic-Flogel TD, Hofer SB (2014) Emergence of Feature-Specific Connectivity in Cortical Microcircuits in the Absence of Visual Experience. Journal of Neuroscience 34: 9812–9816. pmid:25031418
  8. 8. van Vreeswijk C, Sompolinsky H (1996) Chaos in neuronal networks with balanced excitatory and inhibitory activity. Science 274: 1724–6. pmid:8939866
  9. 9. Brunel N (2000) Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. Journal of Computational Neuroscience 8: 183–208. pmid:10809012
  10. 10. Morrison A, Aertsen A, Diesmann M (2007) Spike-timing dependent plasticity in balanced random networks. Neural Computation 19: 1437–1467. pmid:17444756
  11. 11. Kunkel S, Diesmann M, Morrison A (2011) Limits to the development of feed-forward structures in large recurrent neuronal networks. Frontiers in computational neuroscience 4: 160. pmid:21415913
  12. 12. Roberts PD, Bell CC (2000) Computational consequences of temporally asymmetric learning rules: II. Sensory image cancellation. Computational Neuroscience 9: 67–83.
  13. 13. Mehta M, Quirk M, Wilson M (2000) Experience-dependent asymmetric shape of hippocampal receptive fields. Neuron 25: 707–715. pmid:10774737
  14. 14. Song S, Miller KD, Abbott LF (2000) Competitive Hebbian learning through spike-timing-dependent synaptic plasticity. Nature neuroscience 3: 919–26. pmid:10966623
  15. 15. Izhikevich EM (2004) Which model to use for cortical spiking neurons? IEEE Transactions on Neural Networks 15: 1063–1070. pmid:15484883
  16. 16. Legenstein R, Naeger C, Maass W (2005) What can a neuron learn with spike-timing dependent plasticity. Neural Computation 17: 2337–2382. pmid:16156932
  17. 17. Guyonneau R, VanRullen R, Thorpe S (2005) Neurons tune to the earliest spikes through stdp. Neural Computation 17: 859–879. pmid:15829092
  18. 18. Iglesiasa J, Erikssonb J, Grize F, Tomassini M, Villa A (2005) Dynamics of pruning in simulated large-scale spiking neural networks. Biosystems 79(1–3): 11–20.
  19. 19. Izhikevich EM, Edelman GM (2008) Large-scale model of mammalian thalamocortical systems. Proceedings of the National Academy of Sciences 105: 3593–3598.
  20. 20. Kozloski J, Cecchi GA (2008) Topological effects of spike timing-dependent plasticity. arxivorg abs: 0810.0029.
  21. 21. Babadi B, Abbott LF (2013) Pairwise analysis can account for network structures arising from spike-timing dependent plasticity. PLoS Comput Biol 9: e1002906. pmid:23436986
  22. 22. Klampfl S, Maass W (2013) Emergence of dynamic memory traces in cortical microcircuit models through STDP. J Neurosci 33: 11515–11529. pmid:23843522
  23. 23. Hansel D, van Vreeswijk C (2012) The Mechanism of Orientation Selectivity in Primary Visual Cortex without a Functional Map. The Journal of Neuroscience 32: 4049–4064. pmid:22442071
  24. 24. Pehlevan C, Sompolinsky H (2014) Selectivity and Sparseness in Randomly Connected Balanced Networks. PLoS ONE 9: e89992. pmid:24587172
  25. 25. Sadeh S, Cardanobile S, Rotter S (2014) Mean-field analysis of orientation selectivity in inhibition-dominated networks of spiking neurons. SpringerPlus 3: 148. pmid:24790806
  26. 26. Clopath C, Büsing L, Vasilaki E, Gerstner W (2010) Connectivity reflects coding: a model of voltage-based STDP with homeostasis. Nature Neuroscience 13: 344–52. pmid:20098420
  27. 27. Markram H, Lübke J, Frotscher M, Sakmann B (1997) Regulation of synaptic efficacy by coincidence of postysnaptic AP and EPSP. Science 275: 213–215. pmid:8985014
  28. 28. Bi G, Poo M (1998) Synaptic modifications in cultured hippocampal neurons: dependence on spike timing, synaptic strength, and postsynaptic cell type. J Neurosci 18: 10464–10472. pmid:9852584
  29. 29. Artola A, Bröcher S, Singer W (1990) Different voltage dependent thresholds for inducing long-term depression and long-term potentiation in slices of rat visual cortex. Nature 347: 69–72. pmid:1975639
  30. 30. Ngezahayo A, Schachner M, Artola A (2000) Synaptic activation modulates the induction of bidirectional synaptic changes in adult mouse hippocamus. J Neuroscience 20: 2451–2458.
  31. 31. Sjöström P, Turrigiano G, Nelson S (2001) Rate, timing, and cooperativity jointly determine cortical synaptic plasticity. Neuron 32: 1149–1164. pmid:11754844
  32. 32. Froemke R, Dan Y (2002) Spike-timing dependent plasticity induced by natural spike trains. Nature 416: 433–438. pmid:11919633
  33. 33. Wang H, Gerkin R, Nauen D, Bi G (2005) Coactivation and timing-dependent integration of synaptic potentiation and depression. Nature Neuroscience 8: 187–193. pmid:15657596
  34. 34. Clopath C, Gerstner W (2010) Voltage and Spike Timing Interact in STDP—A Unified Model. Frontiers in synaptic neuroscience 2: 25. pmid:21423511
  35. 35. Rochefort NL, Narushima M, Grienberger C, Marandi N, Hill DN, et al. (2011) Development of direction selectivity in mouse cortical neurons. Neuron 71: 425–32. pmid:21835340
  36. 36. Ringach DL, Shapley RM, Hawken MJ (2002) Orientation Selectivity in Macaque V1: Diversity and Laminar Dependence. The Journal of Neuroscience 22: 5639–5651. pmid:12097515
  37. 37. Niell CM, Stryker MP (2008) Highly selective receptive fields in mouse visual cortex. The Journal of Neuroscience 28: 7520–36. pmid:18650330
  38. 38. Hoy JL, Niell CM (2015) Layer-Specific Refinement of Visual Cortex Function after Eye Opening in the Awake Mouse. Journal of Neuroscience 35: 3370–3383. pmid:25716837
  39. 39. Senn W, Tsodyks M, Markram H (2001) An algorithm for modifying neurotransmitter release probability based on pre- and postsynaptic spike timing. Neural Computation 13: 35–67. pmid:11177427
  40. 40. Shouval HZ, Bear MF, Cooper LN (2002) A unified model of nmda receptor dependent bidirectional synaptic plasticity. Proc Natl Acad Sci USA 99: 10831–10836. pmid:12136127
  41. 41. Pfister JP, Toyoizumi T, Barber D, Gerstner W (2006) Optimal spike-timing dependent plasticity for precise action potential firing in supervised learning. Neural Computation 18: 1309–1339.
  42. 42. Graupner M, Brunel N (2012) Calcium-based plasticity model explains sensitivity of synaptic changes to spike pattern, rate, and dendritic location. Proc Natl Acad Sci USA 109: 3991–3996. pmid:22357758
  43. 43. Gerstner W, Kempter R, van Hemmen J, Wagner H (1996) A neuronal learning rule for sub-millisecond temporal coding. Nature 383: 76–78. pmid:8779718
  44. 44. Bock DD, Lee WCA, Kerlin AM, Andermann ML, Hood G, et al. (2011) Network anatomy and in vivo physiology of visual cortical neurons. Nature 471: 177–82. pmid:21390124
  45. 45. Kerlin AM, Andermann ML, Berezovskii VK, Reid RC (2010) Broadly tuned response properties of diverse inhibitory neuron subtypes in mouse visual cortex. Neuron 67: 858–71. pmid:20826316
  46. 46. Song S, Abbott L (2001) Cortical Development and Remapping through Spike Timing-Dependent Plasticity. Neuron 32: 339–350. pmid:11684002
  47. 47. Gütig R, Aharonov R, Rotter S, Sompolinsky H (2003) Learning input correlations through nonlinear temporally asymmetric Hebbian plasticity. The Journal of neuroscience: the official journal of the Society for Neuroscience 23: 3697–714.
  48. 48. Sadeh S, Rotter S (2014) Distribution of orientation selectivity in recurrent networks of spiking neurons with different random topologies. PloS one 9: e114237. pmid:25469704
  49. 49. Sadeh S, Rotter S (2015) Orientation Selectivity in Inhibition-Dominated Networks of Spiking Neurons: Effect of Single Neuron Properties and Network Dynamics. PLoS computational biology 11: e1004045. pmid:25569445
  50. 50. Vogels TP, Sprekeler H, Zenke F, Clopath C, Gerstner W (2011) Inhibitory plasticity balances excitation and inhibition in sensory pathways and memory networks. Science 334: 1569–73. pmid:22075724
  51. 51. Packer AM, Yuste R (2011) Dense, unspecific connectivity of neocortical parvalbumin-positive interneurons: a canonical microcircuit for inhibition? The Journal of Neuroscience 31: 13260–71. pmid:21917809
  52. 52. Pfeffer CK, Xue M, He M, Huang ZJ, Scanziani M (2013) Inhibition of inhibition in visual cortex: the logic of connections between molecularly distinct interneurons. Nature neuroscience 16: 1068–76.
  53. 53. Cossell L, Iacaruso MF, Muir DR, Houlton R, Sader EN, et al. (2015) Functional organization of excitatory synaptic strength in primary visual cortex. Nature 518: 399–403. pmid:25652823
  54. 54. Jia H, Rochefort NL, Chen X, Konnerth A (2010) Dendritic organization of sensory input to cortical neurons in vivo. Nature 464: 1307–12. pmid:20428163
  55. 55. Rochefort NL, Garaschuk O, Milos RI, Narushima M, Marandi N, et al. (2009) Sparsification of neuronal activity in the visual cortex at eye-opening. Proceedings of the National Academy of Sciences of the United States of America 106: 15049–54. pmid:19706480
  56. 56. Griffen TC, Wang L, Fontanini A, Maffei A (2012) Developmental regulation of spatio-temporal patterns of cortical circuit activation. Frontiers in cellular neuroscience 6: 65. pmid:23316135
  57. 57. Pecka M, Han Y, Sader E, Mrsic-Flogel T (2014) Experience-Dependent Specialization of Receptive Field Surround for Selective Coding of Natural Scenes. Neuron 84: 457–69. pmid:25263755
  58. 58. Finn IM, Priebe NJ, Ferster D (2007) The emergence of contrast-invariant orientation tuning in simple cells of cat visual cortex. Neuron 54: 137–152. pmid:17408583
  59. 59. Priebe NJ, Ferster D (2008) Inhibition, spike threshold, and stimulus selectivity in primary visual cortex. Neuron 57: 482–97. pmid:18304479
  60. 60. Priebe NJ, Ferster D (2012) Mechanisms of Neuronal Computation in Mammalian Visual Cortex. Neuron 75: 194–208. pmid:22841306
  61. 61. Sadagopan S, Ferster D (2012) Feedforward origins of response variability underlying contrast invariant orientation tuning in cat visual cortex. Neuron 74: 911–23. pmid:22681694
  62. 62. Li YT, Ma WP, Li LY, Ibrahim LA, Wang SZ, et al. (2012) Broadening of Inhibitory Tuning Underlies Contrast-Dependent Sharpening of Orientation Selectivity in Mouse Visual Cortex. Journal of Neuroscience 32: 16466–16477. pmid:23152629
  63. 63. Li YT, Ma WP, Pan CJ, Zhang LI, Tao HW (2012) Broadening of cortical inhibition mediates developmental sharpening of orientation selectivity. The Journal of Neuroscience 32: 3981–91. pmid:22442065
  64. 64. Wilson NR, Runyan CA, Wang FL, Sur M (2012) Division and subtraction by distinct cortical inhibitory networks in vivo. Nature 488: 343–8. pmid:22878717
  65. 65. Lee SH, Kwan AC, Zhang S, Phoumthipphavong V, Flannery JG, et al. (2012) Activation of specific interneurons improves V1 feature selectivity and visual perception. Nature 488: 379–83. pmid:22878719
  66. 66. Blasdel GG, Salama G (1986) Voltage-sensitive dyes reveal a modular organization in monkey striate cortex. Nature 321: 579–85. pmid:3713842
  67. 67. Bonhoeffer T, Grinvald A (1991) Iso-orientation domains in cat visual cortex are arranged in pinwheel-like patterns. Nature 353: 429–31. pmid:1896085
  68. 68. Ohki K, Chung S, Kara P, Hübener M, Bonhoeffer T, et al. (2006) Highly ordered arrangement of single neurons in orientation pinwheels. Nature 442: 925–8. pmid:16906137
  69. 69. Shapley R, Hawken M, Ringach DL (2003) Dynamics of orientation selectivity in the primary visual cortex and the importance of cortical inhibition. Neuron 38: 689–99. pmid:12797955
  70. 70. Xing D, Ringach DL, Hawken MJ, Shapley RM (2011) Untuned Suppression Makes a Major Contribution to the Enhancement of Orientation Selectivity in Macaque V1. The Journal of Neuroscience 31: 15972–15982. pmid:22049440
  71. 71. Song S, Sjöström PJ, Reigl M, Nelson S, Chklovskii DB (2005) Highly Nonrandom Features of Synaptic Connectivity in Local Cortical Circuits. PLoS Biology 3: e68. pmid:15737062
  72. 72. Woodin MA, Ganguly K, Poo M (2003) Coincident pre- and postsynaptic activity modifies GABAergic synapses by postsynaptic changes in Cl- transporter activity. Neuron 39: 807–20. pmid:12948447
  73. 73. Haas JS, Nowotny T, Abarbanel HDI (2006) Spike-timing-dependent plasticity of inhibitory synapses in the entorhinal cortex. Journal of Neurophysiology 96: 3305–13. pmid:16928795
  74. 74. Vogels TP, Froemke RC, Doyon N, Gilson M, Haas JS, et al. (2013) Inhibitory synaptic plasticity: spike timing-dependence and putative network function. Frontiers in neural circuits 7: 119. pmid:23882186
  75. 75. Froemke RC, Merzenich MM, Schreiner CE (2007) A synaptic memory trace for cortical receptive field plasticity. Nature 450: 425–9. pmid:18004384
  76. 76. Ma W, Liu B, Li Y, Huang ZJ, Zhang LI, et al. (2010) Visual representations by cortical somatostatin inhibitory neurons-selective but with weak and delayed responses. The Journal of Neuroscience 30: 14371–9. pmid:20980594
  77. 77. Oja E (1982) Simplified neuron model as a principal component analyzer. Journal of Mathematical Biology 15: 267–273. pmid:7153672
  78. 78. Sanger TD (1989) Optimal unsupervised learning in a single-layer linear feedforward neural network. Neural Networks 2: 459–473.
  79. 79. Gjorgjieva J, Clopath C, Audet J, Pfister JP (2011) A triplet spike-timing-dependent plasticity model generalizes the Bienenstock-Cooper-Munro rule to higher-order spatiotemporal correlations. Proceedings of the National Academy of Sciences of the United States of America 108: 19383–8. pmid:22080608
  80. 80. Bienenstock E, Cooper L, Munro P (1982) Theory for the development of neuron selectivity: orientation specificity and binocular interaction in visual cortex. J Neurosci 2: 32–48. pmid:7054394
  81. 81. Isaacson JS, Scanziani M (2011) How inhibition shapes cortical activity. Neuron 72: 231–43. pmid:22017986
  82. 82. Wolf F, Engelken R, Puelma-Touzel M, Weidinger JDF, Neef A (2014) Dynamical models of cortical circuits. Current opinion in neurobiology 25: 228–36. pmid:24658059
  83. 83. Braitenberg V, Schüz A (1998) Cortex: Statistics and Geometry of Neuronal Connectivity. 81. Springer.
  84. 84. Fino E, Yuste R (2011) Dense inhibitory connectivity in neocortex. Neuron 69: 1188–203. pmid:21435562
  85. 85. Diesmann M RSAA Gewaltig M-O (2001) State space analysis of synchronous spiking in cortical networks. Neurocomputing: 565–571.
  86. 86. Rotter S, Diesmann M (1999) Exact digital simulation of time-invariant linear systems with applications to neuronal modeling. Biological cybernetics 81: 381–402. pmid:10592015
  87. 87. Turrigiano G, Nelson S (2004) Homeostatic plasticity in the developing nervous system. Nature Reviews Neuroscience 5: 97–107. pmid:14735113
  88. 88. Pfister JP, Gerstner W (2006) Triplets of spikes in a model of spike timing-dependent plasticity. J Neuroscience 26: 9673–9682.