BrainDistill: Implantable ECoG-based Motor Decoding with Task-Specific Knowledge Distillation

Yuhan Xie, Jinhan Liu, Xiaoyong Ni, Fei Tan, Icare Sakr, Thibault Collin, Shiqi Sun, Alejandro Rodriguez Guajardo, Demon Fanny, Charles-francois vincent latchoumane, Henri Lorach, Gregoire Courtine, Mahsa ShoaranSD4H @ ICML 2026

TL;DR

BrainDistill is a new pipeline that brings the power of massive neural foundation models to tiny, power-constrained brain implants. By using a novel "Task-Specific Knowledge Distillation" (TSKD) method and integer-only quantization, the researchers successfully compressed a 100-million-parameter model into a lightweight decoder that consumes just 47 µW—well within the safety limits for permanent implantation.

What Problem Does This Paper Address?

Brain-Computer Interfaces (BCIs) are evolving from laboratory curiosities into life-changing medical devices. Recently, "foundation models"—huge transformers pre-trained on massive neural datasets—have set new records for decoding movement intentions from brain signals (like ECoG).

However, there is a massive hardware gap. These models are far too large and power-hungry to run on an implantable System-on-Chip (SoC). Implants have a strict "thermal budget": if they dissipate more than about 0.4 mW/mm², they risk heating and damaging surrounding brain tissue. To make high-performance BCIs practical, we need a way to pack the intelligence of a giant model into a tiny, energy-efficient student model without losing accuracy.

Methods

The authors introduce three key innovations to bridge this gap:

  1. The Implantable Neural Decoder (IND): A lightweight transformer architecture designed specifically for ECoG signals. It uses Continuous Wavelet Transform (CWT) to turn raw brain waves into interpretable time-frequency "tokens" and employs linear attention to keep computational costs low.
  2. Task-Specific Knowledge Distillation (TSKD): Traditional distillation tries to make a small "student" model mimic a giant "teacher" model's entire internal state. TSKD argues this is a mistake when the student is much smaller. Instead, TSKD uses a supervised "projector" to identify and transfer only the features critical for the specific task (e.g., moving a hand). This bridges the "capacity gap" between the giant teacher and the tiny student.
  3. Integer-Only Quantization-Aware Training (QAT): To run on low-power hardware, the model must use 8-bit integers rather than 32-bit floats. The authors developed a QAT scheme with learnable clipping ranges, meaning the model learns exactly how to "round off" its numbers during training to minimize performance loss.

Datasets

The researchers evaluated BrainDistill on two human Electrocorticography (ECoG) datasets:

  • Human-C: A clinical dataset for multi-class upper-limb movement (rest, shoulder flexion, elbow extension, etc.).
  • Human-D: A dataset derived from the AJILE12 library, focused on detecting naturalistic arm movements in a "cross-subject" scenario (training on one group of people and testing on another).

Key Insights and Ideas

  • The "Less is More" Distillation: The most striking insight is that trying to preserve all of a teacher model's representations actually hurts a small student. By explicitly prioritizing task-relevant features through the TSKD framework, the student model achieved higher accuracy than when using standard distillation methods.
  • CWT as a Prior: Unlike generic convolutions, the Continuous Wavelet Transform provides explicit frequency information. This "domain knowledge" makes the features more interpretable and helps the lightweight IND model perform better with fewer parameters.
  • Thermal Feasibility: The paper connects high-level AI research with low-level physics. By testing on a prototype 65-nm chip, they proved that their quantized IND model consumes 85 times less power than the maximum safety limit for brain tissue.

Key Results

  • Superior Accuracy: The IND model (only 30k parameters) outperformed established decoders like EEGNet and ATCNet when trained from scratch.
  • Distillation Boost: When boosted by TSKD from a 100M-parameter teacher, the IND model saw significant gains, outperforming other state-of-the-art distillation techniques like SimKD and VkD.
  • Minimal Quantization Loss: Moving from full-precision (FP32) to 8-bit integer (W8A8) inference resulted in a performance drop of less than 3%.
  • Ultra-Low Power: The system-on-chip implementation consumed only 47 µW at a 10 Hz inference frequency, making it highly suitable for long-term implantation.

Limitations and Future Work

While the results are promising, the authors note a few areas for further exploration:

  • Recalibration Requirements: While TSKD works well with small amounts of data, the system still requires some "recalibration" data from the specific user to reach peak performance.
  • Modality Generalization: The current work focuses on ECoG. Future research could investigate if TSKD is equally effective for other neural recording types, such as intracortical spikes or EEG.
  • Long-term Stability: The study uses sessions recorded over several days; however, the long-term "drift" of neural signals over months or years remains a challenge for all BCI systems.

Summary updated

BibTeX
@inproceedings{xie2026braindistill,
  author = {Yuhan Xie and Jinhan Liu and Xiaoyong Ni and Fei Tan and Icare Sakr and Thibault Collin and Shiqi Sun and Alejandro Rodriguez Guajardo and Demon Fanny and Charles-francois vincent latchoumane and Henri Lorach and Gregoire Courtine and Mahsa Shoaran},
  title = {{BrainDistill: Implantable ECoG-based Motor Decoding with Task-Specific Knowledge Distillation}},
  booktitle = {SD4H @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=tH4sYpgpT9},
}
Figure