Constructing precisely computing networks with biophysical spiking neurons

Michael A. Schwemmer, Adrienne L. Fairhall, Sophie Denève, Eric Shea‐Brown · DOI

Abstract

While spike timing has been shown to carry detailed stimulus information at the sensory periphery, its possible role in network computation is less clear. Most models of computation by neural networks are based on population firing rates. In equivalent spiking implementations, firing is assumed to be random such that averaging across populations of neurons recovers the rate-based approach. Recently, however, Denéve and colleagues have suggested that the spiking behavior of neurons may be fundamental to how neuronal networks compute, with precise spike timing determined by each neuron's contribution to producing the desired output. By postulating that each neuron fires in order to reduce the error in the network's output, it was demonstrated that linear computations can be carried out by networks of integrate-and-fire neurons that communicate through instantaneous synapses. This left open, however, the possibility that realistic networks, with conductance-based neurons with subthreshold nonlinearity and the slower timescales of biophysical synapses, may not fit into this framework. Here, we show how the spike-based approach can be extended to biophysically plausible networks. We then show that our network reproduces a number of key features of cortical networks including irregular and Poisson-like spike times and a tight balance between excitation and inhibition. Lastly, we discuss how the behavior of our model scales with network size, or with the number of neurons "recorded" from a larger computing network. These results significantly increase the biological plausibility of the spike-based approach to network computation.

Introduction

For decades, the prevailing view in neuroscience has been that the brain computes using rate coding, where information is represented by the average number of spikes over a given window of time. In this paradigm, the exact timing of individual spikes is often dismissed as stochastic noise. However, an emerging class of "spike-based" theories suggests that every action potential is a precise calculation designed to minimize error in the network's representation of a signal.

While mathematically elegant, early iterations of these theories relied on highly idealized "toy" neurons—simple Integrate-and-Fire (IF) models utilizing instantaneous synapses. Biological reality is far more complex: neurons possess nonlinear ion channels and synapses with distinct rise and decay times. This research bridges the gap between these idealized mathematical frameworks and biophysical reality, demonstrating that precise spike-based computation is not only possible but highly efficient in realistic neural environments.

The Predictive Coding Framework

The authors extend a framework known as predictive coding. In this architecture, a network is tasked with tracking a target signal. Each neuron maintains an internal estimate of the network's current output. A neuron fires if and only if its spike will move the collective estimate closer to the true signal, thereby reducing the global error.

To adapt this to biophysically plausible neurons, two critical innovations were introduced:

  1. Finite Time-scale Synapses: The researchers replaced instantaneous "delta-function" synapses with double-exponential kernels that mimic the realistic temporal dynamics of biological synapses.
  2. Compensation Kernels ($\eta$): In real neurons, action potentials generate massive, non-linear voltage swings that can temporarily obscure the error signal a neuron is meant to track. The authors derived a mathematical kernel that allows the neuron to "compensate" for its own spike-induced currents, effectively subtracting the "messiness" of the biophysical event from its internal error calculation.

Evaluating Network Performance

The model was tested using various synthetic input signals to evaluate its computational robustness:

  • Step Functions: To test basic integration and steady-state signal tracking.
  • Ornstein-Uhlenbeck (OU) Processes: To challenge the network with complex, rapidly changing stochastic signals.
  • Damped Harmonic Oscillations: To demonstrate the network's ability to implement multi-dimensional linear dynamical systems.

Results indicated that incorporating the compensation kernels improved tracking accuracy by nearly tenfold compared to biophysical networks lacking this mechanism. The network maintained high performance across various noise levels, with relative errors ranging from 0.07 to 0.14 for complex tasks.

Emergent Biological Realism

One of the most compelling findings of this study is that several key features of biological brains emerge naturally from the requirement of computational efficiency, rather than being manually tuned:

Excitation/Inhibition (E/I) Balance

In many neural models, researchers must carefully balance excitatory and inhibitory inputs to prevent the network from saturating or falling silent. In this model, a tight E/I balance emerges as a direct consequence of the network's attempt to compute efficiently. The neurons naturally coordinate to cancel out redundant signals, maintaining a stable state.

Irregular Spiking Patterns

Despite being driven by a deterministic error-minimization engine, the model reproduces the "irregular" (Poisson-like) spiking patterns observed in the cortex. This suggests that what appears to be "noise" in biological recordings may actually be the result of a highly coordinated, precise computational process.

Efficiency and Scaling

The study highlights a significant advantage in scaling. In standard rate-based models, error typically drops at a rate of $1/\sqrt{N}$ (where $N$ is the number of neurons). In this spike-based framework, the error drops much faster as the network size increases. Larger networks can distribute the computational workload more precisely, achieving higher accuracy with fewer total spikes per neuron.

Discussion and Limitations

While this model significantly advances the biological plausibility of spike-based computation, several challenges remain. Currently, the derived synaptic weights sometimes require a single neuron to provide both excitatory and inhibitory inputs, which violates Dale’s Law. Future iterations may resolve this by incorporating intermediate interneuron populations.

