NeuroAct: Advancing EEG Analysis and Decoding via Dual-Loop Autonomous Research
Organizations: Tongji University · Ant Group · Shanghai Jiao Tong University · Translational Research Center, Shanghai Yangzhi Rehabilitation Hospital (Shanghai Sunshine Rehabilitation Center), Tongji University
Abstract
EEG analysis and decoding underpin brain-computer interfaces, cognitive assessment, and sleep monitoring. Fixed pipelines and reward-driven search do not explicitly determine how signal structure, representations, predictor behavior, and training dynamics contribute to performance or generalization gaps, leaving intervention choice underdetermined. We introduce NeuroAct, an autonomous research agent framework for EEG analysis and decoding. NeuroAct implements dual-loop autonomous research across EEG foundation models, task-specific predictors, and model combinations. In an inner loop, research, development, and review roles use evidence on signal structure, representations, predictor behavior, and training dynamics to test hypotheses, select analyses or interventions, and refine candidates using performance, stability, and cost feedback. An outer loop distills outcomes into conditional, testable recommendations with task and model conditions, then validates and revises them on subsequent tasks.We evaluate four settings: (A) EEG General Analysis, (B) Cross-task Model Optimization, (C) Single-task Open Research, and (D) Collaborative Prediction. In Setting A, NeuroAct's 80.88 macro-average exceeds BrainAgent's 63.13 by 17.75 points. In Setting B, NeuroAct raises EEGPT's mean balanced accuracy (BA) by 7.34 points and HBN Pearson's (r) from 0.6894 to 0.7362; in Setting C, it improves ADFTD BA by 16.33 points; and in Setting D, it raises Workload BA from 79.69% to 85.02%. Experience reuse raises BCIC-IV-2a BA from 34.66% to 50.81% while reducing LLM tokens by 64.02%, indicating recommendations improve cross-task performance. NeuroAct enables evidence-guided EEG research improved by cross-task experience.
Figures & tables
| Scope / mechanism | CodeAct | BrainAgent | BrainPilot | NeuroWeaver | NeuroAct |
| Primary scope | General coding | Signal analysis | Brain research | Pipeline search | Analysis & decoding |
| Research actions | |||||
| Code generation & execution | ✓ | — | ✓ | ✓ | ✓ |
| EEG analysis workflows | — | ✓ | ✓ | ◐ | ✓ |
| Model editing & training | ✓ | — | ✓ | ✓ | ✓ |
| EEG-FM adaptation & fine-tuning | — | — | — | — | ✓ |
| Agent | Found. | Sleep | Neuro. | Phys. | Macro |
| CodeAct | 68.16 | 61.01 | 60.38 | 54.52 | 61.02 |
| BrainAgent | 67.38 | 67.97 | 67.21 | 49.98 | 63.13 |
| BrainPilot | 64.82 | 58.43 | 50.83 | 61.52 | 58.90 |
| NeuroAct | 87.26 | 75.36 | 68.73 | 92.16 | 80.88 |
| Workload | BCIC-IV-2a | ADFTD | ||||
| Ablation | BA | AUC | BA | AUC | BA | AUC |
| Full NeuroAct | 77.73 | 0.886 | 56.34 | 0.805 | 62.94 | 0.831 |
| w/o specialist personas | 77.11 | 0.853 | 51.65 | 0.778 | 61.29 | 0.723 |
| w/o EEG diagnostics | 72.63 | 0.752 | 52.17 | 0.798 | 41.80 | 0.579 |
| w/o code editing | 66.22 | 0.722 | 52.60 | 0.789 | 48.70 | 0.576 |
| w/o runtime skills | 70.60 | 0.783 | 52.60 | 0.788 | 48.95 | 0.633 |
| Study | Experience | BA | AUC | Tokens (M) | Min |
| PhysioMI BCIC-IV-2a | w/o | 34.66 | 0.592 | 29.21 | 236.7 |
| with | 50.81 | 0.775 | 10.51 | 165.3 | |
| CBraMod BENDR | w/o | 58.65 | 0.806 | 29.00 | 264.1 |
| with | 58.28 | 0.811 | 21.96 | 219.2 | |
| CBraMod BIOT | w/o | 47.92 | 0.730 | 10.78 | 209.7 |
| with | 50.26 | 0.749 | 9.45 | 163.4 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Target | Channels | Window (s) | Training | Validation | Test |
| HBN | Age regression | 129 | 2 | 121,740 | 28,620 | 19,740 |
| Workload | Binary classification | 19 | 4 | 1,537 | 300 | 297 |
| PhysioMI | 4-class classification | 64 | 4 | 6,210 | 1,734 | 1,893 |
| ADFTD | 3-class classification | 19 | 10 | 4,743 | 1,115 | 1,155 |
| HMC | 5-class classification | 4 | 30 | 91,681 | 22,804 | 22,440 |
| BCIC-IV-2a | 4-class classification | 22 | 4 | 2,784 | 1,152 | 1,152 |
| Capability | Principal input | Returned evidence or operation |
| Task and workspace context | Current task or selected candidate | Data/model specifications, research state, run summaries and selected detail |
| Literature and resources | Research query or named source | Retrieved papers or implementations, source content and compatibility information |
| EEG signal analysis | Recordings, event annotations and analysis configuration | Signal statistics and temporal, spectral or spatial structure, including event responses and connectivity |
| Model analysis | Candidate, run or prediction outputs | Input checks, optimization evidence, errors, perturbations and complementarity |
| Custom analysis | Developer-authored program and permitted inputs | Executed measurements with associated artifacts |
| Experiment execution | Implemented candidate and resource allowance | Training or prediction job, progress, outcomes and measured resource use |
| Skill | Trigger |
| Source investigation | An unfamiliar paper, model implementation or data source is encountered. |
| Dataset onboarding | The study introduces new data or unclear recording and label semantics. |
| Model onboarding | A model is unregistered, or its implementation needs revision. |
| EEG signal characterization | The study examines EEG properties or a signal-related bottleneck. |
| Sleep recording analysis | The question involves sleep stages or events in a sleep recording. |
| Event and behavioral analysis | The task links EEG responses to events or behavioral measurements. |
| Workload | BCIC-IV-2a | ADFTD | |||||||
| Ablation | BA | F1 | AUC | BA | F1 | AUC | BA | F1 | AUC |
| Full NeuroAct | 77.73 | 0.674 | 0.886 | 56.34 | 0.564 | 0.805 | 62.94 | 0.636 | 0.831 |
| w/o specialist personas | 77.11 | 0.694 | 0.853 | 51.65 | 0.504 | 0.778 | 61.29 | 0.600 | 0.723 |
| w/o EEG diagnostics | 72.63 | 0.649 | 0.752 | 52.17 | 0.513 | 0.798 | 41.80 | 0.415 | 0.579 |
| w/o code editing | 66.22 | 0.620 | 0.722 | 52.60 | 0.523 | 0.789 | 48.70 | 0.485 | 0.576 |
| w/o runtime skills | 70.60 | 0.622 | 0.783 | 52.60 | 0.512 | 0.788 | 48.95 | 0.469 | 0.633 |
| Dataset | Skills | BA | F1 | AUC | Tokens (M) | GPUh | Min |
| Workload | w/o | 70.60 | 0.622 | 0.783 | 25.38 | 0.159 | 140.3 |
| Workload | with | 74.68 | 0.689 | 0.803 | 10.10 | 0.174 | 70.10 |
| PhysioMI | w/o | 51.13 | 0.515 | 0.759 | 14.88 | 0.965 | 173.3 |
| PhysioMI | with | 62.18 | 0.621 | 0.838 | 9.863 | 0.687 | 118.7 |
| ADFTD | w/o | 48.95 | 0.469 | 0.633 | 21.95 | 0.320 | 289.1 |
| ADFTD | with | 57.52 | 0.568 | 0.693 | 22.21 | 0.525 | 276.5 |
| Ablation | BA | F1 | AUC | Tokens (M) | GPUh | Min |
| Full NeuroAct | 56.34 | 0.564 | 0.805 | 35.11 | 0.671 | 299.1 |
| w/o specialist personas | 51.65 | 0.504 | 0.778 | 12.52 | 0.730 | 127.0 |
| w/o EEG diagnostics | 52.17 | 0.513 | 0.798 | 18.19 | 1.274 | 377.9 |
| w/o code editing | 52.60 | 0.523 | 0.789 | 19.85 | 1.413 | 386.3 |
| w/o runtime skills | 52.60 | 0.512 | 0.788 | 29.62 | 0.767 | 369.6 |
| w/o auxiliary metrics | 49.74 | 0.475 | 0.786 | 29.64 | 0.709 | 368.9 |
| Source | Target | Experience | BA | F1 | AUROC | Tokens (M) | Min |
| PhysioMI | BCIC-IV-2a | w/o | 34.66 | 0.278 | 0.592 | 29.21 | 236.7 |
| PhysioMI | BCIC-IV-2a | with | 50.81 | 0.495 | 0.775 | 10.51 | 165.3 |
| Experience | BA | F1 | AUC | Tokens (M) | GPUh | Min |
| Original advice | 62.36 | 0.625 | 0.840 | 13.90 | 1.096 | 149.8 |
| Revised advice | 63.13 | 0.632 | 0.847 | 15.43 | 0.850 | 139.1 |
| Experience | BA | F1 | AUC | Tokens (M) | GPUh | Min |
| w/o | 58.65 | 0.587 | 0.806 | 29.00 | 0.950 | 264.1 |
| with | 58.28 | 0.584 | 0.811 | 21.96 | 0.818 | 219.2 |
| Experience | BA | F1 | AUC | Tokens (M) | GPUh | Min |
| w/o | 47.92 | 0.459 | 0.730 | 10.78 | 1.679 | 209.7 |
| with | 50.26 | 0.504 | 0.749 | 9.45 | 1.243 | 163.4 |
| Dataset | BA (%) | Macro-F1 | AUROC | Tokens (M) | Min |
| Workload | |||||
| BCIC-IV-2a |
EEG Decoding
Electroencephalography (EEG) decoding maps brain-signal patterns to mental states, stimuli, speech, or intended actions.
See all 208 papers