Unsupervised Learning of Spatio-Temporal Patterns in Spiking Neuronal Networks

Florian Feiler, Emre Neftci, Younes BouhadjarICONS 2024

This paper, recently published by researchers at the Jülich Research Centre and RWTH Aachen, explores how spiking neural networks (SNNs) can learn to predict sequences of complex patterns without any external supervision. By mimicking the way biological neurons use their dendrites to "anticipate" incoming signals, the authors demonstrate a model that can solve high-order sequence problems—tasks where the network must remember the distant past to predict the immediate future.

TL;DR

The researchers developed a biologically plausible spiking neural network that uses dendritic action potentials (dAPs) and local learning rules to learn and predict sequences of spatio-temporal patterns. Their model successfully disambiguates overlapping sequences (e.g., distinguishing between A-B-D and C-B-E) and shows that temporal encoding, supported by precise synaptic delays, is significantly more powerful than simple spatial encoding for complex sequence learning.

What Problem Does This Paper Address?

Predicting what happens next is a cornerstone of intelligence, from forecasting the weather to understanding a sentence. While modern "Deep Learning" (like Transformers) is great at this, it is computationally expensive and requires massive amounts of labeled data.

Biological brains, however, learn sequences in a continuous, unsupervised, and energy-efficient way. A major challenge in bio-inspired AI is the "high-order sequence" problem: if a network sees the stimulus "B," but "B" appears in two different sequences (like $A \rightarrow B \rightarrow D$ and $C \rightarrow B \rightarrow E$), how does it know whether to predict "D" or "E"? This paper addresses how a network can learn to form "context-dependent" representations to solve this ambiguity using only local, biologically realistic learning rules.

Methods

The authors propose a recurrent network of Leaky Integrate-and-Fire (LIF) neurons consisting of three populations: excitatory neurons ($E$), inhibitory neurons ($I$), and external spike sources ($X$).

The "secret sauce" of their model is the Dendritic Action Potential (dAP). In this model, neurons have a non-linear dendritic compartment. If recurrent input from other neurons is strong enough to cross a threshold ($\theta_{dAP}$), the neuron enters a "predictive state"—it becomes slightly depolarized. This makes the neuron fire faster when the actual stimulus arrives.

The learning process happens in two distinct, unsupervised phases:

  1. Assembly Formation: Using Spike-Timing-Dependent Plasticity (STDP), the input synapses ($W_{EX}$) learn to respond to specific spatio-temporal patterns, creating "assemblies" of neurons dedicated to specific items (like the letter "A").
  2. Sequence Learning: The input synapses are frozen, and the recurrent synapses ($W_{EE}$) become plastic. The network learns the transitions between assemblies. If assembly "A" fires, it primes assembly "B" via the dAP mechanism.

Datasets

The model was evaluated using synthetic sequences of Spatio-Temporal Patterns (STPs):

  • Spatial Encoding: Patterns are defined by which input channels are active.
  • Temporal Encoding: Patterns occupy all channels but are defined by the precise timing of spikes within a 50ms window.
  • High-Order Sequences: The authors tested the network on sets like $S_3 = \{ABD, CBE\}$ and $S_4 = \{ABFD, CBFE\}$. In these sets, the middle elements overlap, forcing the network to maintain context from the first element to correctly predict the last.

Key Insights and Ideas

  • Dendrites as Context Carriers: The dAP mechanism allows the network to "route" information. Because predictive neurons fire earlier, they trigger lateral inhibition that shuts down non-predictive neurons. This effectively "picks" the correct context-dependent path through the network.
  • The Power of Time: The study found that temporal encoding is far superior to spatial encoding. When using precise synaptic delays, the network could solve sequences with up to 5 overlapping elements, whereas spatial encoding struggled with more than 2.
  • Homeostasis is Mandatory: To prevent a neuron from becoming a "jack of all trades" (and thus losing context), the authors used a homeostatic learning rule that constrains neurons to be predictive in only one specific context.

Key Results

  • Successful Disambiguation: The model achieved high prediction accuracy on high-order sequences, effectively learning to distinguish between $A \rightarrow B \rightarrow D$ and $C \rightarrow B \rightarrow E$.
  • Robustness to Jitter: The network is resilient to temporal "jitter" (random shifts in spike timing) up to about 2.5ms. However, it is highly sensitive to noise in the synaptic delays themselves.
  • Hyperparameter Sensitivity: The dAP threshold ($\theta_{dAP}$) is a critical "Goldilocks" parameter. If it's too low, too many neurons become predictive and context is lost; if it's too high, the recurrent input can't trigger the predictive state at all.

Limitations and Future Work

  • Precomputed Delays: For the temporal encoding experiments, the authors manually set the synaptic delays to match the input patterns ("congruent delays"). In a truly autonomous system, the network would need to learn these delays itself. The authors identify "unsupervised delay learning" as a vital next step.
  • Scaling: While the model handles short high-order sequences, it remains to be seen how it scales to the massive, messy sequences found in real-world video or audio data.
  • Parameter Tuning: The narrow range of functional hyperparameters suggests that more robust homeostatic mechanisms may be needed to make the model stable across different types of input.

Summary updated

Abstract

The ability to predict future events or patterns based on previous experience is crucial for many applications such as traffic control, weather forecasting, or supply chain management. While modern supervised Machine Learning approaches excel at such sequential tasks, they are computationally expensive and require large training data. A previous work presented a biologically plausible sequence learning model, developed through a bottom-up approach, consisting of a spiking neural network and unsupervised local learning rules. The model in its original formulation identifies only a specific type of sequence elements composed of synchronous spikes by activating a subset of neurons with identical stimulus preference. In this work, we extend the model to detect and learn sequences of various spatio-temporal patterns (STPs) by incorporating plastic connections in the input synapses. We showcase that the model is able to learn and predict high-order sequences. We further study the robustness of the model against different input settings and parameters.
BibTeX
@inproceedings{feiler2024unsupervised,
  author = {Florian Feiler and Emre Neftci and Younes Bouhadjar},
  title = {{Unsupervised Learning of Spatio-Temporal Patterns in Spiking Neuronal Networks}},
  booktitle = {ICONS},
  year = {2024},
}
Figure