DFINE
MLP autoencoder with linear latent dynamics that infers latent factors of neural population activity by Kalman filter.
Neuroscience signals · 3,065 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Neuroscience signals
- Parameters
- 8.1K
- Operations
- 3,065
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- 2023, Nature Biomedical Engineering
- Cited by
- 28 (as of 27 October 2026)
- Authors
- Hamidreza Abbaspourazad, Eray Erturk, Bijan Pesaran, Maryam M. Shanechi
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15622
- Graph hash
- 21f579ee6f5b5366d92b3f19d5bdc4c2022cdb944a0a446d2a330fba5ff03d04
- Skeleton hash
- 5c633a13e41a4791edc60c34fce66c741854b11dfb22e8184fe9a67d43b40e28
- Architecture hash
- cd8cb0dd1ebdc8256040bd85e107c2b03a7a0cd575ef34f126af88bbde045fab
- Diagram SHA-256
- ea8a366b0f596af78011903a2010165802c338164f423f7bcf35dc9050e86b5f
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DFINE (dynamical flexible inference for nonlinear embeddings) is a neural network model of neural population activity. It was developed for accurate and flexible inference: causally in real time, non-causally, or when some neural observations are missing. The authors name neurotechnologies and brain-computer interfaces as applications.
The architecture uses two sets of latent factors rather than one. Manifold factors are a lower-dimensional representation of the recorded activity, and an autoencoder whose encoder and decoder are multilayer perceptrons maps between the two. The manifold factors are in turn treated as noisy observations of the dynamic factors, whose evolution in time follows a linear dynamic model with additive noise. Keeping the dynamics linear on the nonlinear manifold lets the model use a Kalman filter there, so the latent factors can be inferred recursively in real time.
All parameters are learned jointly by back propagation, minimizing the mean-squared error of predicting future neural observations from past ones. The paper compares DFINE with linear dynamical models and with sequential autoencoders, using the LFADS architecture, an RNN-based variational model, for the latter. It reports that, compared with earlier neural-network models, DFINE better predicts neural activity and behavior and better captures the latent neural manifold structure.
Key idea. DFINE separates jointly trained manifold and dynamic latent factors, so the manifold factors carry the nonlinearity while dynamics stay linear and allow Kalman-filter inference.
- DFINE
- torchDFINE
- Dynamical Flexible Inference for Nonlinear Embeddings
- neural population activity
- latent factors
- neural dynamics
- Kalman filter
- brain-computer interface
- latent manifold
- flexible inference
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Abbaspourazad_2023, title={Dynamical flexible inference of nonlinear latent factors and structures in neural population activity}, volume={8}, ISSN={2157-846X}, url={http://dx.doi.org/10.1038/s41551-023-01106-1}, DOI={10.1038/s41551-023-01106-1}, number={1}, journal={Nature Biomedical Engineering}, publisher={Springer Science and Business Media LLC}, author={Abbaspourazad, Hamidreza and Erturk, Eray and Pesaran, Bijan and Shanechi, Maryam M.}, year={2023}, month=Dec, pages={85–108} }