How does motor cortex encode corrective movements when inputs are hard to identify?

Model ensembles let LFADS infer motor cortex inputs, revealing similar encoding for initial and corrective reaches in two macaques.

Direct answer

In two of three macaques, inputs inferred into primary motor cortex (M1) were tuned similarly for visually instructed initial movements and for online corrections, suggesting a shared input code that M1's own dynamics had obscured. The paper's key caveat is identifiability: a third monkey's data were only marginally or not identifiable, so the shared-code result holds where model ensembles agree, not universally.

1sources cited

This article was generated with WisPaper-powered search and paper analysis.

Why inputs to M1 are hard to separate

M1 activity mixes two sources: patterns the cortex generates on its own, and signals arriving from elsewhere. Dynamical-systems accounts of reaching treat M1 as a transiently autonomous system whose rotational dynamics are set up by an initial state and triggered by a condition-invariant signal. That picture fits brief, largely open-loop reaches, but it leaves little room for the intermittent external signals a monkey needs when a target moves and the movement must be revised mid-flight.

The paper's problem is therefore an inference problem. If a population response could be explained either by intrinsic dynamics or by an external input, the data alone may not say which. The authors call this nonidentifiability: different models, or different hyperparameter settings, can fit the recorded firing rates indistinguishably while implying different input structures. Any claim about how M1 encodes corrective instructions depends on first showing that the inputs can be recovered at all.

LFADS splits intrinsic dynamics from inferred inputs

The authors modelled spiking data with Latent Factor Analysis via Dynamical Systems (LFADS), a recurrent-network autoencoder. For each trial it estimates an initial state, runs a learned dynamical system (the generator) forward to produce low-dimensional factors, and maps those factors back to spike counts through a generalized linear model. A side controller adds a time-varying input stream whenever the autonomous generator cannot reconstruct the data, so an inferred input marks a moment when population activity is not parsimoniously explained by the cortex's own dynamics.

The data came from Utah arrays in M1 of three male macaques performing a Random Target Pursuit task, with movement constrained to the horizontal plane by a two-link exoskeleton. A new target appeared as soon as the previous one was contacted, and monkeys were not required to stop or hold, so they produced continuous looping trajectories that demanded frequent online revision. That design is what makes corrective inputs observable in the first place.

Inputs earn their place by improving decoding

Because LFADS is trained on neural data alone, without behaviour, agreement with behaviour is an external check on the fit. Including external inputs improved decoding of movement kinematics relative to models without inputs: r² = 0.75 ± 0.08 with inputs versus 0.39 ± 0.08 without, reported as mean ± s.d. across monkeys. Decoding from LFADS-denoised single-trial rates also beat decoding from the raw firing rates (r² = 0.46), indicating that the model recovered usable single-trial trajectories rather than only average structure.

The inferred inputs themselves were sparse: high Gini coefficients indicated that activity was concentrated in time, and sparsity peaked near the input-penalty values that gave the best kinematic decoding. The authors therefore focused on the large, brief excursions rather than the low baseline. This matters for interpretation, since a sparse transient is a different object from a sustained drive, and the penalty used to obtain it shapes what the model reports.

Input timing locks to the target, not the reach

Averaged across target presentations, inferred input magnitude peaked about 50 ms after the target appeared, in all three monkeys. The peak coincided with previously reported latencies from a visual movement cue to the start of M1 activity changes. When the authors raised the threshold for counting an input, the peaks became sharper around that 50 ms mark, meaning the largest transients were also the most consistently timed.

The decisive comparison was between two lockings of the same transient: latency to target presentation versus latency to movement initiation. Latencies relative to target presentation had both smaller variance and a smaller width at half-height than latencies relative to the initial movement (p < 0.001 for both, permutation test). The authors read this as evidence that the transients relate to visual input, and that variable reaction times are not explained by variability in input timing but may arise from how those inputs interact with the current state of M1's dynamical system. That is an interpretation of the timing pattern, not a direct measurement of the interaction.

Inputs carry target direction in hand-centred coordinates

