Behavioral Classification of Sequential Neural Activity Using Time Varying Recurrent Neural Networks
- PMID: 40614145
- PMCID: PMC12398402
- DOI: 10.1109/TNSRE.2025.3586175
Behavioral Classification of Sequential Neural Activity Using Time Varying Recurrent Neural Networks
Abstract
Shifts in data distribution across time can strongly affect early classification of time-series data. When decoding behavior from neural activity, early detection of behavior may help in devising corrective neural stimulation before the onset of behavior. Recurrent neural networks are common models for sequence data. However, standard recurrent neural networks are not able to handle data with temporal distributional shifts to guarantee robust classification across time. To enable the network to utilize all temporal features of the neural input data, and to enhance the memory of recurrent neural networks, this paper proposes a novel approach: recurrent neural networks with time-varying weights, here termed Time-varying recurrent neural networks. These models are able to not only predict the class of the time-sequence correctly, but also lead to accurate classification earlier in the sequence than standard recurrent neural networks, while also stabilizing gradient dynamics. This paper focuses on early sequential classification of spatially distributed neural activity across time using Time-varying recurrent neural networks applied to a variety of neural data from mice and humans, as subjects perform motor tasks. Time-varying recurrent neural networks detect self-initiated lever-pull behavior up to 6 seconds before behavior onset-3 seconds earlier than standard recurrent neural networks. Finally, this paper explored the contribution of different brain regions on behavior classification using SHapley Additive exPlanation value, and found that the somatosensory and premotor regions play a large role in behavioral classification.
Figures










Update of
-
Behavioral Classification of Sequential Neural Activity Using Time Varying Recurrent Neural Networks.bioRxiv [Preprint]. 2023 May 11:2023.05.10.540244. doi: 10.1101/2023.05.10.540244. bioRxiv. 2023. Update in: IEEE Trans Neural Syst Rehabil Eng. 2025;33:2638-2649. doi: 10.1109/TNSRE.2025.3586175. PMID: 37214954 Free PMC article. Updated. Preprint.
References
-
- Soon CS, Brass M, Heinze H-J, and Haynes J-D, “Unconscious determinants of free decisions in the human brain,” Nature Neurosci, vol. 11, no. 5, pp. 543–545, May 2008. - PubMed
-
- Nakai N et al. , “Virtual reality-based real-time imaging reveals abnormal cortical dynamics during behavioral transitions in a mouse model of autism,” Cell Rep, vol. 42, no. 4, Apr. 2023, Art. no. 112258. - PubMed
-
- Mori U, Mendiburu A, Dasgupta S, and Lozano JA, “Early classification of time series by simultaneously optimizing the accuracy and earliness,” IEEE Trans. Neural Netw. Learn. Syst., vol. 29, no. 10, pp. 4569–4578, Oct. 2018. - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources