Skip to main content
QUICK REVIEW

[Paper Review] Nonlinear Evolution via Spatially-Dependent Linear Dynamics for Electrophysiology and Calcium Data

Daniel Hernandez, Antonio Khalil Moretti|arXiv (Cornell University)|Nov 6, 2018
Neural dynamics and brain functionNeuroscience19 references9 citations
TL;DR

This paper introduces Variational Inference for Nonlinear Dynamics (VIND), a variational inference framework that models nonlinear, smooth latent dynamics using spatially-dependent linear dynamics via Locally Linear Dynamical Systems (LLDS). VIND achieves state-of-the-art performance in reconstruction and prediction across electrophysiology, single-cell voltage, and widefield calcium imaging datasets, with significant improvements in predictive mean squared error and discovery of biologically interpretable latent dimensions.

ABSTRACT

Latent variable models have been widely applied for the analysis of time series resulting from experimental neuroscience techniques. In these datasets, observations are relatively smooth and possibly nonlinear. We present Variational Inference for Nonlinear Dynamics (VIND), a variational inference framework that is able to uncover nonlinear, smooth latent dynamics from sequential data. The framework is a direct extension of PfLDS; including a structured approximate posterior describing spatially-dependent linear dynamics, as well as an algorithm that relies on the fixed-point iteration method to achieve convergence. We apply VIND to electrophysiology, single-cell voltage and widefield imaging datasets with state-of-the-art results in reconstruction error. In single-cell voltage data, VIND finds a 5D latent space, with variables akin to those of Hodgkin-Huxley-like models. VIND's learned dynamics are further quantified by predicting future neural activity. VIND excels in this task, in some cases substantially outperforming current methods.

Motivation & Objective

  • To develop a scalable and accurate variational inference framework for modeling nonlinear, smooth latent dynamics in sequential neuroscience data.
  • To address the limitations of linear dynamical systems and standard variational approximations in capturing complex, nonlinear neural dynamics.
  • To enable disentanglement of latent dynamics (transition) from data encoding (recognition) in a structured, tractable posterior approximation.
  • To improve generative modeling and long-horizon prediction of neural activity in experimental datasets with high-dimensional, noisy observations.
  • To uncover biologically meaningful latent dimensions and dynamics from single-cell voltage and population imaging data.

Proposed method

  • VIND employs a structured approximate posterior that models nonlinear evolution in the latent space using Locally Linear Dynamical Systems (LLDS), where transition matrices vary spatially across the latent state.
  • The method uses fixed-point iteration to optimize the variational objective, enabling convergence and efficient inference with linear time complexity in the number of time points.
  • It extends the PfLDS framework by allowing the approximate posterior to share the exact nonlinear structure of the generative model’s dynamics.
  • The framework separates the recognition model (encoding observations into latent states) from the transition model (dynamics), enabling disentangled inference.
  • A variational lower bound (ELBO) is optimized using Monte Carlo sampling from the recognition model, with gradients backpropagated through the fixed-point iteration.
  • The method is implemented in TensorFlow and supports extensions to input-driven and supervised settings.

Experimental results

Research questions

  • RQ1Can a variational inference framework effectively model nonlinear, smooth latent dynamics in neuroscience time series data?
  • RQ2Does a structured approximate posterior that mirrors the true nonlinear dynamics improve reconstruction and prediction accuracy?
  • RQ3Can VIND uncover biologically interpretable latent dimensions, such as those resembling Hodgkin-Huxley model variables, from single-cell voltage recordings?
  • RQ4To what extent can VIND’s learned dynamics generalize to long-horizon prediction of neural activity?
  • RQ5Can latent dynamics learned from one brain region (e.g., left hemisphere) predict activity in another (e.g., right hemisphere) in widefield imaging data?

Key findings

  • VIND achieved state-of-the-art reconstruction error on electrophysiology, single-cell voltage, and widefield calcium imaging datasets, outperforming existing methods by orders of magnitude in predictive mean squared error.
  • In single-cell voltage data, VIND identified a 5-dimensional latent space, with components resembling those of Hodgkin-Huxley-type ion channel dynamics.
  • VIND demonstrated superior long-horizon prediction, with minimal degradation in accuracy up to 30 steps ahead, outperforming baseline methods significantly.
  • The model successfully reconstructed right-hemisphere cortical dynamics from left-hemisphere latents in widefield imaging, achieving a variance-weighted R² of 0.49, outperforming a CCA baseline (R² = 0.45).
  • VIND’s latent trajectories revealed distinct state-space occupancy patterns depending on input current, enabling clear separation of trial types in electrophysiology data.
  • The framework’s inference algorithm scales linearly with time points, enabling efficient training on long neural time series.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.