To test whether the transients were meaningful, the authors binned targets by the direction from hand to target and averaged inputs for each bin, producing tuning-like curves. Decoding target position from inputs worked well only in a narrow window: performance fell sharply once the decoding window started more than 50 ms after target presentation. Firing rates, by contrast, predicted target position stably across the whole trial. The authors' explanation is that inputs briefly encode the movement but persistently alter the system's state, so the encoding is sustained downstream in M1 activity.

The inputs also carried a coordinate frame. A nonlinear decoder predicting target position performed better with the hand as origin than with the shoulder: r² = 0.70 versus 0.53 for monkey RS, 0.63 versus 0.39 for MK, and 0.46 versus 0.21 for RJ (p < 0.001 for each monkey, corrected t test), with similar results in a second session per monkey. The authors compare this to hand-centred representations upstream of M1 in the fronto-parietal reach network, while cautioning that a binary hand-versus-shoulder comparison is a coarse description of reference frames.

Initial and corrective movements share an input code

Inferred inputs appeared not only after target presentation but also around corrective submovements, identified from local minima in hand speed. Averaging inputs in a window from 350 to 50 ms before movement onset produced tuning curves for both initial movements and corrections. The two representations were highly similar: overall correlation 0.89 (95% CI [0.83, 0.93]), with per-monkey values of 0.93 for RS, 0.97 for MK, and 0.82 for RJ.

This is the paper's central encoding result. The authors note it would be surprising if the inputs were accurate, because firing rates are tuned somewhat differently for delayed and non-delayed movements and vary across the trial. They offer two readings. If the inputs are preparatory signals that steer M1 toward a new state, the similarity fits prior work on conserved preparatory activity. Alternatively, the rest of the brain may not need to distinguish instructions from corrections, with observed differences arising from inputs meeting a system already in a different state. The paper also reports that inputs were absent around maximum speed, which it says does not support a previous supposition about the timing of an initial impulse correction.

Model ensembles decide when inputs can be trusted

The identifiability problem is addressed with simulations where ground truth is known. LFADS recovered single-trial trajectories accurately and reliably, but its separation of dynamics from inputs was identifiable in some simulated cases and not in others. Ensembles of models with varied hyperparameters served as the diagnostic: when ensemble members agreed, the inputs were identifiable; when they disagreed, the fit was inconclusive. Networks with transient inputs gave better ensemble consensus and better agreement with ground truth than networks with sustained inputs.

Applied to the monkeys, ensembles built from decorrelated-input, fast-decay, and slow-decay settings agreed consistently for two animals, supporting meaningful inference of input coding. For the third monkey, RJ, some ensemble results reached significance only at p < 0.05, indicating that those data were only marginally identifiable, and the initial-versus-corrective comparison was inconclusive. The authors could not determine the cause; they list lower trial counts, array placement, which neurons were sampled, input time constants, and RJ's substantially slower movements as possibilities, and stress that any such explanation remains speculative without ground-truth inputs.

What the shared code changes about M1's role

The practical priority is not simply that inputs exist, but that their tuning looks the same for instructions and corrections once intrinsic dynamics are removed. The authors argue this points to greater compartmentalization of motor function than assumed: M1 acts as a movement generator that incorporates movement context, while inputs convey goal information without complex modulation for current movement details. They also connect the result to control-theoretic views in which external inputs continuously stabilize and correct neural trajectories during preparation and execution.

The boundary is set by identifiability rather than by task design. The authors did not know the ideal hyperparameter values and could not explore the full space for computational cost, so robustness across other LFADS settings, including generator regularization, remains untested. Their internal checks were that input timing consistency, sparsity, presence before corrections, and decodability all peaked at similar hyperparameter values, and their external check was agreement with parietal cortex coding results for initial movements. The result to carry forward is conditional: where ensembles agree, inputs to M1 appear to encode initial and corrective reaches with one hand-centred code; where they do not, as in RJ, the same analysis yields no conclusion about encoding.

Sources used in this answer

1

Combatting nonidentifiability to infer motor cortex inputs yields similar encoding of initial and corrective movements

LFADS model ensembles inferred sparse M1 inputs locked to target appearance and tuned similarly for initial and corrective movements in two of three macaques, while a third monkey's data were only marginally identifiable.