Few-Shot Cross-Day Neural Decoding of Attempted Handwriting

Yue Chen, Menghan Li, Tatsuo S. OkuboNeurIPS 2026

TL;DR

Brain-computer interfaces (BCIs) can translate imagined handwriting directly into text, but because neural signals naturally "drift" from day to day, users often face exhausting daily recalibration routines. By ditching a standard training shortcut that accidentally makes decoders fragile, and instead pairing a "tough-love" backbone model with a meta-learned adapter, researchers cut word error rates down to 7.41% using just three calibration sentences on a new day. It’s a clean, lightweight step toward plug-and-play neuroprosthetics that respect the user's time.

What Problem Does This Paper Address?

Intracortical BCIs—tiny electrode arrays implanted in the motor cortex—have achieved remarkable feats, like allowing paralyzed individuals to type by simply imagining handwriting. However, the brain and the electrodes aren't static. Microscopic shifts in tissue and neural tuning mean that the neural activity recorded for the letter "g" on Tuesday looks noticeably different two weeks later. This phenomenon is called neural drift.

Figure 1: a. Human handwriting iBCI task: neural activity is recorded while a participant attempts handwriting. A decoder maps neural signals to character sequences. b. Example neural features from three recording sessions illustrate cross-day changes in recorded activity. Because sentences are not repeated across days, this panel provides a qualitative view of variability rather than a matched- sentence comparison. c. FALCON H2 benchmark protocol [21]: the dataset contains 21 held-in sessions and 5 held-out sessions, with 3 calibration sentences released per held-out session. The timeline shows the days between recording sessions. Evaluation sets are kept private by the organizers and scored through EvalAI; the held-out private set is the primary benchmark target.

To handle drift across days without training a brand-new model from scratch every morning, engineers typically train a shared recurrent decoder alongside session-specific input layers—essentially giving each historical recording day its own custom "adapter" at the front door. That works great when you have plenty of calibration data for a new day. What happens in an extreme few-shot scenario, where a user only gives you three sentences before wanting to use the device? The authors show that this conventional setup breaks down: during training, those day-specific input layers act as a crutch, absorbing all the day-to-day noise so the shared decoder never learns to handle drift on its own. At deployment, trying to fit a brand-new input layer on just three sentences leads to a poorly estimated transform and garbled text.

Methods

Instead of jointly training day-specific adapters and a shared decoder, the authors propose a clean, two-stage decoupling:

  1. Stage 1: Train a Session-Agnostic Backbone. They pool all historical training days together and train a 5-layer bidirectional Gated Recurrent Unit (GRU) decoder without any session-specific input layers, using Connectionist Temporal Classification (CTC) loss (which learns from whole sentences without needing frame-by-frame character timestamps). Without day-specific layers to "explain away" the drift, the GRU is forced to find invariant, cross-day neural structure on its own.
  2. Stage 2: Meta-Learn a Tiny Input Aligner. Next, they freeze the GRU backbone completely and attach a compact, 2-layer nonlinear ReLU "aligner" in front of it. Rather than training this aligner normally, they use a first-order variant of Model-Agnostic Meta-Learning (MAML). Each historical day is treated as a separate task, explicitly optimizing the aligner’s starting weights so that just a few gradient steps (25 updates) on a handful of sentences will snap a new day's neural features into alignment.

