arXiv:2610.01786cs.LGOct 2026

Manuscript Offprint

arXiv:2610.01786

Inferring Multi-Timescale Neural Dynamics with Switching Linear Dynamical Systems

Lulu Gong, Yongxu Zhang, Shreya Saxena

ABSTRACT

Neural activity often exhibits multiple timescales that can vary with behavioral states and task conditions. Identifying these timescales from neural recordings is important for better understanding neural computation and function. However, traditional approaches based on autocorrelation fitting are difficult to scale to high-dimensional population recordings and can become unreliable when neural dynamics change with behavior. State-space models have been a powerful framework for modeling high-dimensional neural population activity through latent dynamical systems, but standard formulations and inference methods do not explicitly account for multiple timescales and therefore do not guarantee accurate recovery of the underlying temporal structure. Motivated by these questions, we introduce the Multi-Timescale Switching Linear Dynamical System (MTS-SLDS), a framework for identifying regime-specific latent timescales from continuous or spiking neural observations. MTS-SLDS combines a multi-lag moment initialization, which captures temporal structure across multiple observation lags, with regime-conditioned Laplace-EM inference, which reduces mixing of dynamical statistics across uncertain regimes. Characteristic timescales can then be extracted directly from the eigenvalues of the learned latent transition matrices. In synthetic experiments with Gaussian and Poisson observations, MTS-SLDS accurately recovers timescales and switching structure over a range of signal levels. We further apply this framework on neural spike recordings from two behavioral tasks. During a fixation task with neural activity recorded from V4, the inferred timescales agree with estimates from a dedicated Bayesian autocorrelation method. In Area 2 motor cortex recordings during a reaching task, we find that MTS-SLDS identifies behaviorally aligned dynamical regimes and provides more interpretable regime-specific timescale estimates. These results establish MTS-SLDS as a reliable framework for investigating how neural timescales behave within and across behavioral states, and for studying their role in neural population dynamics.

1 INTRODUCTION

Neuroscience experiments have revealed that activity from the brain evolves over multiple timescales, which reflects how neural circuits integrate information and maintain temporally extended representations. Neural recordings exhibit a hierarchy of temporal correlations across cortical areas, with generally shorter timescales in sensory regions and longer timescales in association cortex (Murray et al., 2014; Soltani et al., 2021; Spitmaan et al., 2020; Shi et al., 2025). Multiple timescales also coexist within individual populations and change with attention and working-memory demands (Zeraati et al., 2023; Gao et al., 2020; Zeraati et al., 2026). These observations connect temporal organization to neural computation: fast dynamics support sensitivity to changing inputs, whereas slower dynamics support integration and persistence (Chaudhuri et al., 2015). Recovering this temporal structure can therefore reveal computational differences that average firing rates or trajectory visualizations alone may obscure.

Current approaches to recovering neural timescales are largely based on statistical summaries: the autocorrelation function of a recorded signal, or of a population average, is fitted along with one or more exponential decays, and the fitted decay constants are reported as timescales (Murray et al., 2014; Zeraati et al., 2022). These estimates depend on observation noise, on which projection of the population is measured, and on the assumed form of the decay; importantly, they carry no description of the dynamics that produced the correlations. Latent variable models of neural activity offer a different route (Paninski & Cunningham, 2018). They posit that the recorded population is driven by a lower-dimensional latent state, xtx_{t}, that evolves according to its own dynamics, and is observed through a measurement process, such as a Gaussian readout of continuous signals or Poisson spike counts. Because this is a generative model rather than a summary statistic, it provides a richer dynamical description of the population, supports model-based prediction and held-out validation, and separates the dynamics of interest from the noise through which they are observed.

In a linear dynamical system, the latent state evolves across successive time bins of width Δt\Delta t as xt=Axt−1+wtx_t = Ax_{t-1} + w_t, and in a switching linear dynamical system (SLDS) a discrete regime ztz_t selects among transition matrices A1,…,AKA_1, \ldots, A_K so that the dynamics can change with behavioral state. The eigenvalues of each recovered AkA_k then directly inform us of the timescales: a stable eigenvalue λ\lambda decays by a factor ∣λ∣|\lambda| per bin, which corresponds to a relaxation time of −Δt/log⁡∣λ∣-\Delta t / \log |\lambda|. However, neural recordings are usually limited in duration and trial count, and with limited data the recovered dynamics are not uniquely determined. Two transition matrices with different eigenvalues can yield similar likelihoods, because the likelihood is most sensitive to the predicted observations and only indirectly to the decay rates behind them. Different fitted models can therefore reconstruct similar latent trajectories while assigning different decay rates or different switching structure to the underlying dynamics. This identifiability problem makes it difficult to interpret the eigenvalues of a fitted model as timescales, which matters when the scientific objective is to interpret the learned system rather than only predict its observations.

Here, we introduce the Multi-Timescale Switching Linear Dynamical System (MTS-SLDS), a learning framework for recovering regime-specific latent timescales from multivariate Gaussian or Poisson observations. MTS-SLDS addresses the problem with two components. Firstly, a multilag moment initialization estimates the latent dynamics from observation moments at several lags, using moment relations specific to the Gaussian or Poisson observation model. Secondly, regime-conditioned Laplace EM (RC-L-EM) refines the model while retaining regime-specific state moments for AkA_k updates, so that uncertain regime assignments do not mix dynamical statistics across regimes.

We evaluate MTS-SLDS against a standard SLDS in stationary and switching simulations with Gaussian and Poisson observations, across observation noise levels and mean spike counts per bin. Timescale recovery is measured directly against the ground-truth spectrum alongside latent-state reconstruction and regime identification, and the two can diverge: models with similar reconstruction accuracy can differ substantially in the timescales they recover. We then apply the framework to two different neural recordings. In V4 during sustained fixation, a single-regime model yields timescales consistent with autocorrelation-based estimates, with higher held-out likelihood and closer simulated autocorrelations than the SLDS baseline. In somatosensory area 2 during reaching, the inferred regimes align with movement onset and the regime-specific timescales agree with behavioral decay times. MTS-SLDS thus offers a principled route to characterizing how neural timescales differ across behavioral states, with the recovered eigenvalues carrying a direct biological interpretation.