A Biologically Inspired Attention Model for Neural Signal Analysis
Nicolas SkatchkovskyiD, Natalia GlazmaniD, Alexander Egea-WeissiD, Sadra SadehiD, María Florencia IacarusoiD
Abstract
Understanding how the brain represents sensory information and triggers behavioural responses is a fundamental goal in neuroscience. Recent advances in neuronal recording techniques aim to progress towards this milestone, yet the resulting high-dimensional responses are challenging to interpret and link to relevant variables. Although existing machine learning models propose to do so, they often sacrifice interpretability for predictive power, effectively operating as black boxes. In this work, we introduce SPARKS, a biologically inspired model capable of high decoding accuracy and interpretable discovery within a single framework. SPARKS adapts the self-attention mechanism of large language models to extract information from the timing of single spikes and the sequence in which neurons fire using Hebbian learning. Trained with a criterion inspired by predictive coding to enforce temporal coherence, our model produces low-dimensional latent embeddings that are robust across sessions and animals. By directly capturing the underlying data distribution through a generative encoding-decoding framework, SPARKS matches or exceeds state-of-the-art decoders across diverse electrophysiology and calcium imaging datasets from the motor, visual and entorhinal cortices. Crucially, the Hebbian coefficients learned by the model are interpretable, allowing us to infer directed functional interactions and recover the known functional hierarchy of the mouse visual cortex. Overall, SPARKS unifies representation learning, high-performance decoding and model interpretability in a single framework by bridging neuroscience and AI, providing a powerful and versatile tool for dissecting neural computations and marking a step towards the next generation of biologically inspired intelligent systems.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Learning probabilistic representations with randomly connected neural circuits
Ori Maoz, Gašper Tkačik, … Elad Schneidman·Proceedings of the National Academy of SciencesPeer-reviewed·Sep 18, 2020
- Incremental Self-Organization of Spatio-Temporal Spike Pattern Detection
Mohammad Dehghani-Habibabadi, Lenny Müller, Klaus Richard Pawelzik·Scientific ReportsPeer-reviewed·Oct 7, 2025
- Decoding neurobiological spike trains using recurrent neural networks; a case study with electrophysiological auditory cortex recordings
Péter Szabó, Péter Barthó·Neural Computing and ApplicationsPeer-reviewed·Oct 14, 2021
- A Biologically Plausible Spiking Neural Network for Decoding Kinematics in the Hippocampus and Premotor Cortex
E. Taeckens, R. Dong, S. Shah·bioRxiv·Nov 9, 2022
- Predictive coding with spiking neurons and feedforward gist signalling
Kwangjun Lee, Shirin Dora, … Cyriel M. A. Pennartz·Frontiers in Computational NeurosciencePeer-reviewed·Apr 12, 2024
- Unsupervised Bayesian Ising Approximation for revealing the neural dictionary in songbirds
D. G. Hernandez, S. J. Sober, I. Nemenman·bioRxiv·Nov 20, 2019