An in-silico framework for modeling optimal control of neural systems

Bodo Rueckauer, Marcel van GervenFrontiers in Neuroscience 2023

Abstract: We expect that the proposed framework will enable rapid and flexible synthesis of control algorithms for neural prostheses that reduce the need for in-vivo testing. We further highlight implications for sparse placement of prosthetic sensor and actuator components.

Introduction

Brain-machine interfaces (BMIs) hold the potential to restore lost sensory or motor functions. However, designing the control laws for these devices is complex because real neural systems are large-scale, non-linear, and inherently noisy. Traditionally, researchers have relied on simplified linear models or moved directly to animal and human testing, which involves significant ethical and practical hurdles. This paper introduces a unified in-silico simulation framework—a "digital twin" approach—where complex, data-driven controllers can be trained and validated under various conditions of impairment before moving to in-vivo trials.

Methodology

The proposed framework defines the environment, the neural system (the "brain"), and the prosthesis as a single interconnected system of Stochastic Differential Equations (SDEs).

Basic interaction between environment and neural system modeled via SDEs.

Architectural Building Blocks

Recurrent Neural Networks (RNNs) are utilized as the primary architecture for both the simulated neural system and the prosthetic controller. Their stateful nature allows them to process temporal data and noisy observations effectively. To accommodate varying levels of system knowledge, the authors employ three training paradigms:

  1. Direct Optimization: End-to-end differentiable optimization of a standard control cost (LQR).
  2. Oracle-based Learning: Supervised learning where an RNN is taught by an analytically derived optimal controller.
  3. Reinforcement Learning (RL): Utilizing Proximal Policy Optimization (PPO) for scenarios with unknown dynamics or sparse rewards.

Benchmarks and Impairment Modeling

The framework was validated using two control benchmarks: particle stabilization (linear) and inverted pendulum pole balancing (non-linear). Impairment is simulated by adding noise to the synaptic weights of the neural system, representing sensory, motor, or association area degradation.

Results and Discussion

Implicit State Estimation and Restoration

A significant finding is that RNNs can learn to act as implicit Kalman filters, estimating underlying states (like velocity) from noisy, partial observations (like position). In both linear and non-linear tasks, the prosthetic RNN successfully restored performance to impaired systems.

The Secondary Controller Paradigm

The paper demonstrates a hierarchical approach where a primary neural system is first trained on a task, then "damaged," and finally augmented with a secondary prosthetic controller to restore function.

Comprehensive framework including the environment, impaired neural system, and prosthetic controller.

Optimal Sparsity and Hardware Design

Using control theory tools like controllability and observability Gramians, the authors predicted the minimum electrode count required for effective intervention. For particle stabilization, observing and stimulating only 10% of the neurons was sufficient to maintain performance, matching theoretical lower bounds.

Conclusion and Future Work

While the current framework uses relatively small state spaces, it provides a robust foundation for neural modeling. Future developments will focus on higher-dimensional tasks like visual navigation and increasing biological realism by incorporating spiking neuron models and anatomical constraints. The ultimate goal is to validate these simulated controllers against electrophysiological recordings from behaving animals.

Summary updated

BibTeX
@inproceedings{rueckauer2023silico,
  author = {Bodo Rueckauer and Marcel van Gerven},
  title = {{An in-silico framework for modeling optimal control of neural systems}},
  booktitle = {Frontiers in Neuroscience},
  year = {2023},
  doi = {10.3389/fnins.2023.1141884},
}
Figure