neural information processing systemsNeurosciencePeer-reviewed journal article
Extracting task-relevant preserved dynamics from contrastive aligned neural recordings
Yiqi JiangiD, Kaiwen ShengiD, Yujia GaoiD, E. Kelly BuchananiD, Yu ShikanoiD, Tony Hyun KimiD, Yixiu Zhao, Seung Je WooiD, Fatih DinçiD, Scott W. LindermaniD, Mark J. SchnitzeriD
- Citations
- 0
- FWCI
- 0.00
- Field percentile
- 31th percentile
Abstract
Recent work indicates that low-dimensional dynamics of neural and behavioral data are often preserved across days and subjects. However, extracting these preserved dynamics remains challenging: high-dimensional neural population activity and the recorded neuron populations vary across recording sessions. While existing modeling tools can improve alignment between neural and behavioral data, they often operate on a per-subject basis or discretize behavior into categories, disrupting its natural continuity and failing to capture the underlying dynamics. We introduce Contrastive Aligned Neural DYnamics (CANDY), an end-to-end framework that aligns neural and behavioral data using rank-based contrastive learning, adapted for continuous behavioral variables, to project neural activity from different sessions onto a shared low-dimensional embedding space. CANDY fits a shared linear dynamical system to the aligned embeddings, enabling an interpretable model of the conserved temporal structure in the latent space. We validate CANDY on synthetic and real-world datasets spanning multiple species, behaviors, and recording modalities. Our results show that CANDY is able to learn aligned latent embeddings and preserved dynamics across neural recording sessions and subjects, and it achieves improved cross-session behavior decoding performance. We further show that the latent linear dynamical system generalizes to new sessions and subjects, achieving comparable or even superior behavior decoding performance to models trained from scratch. These advances enable robust cross-session behavioral decoding and offer a path towards identifying shared neural dynamics that underlie behavior across individuals and recording conditions. The code and two-photon imaging data of striatal neural activity that we acquired here are available at https://github.com/schnitzer-lab/CANDY-public.git.
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
- Modeling and dissociation of intrinsic and input-driven neural population dynamics underlying behavior
Parsa Vahidi, Omid G. Sani, Maryam Modir Shanechi·Proceedings of the National Academy of SciencesPeer-reviewed·Feb 9, 2024
- A stable, long-term cortical signature underlying consistent behavior
Juan Álvaro Gallego, Matthew G. Perich, … Lee E. Miller·bioRxiv·Nov 18, 2018
- Learning Interpretable Switching Dynamics in Shared Neural-Behavioral Latent Space
Yongxu Zhang, Josue Ortega Caro, … Shreya Saxena·bioRxiv·Oct 9, 2026
- Automated long-term recording and analysis of neural activity in behaving animals
Ashesh K Dhawale, Rajesh Poddar, … Bence Olveczky·bioRxiv·Jan 24, 2016
- BunDLe-Net: Learning minimal neural manifolds that represent only behaviourally relevant dynamics
Akshey Kumar, Aditya Gilra, … Moritz Grosse‐Wentrup·bioRxiv·Aug 8, 2023
- Generating whole-brain neural activity and behavior through unified latent dynamics
Davide Nuzzi, Maurizio Mattia, Giovanni Pezzulo·bioRxiv·Jul 14, 2026