Flexible Sensorimotor Computations through Rapid Reconfiguration of Cortical Dynamics

Evan D. Remington, Devika Narain, Eghbal A. Hosseini, Mehrdad Jazayeri

Abstract

Sensorimotor computations can be flexibly adjusted according to internal states and contextual inputs. The mechanisms supporting this flexibility are not understood. Here, we tested the utility of a dynamical system perspective to approach this problem. In a dynamical system whose state is determined by interactions among neurons, computations can be rapidly and flexibly reconfigured by controlling the system‘s inputs and initial conditions. To investigate whether the brain employs such control strategies, we recorded from the dorsomedial frontal cortex (DMFC) of monkeys trained to measure time intervals and subsequently produce timed motor responses according to multiple context-specific stimulus-response rules. Analysis of the geometry of neural states revealed a control mechanism that relied on the system‘s inputs and initial conditions. A tonic input specified by the behavioral context adjusted firing rates throughout each trial, while the dynamics in the measurement epoch allowed the system to establish initial conditions for the ensuing production epoch. This initial condition in turn set the speed of neural dynamics in the production epoch allowing the animal to aim for the target interval. These results provide evidence that the language of dynamical systems can be used to parsimoniously link brain activity to sensorimotor computations.

Introduction

A fundamental mystery in neuroscience is how the brain maintains behavioral flexibility. We can perform the same basic action—like catching a ball—under vastly different rules or contexts. From a dynamical systems perspective, neural activity is viewed as a trajectory moving through a high-dimensional state space. To change a computation, the system has three primary "dials": modifying internal connections (a slow process involving learning), adjusting initial conditions, or applying external inputs to push the trajectory. This study investigates which of these mechanisms the brain employs to adjust sensorimotor timing on the fly.

Experimental Paradigm

Researchers trained Macaque monkeys on a "Ready, Set, Go" (RSG) task. The monkeys were required to measure a sample interval ($t_s$) between two flashes ("Ready" and "Set") and then produce a corresponding interval ($t_p$) by making a saccade after a "Go" signal. Crucially, the task involved two behavioral contexts: a gain ($g$) of 1.0, where the produced interval should match the sample, and a gain of 1.5, where the produced interval should be 50% longer.

The experimental paradigm: Monkeys performed a Ready-Set-Go task with two gain contexts (g=1 and g=1.5).

To understand the underlying neural mechanisms, the team recorded extracellular activity from 326 units in the Dorsomedial Frontal Cortex (DMFC), an area critical for timing and action selection. They also employed a novel analytical framework called KiNeT (Kinematic analysis of Neural Trajectories) to measure the relative speed and geometric position of neural trajectories in state space.

Results: The Geometry of Flexibility

The study revealed that the brain uses a combination of spatial shifts and speed control to manage different rules and intervals.

Time as Speed

Within a single behavioral context, the brain controls timing by adjusting the speed of neural dynamics. To produce a longer interval, the neural trajectory simply moves more slowly toward a "threshold" state. Trial-by-trial variability in performance was linked to small fluctuations in the starting state (initial condition) at the moment of the "Set" signal, which predicted whether the response would be slightly longer or shorter than intended.

Context as a Spatial Shift

When the rule changes (e.g., from gain 1.0 to 1.5), the brain does not simply slow down the existing trajectory. Instead, a persistent (tonic) input shifts the entire set of possible trajectories to a different region of the state space. This "gain axis" is orthogonal to the dimensions representing the passage of time, allowing the brain to represent the rule and the interval independently and avoid computational ambiguity.

Neural trajectories in state space: Firing rates and population trajectories reveal that context shifts activity along a 'gain axis' while timing is controlled by speed.

Validation through RNNs

The researchers trained Recurrent Neural Networks (RNNs) to perform the same task. They found that only models receiving tonic contextual inputs could replicate the geometric structures observed in the DMFC. RNNs that received only brief, transient "nudges" about the context failed to maintain the separated, isomorphic structures seen in the biological data.

Discussion

These findings suggest that the cortex achieves flexibility by rapidly reconfiguring its internal dynamics through external control. The measurement phase (Ready-Set) serves to establish the specific initial conditions needed for the production phase (Set-Go). While this study identifies the effect of a tonic input, the exact source of this signal—whether it originates in the thalamus, prefrontal cortex, or elsewhere—remains a subject for future research. Additionally, while synaptic couplings were assumed to be constant, the potential role of short-term synaptic plasticity in these rapid reconfigurations warrants further investigation.

Overall, this work demonstrates that the language of dynamical systems provides a powerful framework for linking neural activity to complex, flexible sensorimotor computations.

Summary updated

BibTeX
@inproceedings{remington2018flexible,
  author = {Evan D. Remington and Devika Narain and Eghbal A. Hosseini and Mehrdad Jazayeri},
  title = {{Flexible Sensorimotor Computations through Rapid Reconfiguration of Cortical Dynamics}},
  booktitle = {Neuron},
  year = {2018},
  doi = {10.1016/j.neuron.2018.05.020},
}
Figure