Representation learning for neural population activity with Neural Data Transformers

Joel Ye, Chethan Pandarinath
8/2/2021
q-bio.NCcs.LG
transformer-attention

Official code: snel-repo/neural-data-transformers (88 stars, Python, Unlicense, last commit 2022-02-25).

Abstract

Neural population activity is theorized to reflect an underlying dynamical structure. This structure can be accurately captured using state space models with explicit dynamics, such as those based on recurrent neural networks (RNNs).

Show full abstract

However, using recurrence to explicitly model dynamics necessitates sequential processing of data, slowing real-time applications such as brain-computer interfaces. Here we introduce the Neural Data Transformer (NDT), a non-recurrent alternative. We test the NDT's ability to capture autonomous dynamical systems by applying it to synthetic datasets with known dynamics and data from monkey motor cortex during a reaching task well-modeled by RNNs. The NDT models these datasets as well as state-of-the-art recurrent models. Further, its non-recurrence enables 3.9ms inference, well within the loop time of real-time applications and more than 6 times faster than recurrent baselines on the monkey reaching dataset. These results suggest that an explicit dynamics model is not necessary to model autonomous neural population dynamics. Code: https://github.com/snel-repo/neural-data-transformers

View on arXivView PDF

Code Implementations(1)

Unlicense
8822Python, Jupyter NotebookJan 13, 20214 years agoUnlicense

Similar Papers

Cite this paper

@article{ye2021representation,
  title  = {Representation learning for neural population activity with Neural Data Transformers},
  author = {Joel Ye and Chethan Pandarinath},
  year   = {2021},
  eprint = {2108.01210},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.01210}
}

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/2108.01210.svg)](https://codeofpaper.com/paper/2108.01210)

Discussion