Temporal-Sequential Learning With a Brain-Inspired Spiking Neural Network and Its Application to Musical Memory

Qian Liang, Yi Zeng, Bo XuFrontiers Comput. Neurosci 2020 · DOI

TL;DR

This paper presents a novel spiking neural network (SNN) inspired by brain structures to tackle the challenge of sequential memory. The model successfully encodes, stores, and retrieves complex sequences, demonstrating high accuracy in musical memory tasks and offering flexible temporal scaling.

What Problem Does This Paper Address?

The human brain excels at learning and recalling sequences of information, a fundamental cognitive ability crucial for everything from understanding language to remembering daily events. However, existing computational models, particularly traditional recurrent neural networks (RNNs), struggle with the nuances of sequential memory. They often have limited capacity for long-term storage, difficulty representing complex temporal relationships, and lack biological plausibility, making them hard to interpret and tune. This paper aims to bridge this gap by proposing a biologically inspired SNN that addresses these limitations.

Methods

The core of this work is a spiking neural network architecture designed with inspiration from brain regions involved in memory and timing. Key methodological innovations include:

  • Collaborative Subnetworks: The model is structured into four interconnected subnetworks (spatial, temporal, goal, and pacemaker) mimicking brain regions like the hippocampus and striatum. This modular design allows for specialized processing of different aspects of sequential information.
  • Neural Minicolumns: The building blocks of the spatial and temporal subnetworks are "neural minicolumns," groups of biologically plausible neurons (modeled using the Izhikevich model) that share similar preferences for specific inputs (e.g., a particular note pitch or time interval).
  • Spike-Timing-Dependent Plasticity (STDP): Synaptic connections are dynamically modulated using STDP, a learning rule where the strength of a connection changes based on the precise timing of pre- and post-synaptic spikes. This allows the network to learn ordered sequences and temporal relationships.
  • Dependent Timing Module: A dedicated temporal subnetwork, inspired by the brain's cortical-striatal loop, is designed to explicitly encode temporal information between sequential elements, a feature often poorly handled by traditional algorithms.
  • Pacemaker Cluster for Temporal Scaling: A "pacemaker cluster" is introduced to control the speed of retrieval, allowing the model to recall sequences at different paces, mimicking how humans can play music at various tempos.
  • Dynamic Network Size: The number of neurons and synapses can change dynamically during learning, making the model more flexible.

Datasets

The primary dataset used for evaluation is a collection of 331 MIDI files of classical piano melodies from the "Classical Piano MIDI Page" (Krueger, 2018). This dataset provides a rich source of sequential musical data with detailed information on notes, durations, and timing.

Key Insights and Ideas

  • Brain-Inspired Architecture is Key: The paper strongly suggests that mimicking the brain's modular structure (subnetworks) and learning mechanisms (STDP) is crucial for building effective sequential memory models.
  • Explicit Temporal Encoding Matters: The dedicated temporal subnetwork highlights the importance of explicitly modeling time intervals, rather than relying solely on sequential order, for robust sequence learning.
  • Temporal Scaling is Achievable: The pacemaker cluster demonstrates that a biologically plausible mechanism can enable a neural network to recall sequences at variable speeds, a capability observed in human cognition.
  • Musical Memory as a Powerful Testbed: Using musical melodies, with their inherent spatial (pitch) and temporal (duration) patterns, provides a compelling and complex domain to validate the model's capabilities.

Key Results

  • High Accuracy in Musical Memory: The model demonstrated high accuracy in storing and recalling a large number of musical melodies.
  • Goal-Based Retrieval: Achieved an average retrieval accuracy of 99.9% for musical works when given only the title (goal).
  • Contextual Retrieval: Showed an average accuracy of approximately 97% for recalling sequences based on partial episodes, demonstrating episodic memory capabilities.
  • Temporal Scalability: The model successfully retrieved musical sequences at different speeds by adjusting the pacemaker population's firing rate, with figures showing distinct temporal patterns for fast and slow retrieval.
  • Encoding Accuracy: Achieved a note duration encoding accuracy of 99.87% for a specific Mozart piece.

Limitations and Future Work

  • Model Capacity: While the model can store a large number of sequences, its capacity is theoretically limited by the length of the longest sequence. The authors suggest this will be a focus for future work.
  • Forgetting Mechanisms: The current model primarily focuses on learning and storage. Incorporating mechanisms for forgetting or altering stored information is identified as a crucial area for future development.
  • Hierarchical Structure: The authors plan to build a more hierarchical model to represent more complex information at different levels (e.g., notes, phrases, sections in music).
  • Time Perception Complexity: The paper acknowledges that time perception is highly complex and plans to further investigate neural circuits with conduction delays and their integration with existing mechanisms.
  • Real-time Simulation: Achieving real-time simulation of the model is noted as a challenging but important future goal.
  • Chords and Pauses: For musical applications, the model needs to be extended to represent and learn chords and pauses.
  • Musical Generation: The authors express interest in exploring musical generation as a future application.

Summary updated

BibTeX
@article{liang2020temporal,
  author = {Qian Liang and Yi Zeng and Bo Xu},
  title = {{Temporal-Sequential Learning With a Brain-Inspired Spiking Neural Network and Its Application to Musical Memory}},
  journal = {Frontiers Comput. Neurosci.},
  year = {2020},
  doi = {10.3389/fncom.2020.00051},
}
Figure