Skip to main content
. 2018 Sep 20;7:e37124. doi: 10.7554/eLife.37124

Figure 1. Synaptic drive and spiking rate of neurons in a recurrent network can learn complex patterns.

(a) Schematic of network training. Blue square represents the external stimulus that elicits the desired response. Black curves represent target output for each neuron. Red arrows represent recurrent connectivity that is trained to produce desired target patterns. (b) Synaptic drive of 10 sample neurons before, during and after training. Pre-training is followed by multiple training trials. An external stimulus (blue) is applied prior to training for 100 ms. Synaptic drive (black) is trained to follow the target (red). If the training is successful, the same external stimulus can elicit the desired response. Bottom shows the spike rater of 100 neurons. (c) Top, The Pearson correlation between the actual synaptic drive and the target output during training trials. Bottom, The matrix (Fresenius) norm of changes in recurrent connectivity normalized to initial connectivity during training. (d) Filtered spike train of 10 neurons before, during and after training. As in (b), external stimulus (blue) is applied immediately before training trials. Filtered spike train (black) learns to follow the target spiking rate (red) with large errors during the early trials. Applying the stimulus to a successfully trained network elicits the desired spiking rate patterns in every neuron. (e) Top, Same as in (c) but measures the correlation between filtered spike trains and target outputs. Bottom, Same as in (c).

Figure 1.

Figure 1—figure supplement 1. Learning arbitrarily complex target patterns in a network of rate-based neurons.

Figure 1—figure supplement 1.

The network dynamics obey τx˙i=xi+j=1NWijrj+Ii where rj=tanh(xj). The synaptic current xi to every neuron in the network was trained to follow complex periodic functions f(t)=Asin(2π(tT0)/T1)sin(2π(tT0)/T2) where the initial phase T0 and frequencies T1,T2 were selected randomly. The elements of initial connectivity matrix Wij were drawn from a Gaussian distribution with mean zero and standard deviation σ/Np where σ=2 was strong enough to induce chaotic dynamics; Network size N=500, connection probability between neurons p=0.3, and time constant τ=10 ms. External input Ii with constant random amplitude was applied to each neuron for 50 ms (blue) and was set to zero elsewhere. (a) Before training, the network is in chaotic regime and the synaptic current (black) of individual neurons fluctuates irregularly. (b) After learning to follow the target trajectories (red), the synaptic current tracks the target pattern closely in response to the external stimulus.
Figure 1—figure supplement 2. Training a network that has no initial connections.

Figure 1—figure supplement 2.

The coupling strength of the initial recurrent connectivity is zero, and, prior to training, no synaptic or spiking activity appears beyond the first few hundred milliseconds. (a) Training synaptic drive patterns using the RLS algorithm. Black curves show the actual synaptic drive of 10 neurons and red curves show the target outputs. Blue shows the 100 ms external stimulus. (b) Correlation between synaptic drive and target function (top) and the Frobenius norm of changes in recurrent connectivity normalized to initial connectivity during training (botom). (c and d) Same as in (a) and (b), but spiking rate patterns are trained.