NeuroMotion: Aligning EEG to Discrete Motion Primitives for Continuous Motion Decoding
Organizations: Tongji University · WorldMind · Universiti Tunku Abdul Rahman
Abstract
EEG-to-motion decoding remains challenging because noisy scalp EEG is difficult to map directly to continuous kinematics. We present NeuroMotion, a framework that aligns EEG representations to discrete motion primitives for continuous motion decoding across heterogeneous paradigms, including full-body free movement, lower-limb treadmill locomotion, and upper-limb freewill reaching and grasping. A VQ-based motion prior discretizes continuous motion into reusable primitives that serve as both alignment prototypes and intermediate prediction targets. Prototypical and supervised contrastive objectives align EEG embeddings to motion-derived prototypes and organize them according to primitive assignments. An E2M Transformer predicts motion-code sequences from the learned EEG representations, while a final geometric refinement stage improves continuous trajectory reconstruction through motion-level training. Under a last-session test protocol, NeuroMotion achieves the best mean reconstruction performance among the compared EEG decoding baselines across all three datasets, with the clearest gains on full-body motion in both reconstruction accuracy and distribution-level quality. Multi-subject ablations further support the contributions of EEG-to-primitive alignment, token prediction, and refinement. Code is available at https://github.com/Liuyi2351433/NeuroAction.
Figures & tables
| FBM ( ) | FR ( ) | TM ( ) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | PCC | RMSE | FID | DIV | PCC | RMSE | PCC | RMSE | |||
| GT | – | – | – | – | – | – | – | – | – | – | |
| LR [-1pt](124 / 0.74 / 2.9) | |||||||||||
| RR [-1pt](124 / 0.74 / 2.9) | |||||||||||
| UKF [-1pt](0.26 / 0.02 / 0.06) | |||||||||||
| MTRT [-1pt](17 / 17 / 17) | |||||||||||
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | PCC | RMSE | ||
|---|---|---|---|---|
| FBM | 12 | |||
| FBM | 16 | |||
| FBM | 32 | |||
| FBM | 64 | |||
| FBM | 128 | |||
| TM | 12 |
| Dataset | Size | Params (M) | ||||||
|---|---|---|---|---|---|---|---|---|
| FBM | Large | 512 | 512 | 6 | 16 | 8 | 8 | 89.804 |
| Middle | 512 | 256 | 5 | 12 | 8 | 8 | 45.384 | |
| Small | 512 | 256 | 4 | 8 | 8 | 4 | 39.073 | |
| Extra Small | 512 | 256 | 3 | 6 | 8 | 4 | 34.341 | |
| TM | Large | 256 | 256 | 6 | 16 | 8 | 8 | 22.458 |
| Middle | 256 | 256 | 5 | 12 | 8 | 8 | 18.510 |
| Model Size | FBM ( S10 ) | TM ( S07 ) | FR ( S05 ) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| PCC | RMSE | PCC | RMSE | PCC | RMSE | ||||
| Large | 0.878 | 0.749 | 0.451 | 0.803 | 0.323 | 0.305 | 0.778 | 0.562 | 0.182 |
| Middle | 0.864 | 0.722 | 0.467 | 0.787 | 0.288 | 0.312 | 0.769 | 0.554 | 0.184 |
| Small | 0.861 | 0.726 | 0.469 | 0.797 | 0.282 | 0.309 | 0.770 | 0.550 | 0.186 |
| Extra Small | 0.856 | 0.714 | 0.469 | 0.791 | 0.283 | 0.311 | 0.766 | 0.545 | 0.187 |
| Dataset | PCC | RMSE | ||
|---|---|---|---|---|
| FBM | 20 | |||
| FBM | 10 | |||
| FBM | 5 | |||
| TM | 20 | |||
| TM | 10 | |||
| TM | 5 |
| Dataset | PCC | RMSE | ||
|---|---|---|---|---|
| FBM | 0.2 | |||
| FBM | 1 | |||
| FBM | 5 | |||
| TM | 0.2 | |||
| TM | 1 | |||
| TM | 5 |
| Dataset | Codebook | PCC | RMSE | |
|---|---|---|---|---|
| FBM | Frozen | |||
| FBM | Trainable | |||
| TM | Frozen | |||
| TM | Trainable | |||
| FR | Frozen | |||
| FR | Trainable |
| Supervised dimensions | PCC | RMSE | FID | |
|---|---|---|---|---|
| 30-D (default) | ||||
| 263-D |
| Original EEG | Processed EEG | ||||||
|---|---|---|---|---|---|---|---|
| Dataset | Method | PCC | RMSE | PCC | RMSE | ||
| FBM | NeuroMotion | ||||||
| NeuroDyGait | |||||||
| LR | |||||||
| FR | NeuroMotion | ||||||
| NeuroDyGait | |||||||
| (a) PCC | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | s02 | s03 | s04 | s05 | s06 | s07 | s08 | s09 | s10 |
| LR | |||||||||
| RR | |||||||||
| UKF | |||||||||
| DCN | |||||||||
| EC | |||||||||
| Method | s02 | s03 | s04 | s05 | s06 | s07 | s08 | s09 | s10 |
|---|---|---|---|---|---|---|---|---|---|
| LR | |||||||||
| RR | |||||||||
| UKF | |||||||||
| DCN | |||||||||
| EC | |||||||||
| ContraWR |
| Method | s05 | s07 | s13 | s15 | s22 |
|---|---|---|---|---|---|
| LR | |||||
| RR | |||||
| UKF | |||||
| DCN | |||||
| EC | |||||
| ContraWR |
| Method | s01 | s02 | s05 | s06 | s07 | s08 |
|---|---|---|---|---|---|---|
| LR | ||||||
| RR | ||||||
| UKF | ||||||
| DCN | ||||||
| EC | ||||||
| ContraWR |
| Dataset | Params (M) | CKPT (MiB) | MACs (G) | Peak (MiB) |
|---|---|---|---|---|
| FBM | ||||
| TM | ||||
| FR |
| Dataset | Model mean/P95 (ms) | Post-window mean/P95 (ms) | Windows/s |
|---|---|---|---|
| FBM | |||
| TM | |||
| FR |
| Component | Architecture |
|---|---|
| Input reshape | (0): Unsqueeze channel dimension |
| Temporal patch embedding | (1): Conv2d |
| Channel fusion | (2): Conv2d |
| Symbol | Meaning | Shape/domain |
|---|---|---|
| EEG encoder output | ||
| Adapted EEG tokens | ||
| Batched target slots | ||
| E2M hidden states | ||
| Motion-token logits | ||
| Motion codebook |
| Component | Architecture |
|---|---|
| EEG conditioning projection | (0): Linear |
| Input: , Output: | |
| Learnable target slots | (1): Unified learnable token embeddings |
| The target slots are used across all subjects and expanded to . | |
| Concatenation | (2): Concatenate projected EEG tokens and target slots along the token dimension: |
EEG Decoding
Electroencephalography (EEG) decoding maps brain-signal patterns to mental states, stimuli, speech, or intended actions.
See all 237 papers