Langevin Flows for Modeling Neural Latent Dynamics

Yue Song, T. Anderson Keller, Yisong Yue, Pietro Perona, Max Welling
7/15/2025
cs.LGq-bio.NC

No official code found. Best implementation: KingJamesSong/LangevinFlow_CCN (2 stars, MIT, last commit 2025-07-16).

Abstract

Neural populations exhibit latent dynamical structures that drive time-evolving spiking activities, motivating the search for models that capture both intrinsic network dynamics and external unobserved influences. In this work, we introduce LangevinFlow, a sequential Variational Auto-Encoder where the time evolution of latent variables is governed by the underdamped Langevin equation. Our approach incorporates physical priors -- such as inertia, damping, a learned potential function, and stochastic forces -- to represent both autonomous and non-autonomous processes in neural systems. Crucially, the potential function is parameterized as a network of locally coupled oscillators, biasing the model toward oscillatory and flow-like behaviors observed in biological neural populations. Our model features a recurrent encoder, a one-layer Transformer decoder, and Langevin dynamics in the latent space. Empirically, our method outperforms state-of-the-art baselines on synthetic neural populations generated by a Lorenz attractor, closely matching ground-truth firing rates. On the Neural Latents Benchmark (NLB), the model achieves superior held-out neuron likelihoods (bits per spike) and forward prediction accuracy across four challenging datasets. It also matches or surpasses alternative methods in decoding behavioral metrics such as hand velocity. Overall, this work introduces a flexible, physics-inspired, high-performing framework for modeling complex neural population dynamics and their unobserved influences.

View on arXivView PDF

Code Implementations(1)

MIT
20PythonApr 8, 20251 years agoMIT

Similar Papers

Cite this paper

@article{song2025langevin,
  title  = {Langevin Flows for Modeling Neural Latent Dynamics},
  author = {Yue Song and T. Anderson Keller and Yisong Yue and Pietro Perona and Max Welling},
  year   = {2025},
  eprint = {2507.11531},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11531v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11531.svg)](https://codeofpaper.com/paper/2507.11531)

Discussion