Modeling state-dependent communication between brain regions with switching nonlinear dynamical systems

Orren Karniol-Tambour, David M. Zoltowski, E. Mika Diamanti, Lucas Pinto, Carlos D Brody, David W. Tank, Jonathan W. Pillow

TL;DR

Researchers have developed MR-SDS (Multi-Region Switching nonlinear Dynamical Systems), a new framework for modeling how different brain regions communicate. By combining switching nonlinear dynamics with a Transformer-based inference engine, the model can decompose complex neural activity into local computations and directed "messages" sent between regions. MR-SDS outperforms existing linear models in predicting brain activity during decision-making tasks and offers a highly interpretable view of neural dynamics.

What Problem Does This Paper Address?

A central goal in systems neuroscience is understanding how the brain’s "distributed computer" works—specifically, how multiple regions coordinate to process sensory input and produce behavior. However, interpreting neural data presents three massive hurdles:

  1. Nonlinearity: The "rules" governing neural activity are complex and cannot be captured by simple linear equations.
  2. Non-stationarity: The brain frequently switches between different internal states (e.g., transitioning from "collecting evidence" to "making a choice").
  3. High Dimensionality: While recordings capture thousands of individual neurons, the underlying "logic" of the brain likely operates in a much lower-dimensional latent space.

Existing models often fall into two traps: they are either too simple (linear models that fail to capture complex curves) or too "black-box" (high-dimensional RNNs that are nearly impossible to interpret). The authors seek a middle ground: a model expressive enough to capture nonlinear dynamics, yet structured enough to reveal exactly how one brain region influences another.

Methods: The MR-SDS Framework

The authors introduce MR-SDS, a multiregion, switching nonlinear state-space model.

MR-SDS Architecture

The framework operates through several key mechanisms:

  • Latent Dynamics: Instead of modeling every single neuron, the model identifies low-dimensional "latent" trajectories for each brain region.
  • The Decomposition: The change in a region's state is explicitly split into three interpretable parts:
  • Local Dynamics: What the region computes on its own.
  • Communication (Messages): The directed signals it receives from other regions.
  • Inputs: The effect of external stimuli (like a visual cue).
  • The "Switch": A global discrete variable ($z_t$) allows the model to switch between different sets of these nonlinear functions. For example, one state might represent "evidence accumulation," while another represents the "reset" phase after a choice.
  • Transformer Inference: To handle the complex mapping from noisy neural recordings to these latent states, the authors use a Transformer encoder. This allows the model to look at the entire experimental trial at once to infer the most likely hidden states.
  • Overshooting: To ensure the model learns true physical dynamics rather than just memorizing the data, they use an "overshooting" loss, forcing the model to predict multiple steps into the future.

Datasets

The model was validated on three simulations and two massive real-world neural datasets involving mouse decision-making:

  1. Simulations: Included a switching Lotka-Volterra (predator-prey) system and a "double-well" system that mimics evidence accumulation.
  2. Mesoscope Dataset: Single-cell resolution recordings of hundreds of neurons across three distal cortical regions (AM, RSC, and M2) in mice performing a virtual reality navigation task.
  3. Widefield Dataset: A "macro" view of the brain, imaging 8 adjacent cortical regions across both hemispheres (16 regions total) at a lower resolution but broader scale.

Key Insights and Ideas

  • Messages as Interpretable Vectors: By isolating the cross-region component, the model produces a distinct "message" signal. The authors found they could decode experimental variables (like which side a stimulus appeared on) directly from these messages, providing a clear map of information flow.
  • Nonlinearity Saves States: Traditional switching linear models (SLDS) often need dozens of discrete states just to approximate a single curve. Because MR-SDS is inherently nonlinear, it can capture complex behavior with just 2 or 3 states, making the results much easier for a human scientist to interpret.
  • PPC as a Hub: In the widefield data, the model identified the Posterior Parietal Cortex (PPC) as a major communication hub. It receives high-information messages from visual areas and sends feedback to upstream regions—perfectly matching existing biological hypotheses.

Key Results

  • Superior Prediction: MR-SDS achieved lower Mean Squared Error (MSE) on "co-smoothing" tests (predicting the activity of held-out neurons) compared to linear models like mr-rSLDS and standard PCA.
  • State Recovery: In simulations, the model perfectly recovered the "vector fields" (the underlying rules of motion) even when the system switched abruptly between different regimes.
  • Efficiency: On the mesoscope data, MR-SDS performed better with only 3 latent dimensions per region than linear models did with 10, proving that nonlinear modeling is a vastly more efficient way to describe brain activity.

Limitations and Future Work

  • The "Hidden" Problem: The model assumes all relevant regions are being recorded. In reality, unobserved brain regions (like deep subcortical structures) might be driving the observed activity, which could lead the model to misattribute "local" dynamics to "communication" or vice versa.
  • Causality vs. Correlation: While the model uses directed "messages," these are learned from observational data. Without physical interventions (like optogenetic silencing), these interactions remain correlations rather than proven causal links.
  • Fixed Region Definitions: Currently, the user must define the brain regions beforehand. Future iterations might allow the model to "discover" functional regions on its own based on coherent dynamics.

Summary updated

BibTeX
@inproceedings{karnioltambour2024modeling,
  author = {Orren Karniol-Tambour and David M. Zoltowski and E. Mika Diamanti and Lucas Pinto and Carlos D Brody and David W. Tank and Jonathan W. Pillow},
  title = {{Modeling state-dependent communication between brain regions with switching nonlinear dynamical systems}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=WQwV7Y8qwa},
}
Figure