Learning as filtering: implications for spike-based plasticity

Jannes Jegminat, Jean-Pascal Pfister · DOI

Abstract

Most normative models in computational neuroscience describe the task of learning as the optimisation of a cost function with respect to a set of parameters. However, learning as optimisation fails to account for a time varying environment during the learning process; and the resulting point estimate in parameter space does not account for uncertainty. Here, we frame learning as filtering, i.e., a principled method for including time and parameter uncertainty. We derive the filtering-based learning rule for a spiking neuronal network - the Synaptic Filter - and show its computational and biological relevance. For the computational relevance, we show that filtering in combination with Bayesian regression improves performance compared to a gradient learning rule with optimal learning rate in terms of weight estimation. Furthermore, the filtering-based rule outperforms gradient-based rules in the presence of model mismatch, indicating a better generalisation performance. The dynamics of the mean of the Synaptic Filter is consistent with the spike-timing dependent plasticity (STDP) while the dynamics of the variance makes novel predictions regarding spike-timing dependent changes of EPSP variability. Moreover, the Synaptic Filter explains experimentally observed negative correlations between homo- and heterosynaptic plasticity.

Introduction: From Optimization to Filtering

In computational neuroscience, most "normative" models frame learning as the optimization of a static cost function. While powerful, this approach has two major flaws. First, optimization assumes a static environment, whereas biological worlds are dynamic and require constant adaptation to shifting statistics. Second, optimization typically produces a "point estimate"—a single set of "best" weights—ignoring the learner's uncertainty. This often leads to overfitting, particularly when data is sparse.

Conceptual framework comparing optimization and inference in static and dynamic environments.

This paper proposes framing learning as a filtering problem. In this view, the goal is to continuously update the full posterior distribution (both mean and uncertainty) of synaptic weights based on a stream of incoming spikes. This approach naturally accounts for time-varying parameters and provides a principled way to handle uncertainty.

The Synaptic Filter Framework

The authors derive a learning rule called the Synaptic Filter using Assumed Density Filtering (ADF). The framework is tested using a "Tutor-Student" setup. The "Tutor" neuron possesses weights that evolve over time following an Ornstein-Uhlenbeck (OU) process, generating spikes via a Poisson process. The "Student" (the filter) attempts to track these weights by updating the mean ($\mu$) and covariance ($\Sigma$) of a Gaussian distribution over the weights.

The Tutor-Student setup where the Student network tracks the distribution of the Tutor's weights.

By marginalizing over the entire distribution of possible weights (Bayesian regression), the model naturally accounts for uncertainty. This contrasts with standard gradient-based learning rules (like Maximum Likelihood) which only update a single weight value.

Key Insights and Biological Relevance

The Synaptic Filter framework yields several profound insights into biological plasticity:

  • Uncertainty as a Learning Rate: The variance (uncertainty) in the filter acts as a synapse-specific learning rate. High uncertainty leads to aggressive weight changes, while certainty leads to stabilization.
  • STDP and LTD: The filter's mean dynamics replicate the classic exponential Spike-Timing-Dependent Plasticity (STDP) curve. Interestingly, Long-Term Depression (LTD) emerges as a mechanism to compensate for changes in the neuron's internal excitability.
  • Heterosynaptic Plasticity: The model explains heterosynaptic plasticity—where a synapse changes without firing—through the Bayesian concept of "explaining-away." If one synapse strongly correlates with a post-synaptic spike, the filter reduces the perceived importance of competing synapses.
  • Robustness: Unlike gradient descent, the Synaptic Filter remains robust in "model mismatch" scenarios (e.g., when the student has a different number of synapses than the tutor) because it maintains a representation of its own ignorance.

Results and Predictions

Computationally, the Synaptic Filter achieves lower Mean Square Error (MSE) in weight estimation compared to optimized gradient descent. It also demonstrates significantly better generalization performance.

Biologically, the model makes a novel, testable prediction: EPSP variability (synaptic noise) should change as a function of spike timing. Specifically, causal spike timing (pre- before post-) should reduce variability more than non-causal timing. Furthermore, the model successfully matches experimental observations of negative correlations between homosynaptic and heterosynaptic plasticity, such as those seen in the amygdala.

Limitations

While promising, the Synaptic Filter assumes Gaussian weight distributions, whereas real synaptic weights are often log-normal and non-negative. Additionally, tracking a full covariance matrix is computationally expensive ($O(d^2)$). Biological neurons might overcome this through diagonal approximations or localizing computations within dendritic compartments. Future work will need to address these structural and computational constraints.

Summary updated

BibTeX
@article{jegminat2022learning,
  author = {Jannes Jegminat and Jean-Pascal Pfister},
  title = {{Learning as filtering: implications for spike-based plasticity}},
  journal = {PLOS Computational Biology},
  year = {2022},
  doi = {10.1371/journal.pcbi.1009721},
}
Figure