Interactions of encoding and decoding problems to understand motor control

Shixian Wen, Allen Yin, Zheng Li, Laurent IttibioRxiv 2019

TL;DR

This paper introduces a novel deep learning model that learns the complex relationship between movement (kinematics) and neural activity (spike trains). By effectively capturing underlying neural dynamics, this model can generate realistic synthetic neural data, significantly improving the performance of Brain-Computer Interfaces (BCIs) in challenging cross-session and cross-subject scenarios, even with limited real neural data.

What Problem Does This Paper Address?

Understanding motor control hinges on two intertwined problems: the "encoding problem" (how the brain generates neural signals for movement) and the "decoding problem" (how to infer movement intentions from neural signals). Current Brain-Computer Interface (BCI) decoders often struggle with real-world scenarios like varying recording conditions across sessions or different individuals (cross-session and cross-subject). This is largely because they fail to capture the fundamental "neural dynamics" – the underlying patterns and interactions of neural activity. Existing methods often rely on strong mathematical assumptions or require vast amounts of data, limiting their generality and adaptability. This paper aims to bridge this gap by developing a principled, data-driven encoding model that can learn these neural dynamics and generate synthetic neural data to augment limited real data, thereby improving BCI performance in these challenging scenarios.

Methods

The core of this work is a generative encoding model based on a Constrained Conditional Long Short-Term Memory Generative Adversarial Network (cc-LSTM-GAN). This model directly learns a mapping from kinematics (e.g., position, velocity, acceleration) to neural spike trains.

Here's a breakdown of the key components:

  • Generative Adversarial Network (GAN): The model employs a GAN framework, consisting of a generator and a discriminator. The generator learns to produce synthetic spike trains, while the discriminator tries to distinguish between real and synthetic neural data. This adversarial process drives the generator to create increasingly realistic spike trains.
  • Long Short-Term Memory (LSTM): LSTMs are used within both the generator and discriminator. Their recurrent nature allows them to capture temporal dependencies in the neural data, which is crucial for modeling neural dynamics. A bidirectional LSTM is used to consider information from both past and future time steps, further enhancing the capture of temporal dynamics.
  • Conditional GAN: The model is "conditional," meaning it takes kinematics as an input alongside random noise to generate spike trains. This allows for the synthesis of spike trains corresponding to specific movements.
  • "Constrained" aspect: The model incorporates additional constraints to ensure the synthesized spike trains not only mimic the statistical properties of real neural data but also reflect the underlying neural dynamics (like position activity maps and velocity tuning curves) and maintain a biological structure. This is achieved through an "inner product loss" that encourages similarity between real and synthesized neural data representations.
  • Finetuning: For cross-session and cross-subject applications, the pre-trained encoding model is "finetuned" using a small amount of neural data from the target session or subject. This adapts the model's output layer to match the number of neurons in the new data, while preserving the learned neural dynamics.

Datasets

The study utilized neural and kinematic data recorded from two monkeys (Monkey C and Monkey M) performing reaching movements. Specific datasets mentioned include:

  • Monkey C, Session 1: 33.3 minutes of neural data with 69 neurons.
  • Monkey C, Session 2: 36.7 minutes of neural data with 77 neurons.
  • Monkey M, Session 1: 11.4 minutes of neural data with 60 neurons.

The data was parsed and binned with a 10ms time resolution. The paper also describes various data augmentation methods (Real-Only, Real-Concatenation, Mutation-Augmentation, Stretch-Augmentation, GAN-Augmentation) used for training BCI decoders, which effectively create synthetic training data from the real datasets.

Key Insights and Ideas

  • Neural Dynamics are Key: The paper strongly emphasizes that understanding and modeling "neural dynamics" (how neurons fire and interact over time) is critical for robust BCI performance, especially in challenging real-world scenarios.
  • Generative Models for BCI Augmentation: Synthesizing realistic neural data using generative models can effectively augment limited real neural data, leading to significant improvements in BCI decoding performance.
  • Cross-Session and Cross-Subject Transfer: The learned neural dynamics from one session or subject can be transferred to another, enabling effective decoding even when data is scarce or from a different individual. This is a major step towards more adaptable and personalized BCIs.
  • Data-Driven Approach: The cc-LSTM-GAN model is fully data-driven, avoiding strong prior assumptions about neural data distributions, which enhances its generality and applicability.
  • Motor Primitives as Building Blocks: The learned neural dynamics (position activity maps, velocity tuning curves) are interpreted as "motor primitives," suggesting the model autonomously learns fundamental building blocks of motor control.

Key Results

  • Realistic Neural Synthesis: The encoding model successfully learned realistic neural dynamics, producing synthesized spike trains with properties comparable to real neurons, including position activity maps, velocity neural tuning curves, and realistic firing rate histograms.
  • Improved Cross-Session Decoding: Using GAN-Augmentation (combining synthesized spike trains with limited real data) significantly improved cross-session decoding performance compared to training with real data alone or other augmentation methods. For example, with only 35.19 seconds of data, GAN-Augmentation achieved a 7.31% improvement in acceleration decoding compared to Real-Concatenation.
  • Improved Cross-Subject Decoding: The model also demonstrated improved cross-subject decoding. Even with ample data for both subjects, neural dynamics learned from one subject (Monkey C) transferred useful knowledge to improve the decoding performance of another subject (Monkey M), particularly for acceleration. For instance, GAN-Augmentation achieved a correlation coefficient of 0.6442 for acceleration y with 2.28 minutes of Monkey M data, outperforming the Real-Only method (0.4774) by 34.9%.
  • Data Efficiency: The GAN-Augmentation method showed superior performance when training data was limited, requiring less real data to achieve comparable or better decoding performance than other methods.

Limitations and Future Work

  • Generalization to Novel Kinematics: The paper notes that while the model can generalize to novel situations within the learned dynamics, it's not expected to generalize to entirely new types of kinematics without fine-tuning.
  • "Not Perfect in All Aspects": While synthesized spike trains are sufficient for practical use in decoders, they are acknowledged as not being "perfect in all aspects."
  • Future Work: The authors suggest that this general, data-driven approach could be applied to other neuroscience encoding and decoding problems beyond motor control without significant modifications. They also highlight the potential for this method to enable faster adaptation in BCIs.

Summary updated

Abstract

Abstract Learning a map from movement to neural data (Encoding Problem) and vice versa (Decoding Problem) are crucial to understanding motor control. A principled encoding model that understands underlying neural dynamics can help better solve the decoding problem. Here, we develop a new generative encoding model leveraging deep learning that autonomously captures neural dynamics. After training, the model can synthesize spike trains given any observed kinematics, under the guidance of the learned neural dynamics. When neural data from other sessions or subjects are limited, synthesized spike trains can improve cross-session and cross-subject decoding performance of a Brain Computer Interface decoder. For cross-subject, even with ample data for both subjects, neural dynamics learned from a previous subject can transfer useful knowledge that improves the best achievable decoding performance for the new subject. The approach is general and fully data-driven, and hence could apply to neuroscience encoding and decoding problems beyond motor control.
BibTeX
@misc{wen2019interactions,
  author = {Shixian Wen and Allen Yin and Zheng Li and Laurent Itti},
  title = {{Interactions of encoding and decoding problems to understand motor control}},
  year = {2019},
  doi = {10.1101/811356},
  howpublished = {bioRxiv},
}
Figure