At test time, only this tiny aligner (~0.15% of the model's parameters) is updated on the three calibration sentences. Standard 3-gram beam search and GPT-2 XL language model rescoring are kept fixed across all experiments to ensure a fair fight.

Datasets

The authors evaluate their approach on FALCON H2, part of the official Few-shot ALgorithms for COnsistent Neural decoding benchmark (no new datasets were introduced).

  • It features 192-channel intracortical recordings from a single participant with spinal cord injury attempting self-paced handwriting.
  • Training ("Held-in"): 21 sessions spanning 287 days.
  • Evaluation ("Held-out"): 5 chronologically later sessions spanning an additional 176 days, where each session provides only 3 labeled calibration sentences before testing on private evaluation data.

Key Insights and Ideas

  • Session-specific layers can be a training crutch: Removing session-specific input layers during multi-day training forces the shared decoder to internalize cross-day variability. Even zero-shot (zero calibration sentences!), this session-agnostic backbone easily beats the conventional model after the conventional model is fine-tuned on three sentences.
  • Learn to adapt, don't just adapt: Adding an adapter after freezing a strong backbone helps, and initializing that adapter via MAML outperforms standard pooled pretraining—proving that explicitly optimizing for rapid 3-sentence adaptation pays off.
  • A little nonlinearity goes a long way: Once the backbone is frozen, a 2-layer nonlinear ReLU aligner noticeably outperforms a simple linear aligner of similar parameter count, suggesting cross-day drift benefits from slight nonlinear remapping.
  • Language models aren't hiding a weak decoder: The exact same performance ranking holds before language-model rescoring, confirming the gains come genuinely from better neural decoding.

Key Results

Evaluated on the private FALCON H2 held-out test sessions (Word Error Rate, or WER, with language model decoding—lower is better):

  • Conventional baseline (jointly trained session-specific layers): 26.99% WER zero-shot, improving to 17.54% WER when fine-tuned on the 3 calibration sentences.
  • Stage 1 Only (Session-agnostic GRU, zero-shot): 12.10% WER—beating the fine-tuned baseline without using a single calibration label.
  • Stage 1 + Pooled-initialized Aligner (3 sentences): 9.16% WER.
  • Stage 1 + Stage 2 Meta-trained Aligner (3 sentences): 7.41% WER (and 47.38% raw WER before the language model, down from 63.35% on the zero-shot baseline).

For context, this beats the benchmark-provided zero-shot baseline (39% WER) and even edges out CORP (9% WER), a method that continuously adapts using pseudo-labels at test time.

Limitations and Future Work

  • Single participant & modality: FALCON H2 comes from one person performing attempted handwriting. Whether this two-stage recipe generalizes to speech BCIs, typing, or across multiple participants remains open.
  • Offline evaluation & 3-sentence ceiling: All tests were run offline, and because the benchmark only releases 3 calibration sentences per test day, the authors couldn't map out where performance saturates (e.g., at 5 or 10 sentences). Real-world, closed-loop multi-day testing is still needed.
  • Meta-training compute & uncertainty: While test-time adaptation is ultra-fast, MAML meta-training is computationally heavy—scaling to hundreds of sessions remains untested. Future work could also explore probabilistic meta-learning to quantify prediction uncertainty when calibration data is scarce.

Summary updated

Abstract

Intracortical brain-computer interfaces (iBCIs) can restore movement and communication, but neural drift can degrade performance across recording sessions and make frequent recalibration burdensome. Conventional approaches jointly train a shared decoder with session-specific input layers, but their effectiveness when only limited calibration data are available for a new session remains unclear. Here, we compare conventional joint training using session-specific input-layer parameters against a two-stage alternative. We evaluate their performance on FALCON H2, a few-shot neural decoding benchmark for attempted handwriting, with data from a single participant and three calibration sentences per held-out session. First, we train a gated recurrent unit (GRU) decoder directly on pooled sessions without session-specific layers. This substantially improves generalization to new sessions, reducing word error rate (WER) after language-model decoding from 26.99\% to 12.10\% without using calibration labels. We then freeze the backbone and use a variant of Model-Agnostic Meta-Learning (MAML) to optimize the initialization of a compact input aligner for rapid session adaptation. With three calibration sentences, this approach achieves 7.41\% WER. Although generalization to other participants and tasks remains to be evaluated in future work, these FALCON H2 findings show that separating backbone training from meta-learned adaptation can improve few-shot neural decoding. Code and model checkpoints are available at https://github.com/CIBR-Okubo-Lab/FALCON_H2.
BibTeX
@inproceedings{chen2026few,
  author = {Yue Chen and Menghan Li and Tatsuo S. Okubo},
  title = {{Few-Shot Cross-Day Neural Decoding of Attempted Handwriting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=q1LJcYNOB7},
}
Figure