Additionally, the model currently focuses on fast action potential currents and does not yet account for slower biological processes like spike-frequency adaptation or synaptic plasticity. Finally, the connectivity in this study is mathematically prescribed; a vital next step is determining how biological systems might learn these precise weights through local rules like Spike-Timing-Dependent Plasticity (STDP).

By successfully integrating biophysical constraints into a predictive coding framework, this work provides a robust foundation for understanding how the brain performs high-dimensional, precise calculations using the discrete language of spikes.

Summary updated

Abstract

While spike timing has been shown to carry detailed stimulus information at the sensory periphery, its possible role in network computation is less clear. Most models of computation by neural networks are based on population firing rates. In equivalent spiking implementations, firing is assumed to be random such that averaging across populations of neurons recovers the rate-based approach. Recently, however, Denéve and colleagues have suggested that the spiking behavior of neurons may be fundamental to how neuronal networks compute, with precise spike timing determined by each neuron's contribution to producing the desired output. By postulating that each neuron fires in order to reduce the error in the network's output, it was demonstrated that linear computations can be carried out by networks of integrate-and-fire neurons that communicate through instantaneous synapses. This left open, however, the possibility that realistic networks, with conductance-based neurons with subthreshold nonlinearity and the slower timescales of biophysical synapses, may not fit into this framework. Here, we show how the spike-based approach can be extended to biophysically plausible networks. We then show that our network reproduces a number of key features of cortical networks including irregular and Poisson-like spike times and a tight balance between excitation and inhibition. Lastly, we discuss how the behavior of our model scales with network size, or with the number of neurons "recorded" from a larger computing network. These results significantly increase the biological plausibility of the spike-based approach to network computation.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Frozen Ornstein-Uhlenbeck inputConductance-based spike-based computation network with compensating synapsesrelative error (||x-\hat{x}||_2/||x||_2)0.07Function Integration · network=homogeneous integrator · network-size=400 neurons · compensating-synapses=included
Source quote
L576: For purposes of illustration, the network was driven with two different types of inputs c(t), a box function and a frozen random trace generated from an Ornstein-Uhlenbeck (OU) process \cite{uhlenbeck1930} (Figure \ref{NetEx}(a); see Methods for details). The remainder of Figure \ref{NetEx} shows the resulting output for a 400-neuron network, integrating a box input in panels (a)-(e) and integrating the frozen random trace in panels (f)-(j). Figures (a) and (f) plot the different inputs, while (b) and (g) show the raster plots for all 400 neurons. The neurons spike fairly sparsely and highly irregularly. The network estimates, \hat{x}(t) (red trace), along with the true signal x(t) (blue trace) are shown in (c) and (h). The network is able to track both the box and OU inputs with a high degree of accuracy: the relative error (||x-\hat{x}||_2/||x||_2) between the estimate and the actual signal is 0.07 for (c) and 0.07 for (h). To illustrate the improvement in accuracy due to the synaptic inputs that compensate for spike-generating currents (see Materials and Methods section \nameref{derivekernels}), we also plot signal estimates from a network where this compensation was not included (grey traces). For these estimates, the relative error is 0.60 in (c) and 0.40 in (h); thus, our compensating synapses yield an almost tenfold increase in accuracy.
Box function inputConductance-based spike-based computation network without compensating synapsesrelative error (||x-\hat{x}||_2/||x||_2)0.60Function Integration · network=homogeneous integrator · network-size=400 neurons · compensating-synapses=omitted
Source quote
L576: For purposes of illustration, the network was driven with two different types of inputs c(t), a box function and a frozen random trace generated from an Ornstein-Uhlenbeck (OU) process \cite{uhlenbeck1930} (Figure \ref{NetEx}(a); see Methods for details). The remainder of Figure \ref{NetEx} shows the resulting output for a 400-neuron network, integrating a box input in panels (a)-(e) and integrating the frozen random trace in panels (f)-(j). Figures (a) and (f) plot the different inputs, while (b) and (g) show the raster plots for all 400 neurons. The neurons spike fairly sparsely and highly irregularly. The network estimates, \hat{x}(t) (red trace), along with the true signal x(t) (blue trace) are shown in (c) and (h). The network is able to track both the box and OU inputs with a high degree of accuracy: the relative error (||x-\hat{x}||_2/||x||_2) between the estimate and the actual signal is 0.07 for (c) and 0.07 for (h). To illustrate the improvement in accuracy due to the synaptic inputs that compensate for spike-generating currents (see Materials and Methods section \nameref{derivekernels}), we also plot signal estimates from a network where this compensation was not included (grey traces). For these estimates, the relative error is 0.60 in (c) and 0.40 in (h); thus, our compensating synapses yield an almost tenfold increase in accuracy.
Frozen Ornstein-Uhlenbeck inputConductance-based spike-based computation network without compensating synapsesrelative error (||x-\hat{x}||_2/||x||_2)0.40Function Integration · network=homogeneous integrator · network-size=400 neurons · compensating-synapses=omitted
Source quote
L576: For purposes of illustration, the network was driven with two different types of inputs c(t), a box function and a frozen random trace generated from an Ornstein-Uhlenbeck (OU) process \cite{uhlenbeck1930} (Figure \ref{NetEx}(a); see Methods for details). The remainder of Figure \ref{NetEx} shows the resulting output for a 400-neuron network, integrating a box input in panels (a)-(e) and integrating the frozen random trace in panels (f)-(j). Figures (a) and (f) plot the different inputs, while (b) and (g) show the raster plots for all 400 neurons. The neurons spike fairly sparsely and highly irregularly. The network estimates, \hat{x}(t) (red trace), along with the true signal x(t) (blue trace) are shown in (c) and (h). The network is able to track both the box and OU inputs with a high degree of accuracy: the relative error (||x-\hat{x}||_2/||x||_2) between the estimate and the actual signal is 0.07 for (c) and 0.07 for (h). To illustrate the improvement in accuracy due to the synaptic inputs that compensate for spike-generating currents (see Materials and Methods section \nameref{derivekernels}), we also plot signal estimates from a network where this compensation was not included (grey traces). For these estimates, the relative error is 0.60 in (c) and 0.40 in (h); thus, our compensating synapses yield an almost tenfold increase in accuracy.
Homogeneous integrator network, zero-input periodConductance-based spike-based computation networkcoefficient of variation (CV) of inter-spike intervals (ISI)0.86Spike Train Analysis · repetitions=800 · stimulus-period=zero-input
Source quote
L582: We next show that our network displays two key features of cortical networks: the spike times of the network are irregular and Poisson-like, and there is a tight balance between excitation and inhibition for each neuron in the network. Figure \ref{ISIFig} shows responses from the homogeneous integrator network introduced in the previous section with a box function input stimulus. The irregularity of spike times is illustrated by the voltage trace of an example neuron in the network, in Figure \ref{ISIFig}(a). To quantify this irregularity, we generated a histogram of the inter-spike intervals (ISI) during the period of zero input where the firing rates are nearly constant \ref{ISIFig}(b). To generate the histogram, we simulated the response of the network during 800 repetitions of the box function input. The only thing that varied between trials was the realization of the additive background noise current. The ISIs follow an almost exponential distribution, see inset, and the coefficient of variation (CV) is 0.86. Thus, the spiking in our network is, by this measure, less variable but not far from what we would expect for Poisson spiking (which would yield a CV=1) or levels of variability that have been observed in cortical networks \cite{faisaletal2008,shadlen1998}.
Box function inputConductance-based spike-based computation networkreduction in decoding variance (\nu (ind)_{\hat{x}} /\nu_{\hat{x}})5.0Function Integration · network=homogeneous integrator · comparison=independent decoder with off-diagonal covariance terms set to zero
Source quote
L602: How do correlations affect decoding variance in the homogeneous integrator network? For both of the different inputs, the structure of pairwise interactions between neurons causes a roughly fivefold decrease in the variability of the network estimate: for the box function input, the reduction in decoding variance is 5.0, while for the OU input, it is 5.8. To gain insight into how the correlation structure of the network causes this, Figure \ref{CorrFig} plots the population-averaged correlation coefficients and cross-correlograms for the homogeneous integrator network. We first focus on the case of the box input function. In Figure \ref{CorrFig}(a) we show a histogram of the population-averaged pairwise correlation coefficients for both the stimulus-activated (magenta) and stimulus-depressed (green) populations. Neurons in both populations appear to have weak (and slightly negative) pairwise interactions with one another on average: the mean correlation coefficient for the stimulus-activated (stimulus-depressed) population is -1.3×10 (-3) (-0.3×10 (-3)). On the other hand, Figure \ref{CorrFig}(b) shows that the pairwise correlation coefficients between cells in the two different populations are small but positive, with a mean of 3.3× 10 (-3). Thus, the network reduces decoding variance by creating negative correlations between neurons that represent the same aspect of the stimulus, and positive correlations between neurons that represent different aspects of the stimulus. From a coding perspective, these represent ``good'' correlations as the negative correlations between cells in the same population act to reduce redundancy, while the positive correlations across populations allow for some of the background noise to be cancelled out when the estimates from two populations are subtracted \cite{averbeck2006,hu2014}. This can also be seen in the cross-correlograms of the different populations, Fig. \ref{CorrFig}(c) and (d).
BibTeX
@article{schwemmer2015constructing,
  author = {Michael A. Schwemmer and Adrienne L. Fairhall and Sophie Denève and Eric Shea‐Brown},
  title = {{Constructing precisely computing networks with biophysical spiking neurons}},
  journal = {Journal of Neuroscience},
  year = {2015},
  doi = {10.1523/jneurosci.4951-14.2015},
}
Figure