← Paper Digest

Diffusion-based restoration and learning of motor cortical representations for continuous movement decoding

Jia Li, Bin Min, Zhouyu Ji, Kai Liu, Ke Qin, Junxian Li, Shurui Li, Zhengze Wang, Tianmeng He, Andrzej Cichocki, Chengyu Li, Tzyy-Ping Jung, Jing Jin

December 2026

TL;DR QTDD trains a trajectory-conditioned diffusion model to restore degraded intracortical recordings, then distills its features into an LSTM that decodes 2D cursor trajectories. On a year of recordings from one macaque it reaches 0.867 correlation, ahead of seven decoders including BRAID, NDT2 and POYO.

What they do

Chronic intracortical recordings drift: channels fail, gains change and noise grows over months. Discarding bad sessions loses data, while keeping all of them brings in abnormal activity. QTDD scores each session, uses a diffusion model to restore the recoverable ones, and transfers what that model learned into a lightweight trajectory decoder. The data come from one rhesus macaque moving a cursor with a joystick in an eight-direction center-out task: 63 sessions over about a year, from 512 channels of ultraflexible arrays in motor cortex.

How it works

  • Session scoring. A quality score combines firing-rate stability, PSTH repeatability and task relevance. A recoverability score asks whether direction tuning and decodable motor information remain. Of the 63 sessions, 13 fell below the recoverability threshold and were excluded.
  • Stage I, restoration. High-quality sessions are artificially degraded (dropout, gain drift, jitter, masking, noise). A diffusion model with seven residual TCN blocks learns to restore them, conditioned on a 24-dimensional trajectory description, with the two scores modulating every block.
  • Stage II, distillation. The diffusion model is frozen. Its hidden features are distilled into a student encoder at every 20 ms step, weighted more near the endpoint, and an LSTM decodes 2D cursor position. No diffusion runs at inference.

Results

  • Across 50 sessions, offline: correlation 0.8671, R² 0.7482, RMSE 9.23, endpoint RMSE 13.17. That beats BRAID, DPAD, NDT2, POYO, an LSTM, an RNN and a Wiener filter (p < 0.001 against each).
  • Against other diffusion models in Stage I (LDNS, CSDI, Diffusion-TS, SSSD), QTDD raises correlation by about 4.0% and cuts endpoint RMSE by about 13.9%.
  • Removing distillation drops correlation from 0.8671 to 0.7935, the largest ablation loss.
  • Restored activity keeps mean unit firing rates (r = 0.955) and population statistics (Jensen-Shannon divergence 0.018).

Limitations

All decoding is offline, from one animal in one center-out task; no closed-loop BCI control is tested. The recordings are not public, and 13 of 63 sessions are dropped as non-recoverable.

Figures

From Figure 1: (A) The macaque moves a cursor with a joystick to one of eight targets 45 degrees apart. (B, C) Trial ...
From Figure 1: (A) The macaque moves a cursor with a joystick to one of eight targets 45 degrees apart. (B, C) Trial completion times across the 63 sessions and per reach direction. (D) Cursor position, velocity and population spiking over one recorded segment. (E, F) In the synthetic simulator, latent states separate by reach direction and stay above a shuffled-label baseline after movement onset.
From Figure 7: In Stage I, a residual TCN diffusion model, conditioned on the trajectory and on the recording-quality...
From Figure 7: In Stage I, a residual TCN diffusion model, conditioned on the trajectory and on the recording-quality and recoverability scores, learns to restore artificially degraded neural activity. In Stage II the diffusion model is frozen, its hidden features are distilled into a student encoder, and a quality-modulated LSTM decodes the 2D trajectory.
From Figure 2: (A) QTDD against seven decoders over 50 sessions. (B) Pairwise significance tests on correlation. (C) ...
From Figure 2: (A) QTDD against seven decoders over 50 sessions. (B) Pairwise significance tests on correlation. (C) QTDD against other diffusion models used in Stage I. (D) Ablations: removing feature distillation hurts most. (E) t-SNE of learned features, by reach direction. (F, G) Position error by movement phase, and endpoint error by direction. Errors grow toward the endpoint, where QTDD stays lowest.
Abstract

For chronic intracortical neural recordings, accurate continuous movement trajectory decoding requires careful consideration of neural signal heterogeneity and the dynamical relationships between high-dimensional neural population activity and motor behaviour. Here we propose a two-stage trajectory-conditioned diffusion distillation framework for decoding movement trajectories from intracortical neural signals. Using 512-channel MERF ultraflexible microelectrode arrays, we collected neural spike data from the motor cortex of non-human primate rhesus macaque over a period of approximately one year. Through an eight-direction center-out reaching task, we found that partially degraded neural activity retains behaviour-related information available for motor decoding, and that trajectory-conditioned diffusion preserves population activity statistics, direction tuning of recorded neural units and direction-dependent population response patterns. Our offline evaluation demonstrated high trajectory-decoding correlations for the diffusion distillation framework, outperforming the other evaluated decoding models and diffusion methods. Trajectory-conditioned diffusion distillation exhibited particularly favourable decoding performance in challenging trajectory regions, such as movement endpoints. Experiments using a controlled neural simulation system showed that the diffusion distillation framework could recover behaviour-related neural structures and preserve more movement-related information. Our study highlights the potential of diffusion distillation to exploit high-dimensional neural-behavioural dynamics retained in degraded neural activity for improving motor decoding in intracortical brain-computer interfaces.

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.