arXiv

CalM: A Self-Supervised Foundation Model for Population Dynamics in Calcium Imaging Data

Title: CalM: A Self-Supervised Foundation Model for Population Dynamics in Calcium Imaging Data

Abstract:

Emerging research indicates that large-scale, multi-animal modeling can substantially enhance the analysis of neural recordings. Despite this potential, current methods for processing functional calcium traces are largely restricted to specific tasks, hindering their applicability across broader neuroscience goals. To overcome these limitations, we introduce CalM, a self-supervised neural foundation model trained exclusively on neuronal calcium traces. CalM is designed to be versatile, supporting a variety of downstream applications such as forecasting and decoding.

The core innovation of our work lies in a novel pretraining framework. This framework features a high-efficiency tokenizer that converts individual neuron traces into a unified discrete vocabulary, alongside a dual-axis autoregressive transformer. This transformer captures dependencies along both the neural and temporal dimensions. We assessed CalM using a comprehensive dataset comprising multiple animals and sessions. In the realm of neural population dynamics forecasting, CalM demonstrated competitive results against robust specialized baselines following the pretraining phase.

Furthermore, by integrating a task-specific head, CalM successfully adapted to behavior decoding tasks, outperforming standard supervised decoding models. Additionally, linear analyses of CalM’s internal representations uncovered interpretable functional structures that extend beyond mere predictive accuracy. Collectively, our study presents a new and effective self-supervised pretraining paradigm for foundation models based on calcium traces, establishing a foundation for scalable pretraining and wide-ranging applications in functional neural analysis. The code is available at https://github.com/TSuXinH/CalM.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...