Skip to main content
QUICK REVIEW

[Paper Review] LFADS - Latent Factor Analysis via Dynamical Systems

David Sussillo, Rafał Józefowicz|arXiv (Cornell University)|Aug 22, 2016
Neural dynamics and brain functionNeuroscience24 references69 citations
TL;DR

LFADS is a deep learning framework that infers low-dimensional, smooth latent dynamics from high-dimensional, single-trial neural spiking data using a variational auto-encoder with a recurrent dynamical system. It outperforms existing methods in reconstructing firing rates and latent trajectories, while also inferring unobserved inputs and initial conditions, enabling robust analysis of neural circuits without trial averaging.

ABSTRACT

Neuroscience is experiencing a data revolution in which many hundreds or thousands of neurons are recorded simultaneously. Currently, there is little consensus on how such data should be analyzed. Here we introduce LFADS (Latent Factor Analysis via Dynamical Systems), a method to infer latent dynamics from simultaneously recorded, single-trial, high-dimensional neural spiking data. LFADS is a sequential model based on a variational auto-encoder. By making a dynamical systems hypothesis regarding the generation of the observed data, LFADS reduces observed spiking to a set of low-dimensional temporal factors, per-trial initial conditions, and inferred inputs. We compare LFADS to existing methods on synthetic data and show that it significantly out-performs them in inferring neural firing rates and latent dynamics.

Motivation & Objective

  • To address the challenge of analyzing high-dimensional, single-trial neural spiking data without relying on trial averaging.
  • To infer low-dimensional, smooth latent dynamics that explain observed neural activity across trials.
  • To estimate unobserved inputs driving neural activity, even when these inputs are not directly measured.
  • To provide a principled, differentiable framework that models neural data as a nonlinear dynamical system with latent factors and initial conditions.
  • To improve upon existing methods in reconstructing firing rates and latent trajectories, especially in noisy or sparse data regimes.

Proposed method

  • LFADS uses a variational auto-encoder (VAE) architecture with a recurrent generator network to model neural dynamics as a nonlinear dynamical system.
  • The generator is a gated recurrent unit (GRU) that evolves hidden states from initial conditions and inferred inputs to produce smoothed firing rate estimates.
  • The encoder network infers posterior distributions over latent factors, initial conditions, and inputs using a sequence-to-sequence inference model.
  • Latent variables include low-dimensional temporal factors, per-trial initial conditions, and time-varying inferred inputs, all modeled with Gaussian priors.
  • The model is trained via stochastic backpropagation to minimize a variational lower bound, including KL divergence terms to regularize posteriors toward priors.
  • Regularization techniques include weight normalization, dropout on inputs and feed-forward connections, L2 penalties on recurrent weights, and gradient clipping to improve generalization.

Experimental results

Research questions

  • RQ1Can a deep generative model with recurrent dynamics better reconstruct single-trial neural spiking data than traditional methods like PSTHs or linear models?
  • RQ2To what extent can LFADS infer unobserved inputs that drive neural activity, even when these inputs are not directly recorded?
  • RQ3How well does LFADS recover smooth, low-dimensional latent dynamics from high-dimensional neural data, especially in the presence of noise?
  • RQ4Does the inclusion of a dynamical systems hypothesis improve the generalization and interpretability of neural data representations compared to feed-forward or non-dynamical models?
  • RQ5Can LFADS effectively disentangle trial-specific initial conditions from shared latent dynamics across trials?

Key findings

  • LFADS significantly outperforms existing methods in reconstructing neural firing rates on synthetic data, with lower reconstruction error and smoother inferred dynamics.
  • The model successfully infers unobserved inputs that drive neural activity, even when these inputs are not directly observable in the data.
  • LFADS produces low-dimensional, smooth latent trajectories that capture shared dynamics across trials, enabling interpretable neural circuit analysis.
  • The inclusion of regularization techniques such as KL scheduling, weight normalization, and gradient clipping prevents overfitting and improves generalization, especially in early trial segments.
  • LFADS avoids spiky, high-frequency rate estimates by learning smooth dynamics, indicating robustness to noise and overfitting.
  • The model’s ability to infer initial conditions enables a trial-specific code, supporting analysis of behavioral or task-related variability across trials.

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.