A Biologically Inspired Attention Model for Neural Signal Analysis
N. Skatchkovsky, N. Glazman, A. Egea-Weiss, S. Sadeh, F. Iacaruso
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Learning predictive latent structure from unclustered neural spike trains.bioRxiv : the preprint server for biology · 2026
- A transformer-based model reveals sparse, stimulus-dependent orientation readout from macaque V1 population activitybioRxiv · 2026
- Spiking Sensory NetworksarXiv · 2026
- NeuroHorizon: Long-Horizon Forecasting of Neural Population Activity with Hierarchical MemoryarXiv · 2026
- Joint encoding of “what” and “when” predictions through error-modulated plasticity in biologically plausible spiking networksCommunications Biology · 2026
- State-dependent structured sparsification of cortical signal-transmission networks enhances visual codingbioRxiv · 2026