arXiv:2609.35456cs.AISep 2026

Manuscript Offprint

arXiv:2609.35456

AutoBCI: Forecast-Guided Agentic Neural Architecture Discovery for EEG-Based Brain--Computer Interfaces

Muyun Jiang, Yi Ding, Wei Zhang, Jinbo Chen, Chenyu Liu, Zhenjie Yang, Yuxin Li, Jingyuan Chen, Yuhao Lu, Yong Li, Shuailei Zhang, Cuntai Guan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

EEG-based brain–computer interfaces support a broad range of applications, yet designing decoding architectures that perform well across diverse tasks remains challenging. We introduce AutoBCI, an agentic framework in which a Designer Agent and a Forecaster Agent support the discovery and selection of EEG decoding architectures across tasks. The Designer Agent performs Pool-Guided Architecture Discovery (PGAD), generating and refining architectures through training and validation across multiple EEG tasks, such as emotion recognition, motor imagery, and sleep staging. The Forecaster Agent performs Performance Estimation from Early Knowledge (PEEK), using architecture code, the training protocol, and early learning curves to predict full-budget validation performance and select promising candidates for continued training. Across 14 EEG datasets spanning motor imagery, emotion recognition, and sleep staging, we evaluate AutoBCI with six LLMs, including Opus 5.5 and GPT 5.6 Sol, and compare the architectures selected by the search procedure against ten baselines: six conventional EEG models and four foundation models. The architecture discovered by AutoBCI with Claude Opus 5.5 achieves 64.16% average test balanced accuracy (bAcc), compared with 63.87% for REVE, the strongest baseline on this metric. Using ten observed epochs, PEEK reduces mean absolute error in predicting average validation bAcc from 2.20 to 1.36 percentage points, a 38.1% reduction relative to the best-observed-score baseline.

1 Introduction

Electroencephalography (EEG) is a key modality for non-invasive brain–computer interfaces. EEG decoding spans tasks with different spatial coverage, temporal scales, and label spaces. For over a decade, researchers have encoded domain knowledge through selected frequency bands, temporal windows, and spatial filters, such as common spatial patterns for motor-imagery decoding (Schirrmeister et al., 2017). Deep learning learns features directly, but model structures still reflect human design: EEGNet uses compact spatiotemporal convolutions (Lawhern et al., 2018), TSception captures multiple temporal scales and spatial asymmetry (Ding et al., 2022), and DeepSleepNet models sleep-stage dependencies with convolutional and recurrent layers (Supratak et al., 2017). These advances demonstrate the value of EEG-specific architectural design, while selecting suitable structures across tasks remains a manual burden. This motivates automated discovery of architectures that perform well across different EEG tasks.

Agentic AI offers a way to reduce the manual effort involved in working across these settings. Existing systems demonstrate that agents can automate EEG analysis workflows. EEGAgent supports signal exploration, event detection, and report generation (Zhao et al., 2026); CogEEGAgent translates user questions into registered analyses with independent confirmation (Hou et al., 2026); and NS-Copilot coordinates specialized agents and pretrained models for neuroscience workflows (Liu et al., 2026). These capabilities improve access to analysis tools, but these systems focus on automating analysis rather than designing decoding architectures. Reducing the model-design burden requires extending this automation to the architectures themselves, using experimental feedback to guide structural changes.

Work on neural architecture search takes this further, showing that architecture design can be automated through search and feedback. CTNAS-EEG introduces a compatible search space and constrained search procedure across EEG tasks (Duan et al., 2023). NeuroWeaver evolves executable EEG pipelines using domain-informed initialization and performance, novelty, and efficiency objectives (Wang et al., 2026). More broadly, EvoPrompting evolves architecture code, while NADER uses collaborating agents to guide architectural modifications (Chen et al., 2023; Yang et al., 2025). However, success on separately optimized tasks does not establish the quality of a shared architecture. Our goal is to discover a single architecture that performs well across EEG tasks. We therefore train and validate each candidate separately for each task, then use the combined validation results to guide architecture selection and refinement. In this study, we evaluate this approach on three common EEG tasks: emotion recognition, motor imagery, and sleep staging. Evaluating each proposal across these tasks increases the training cost of discovery, making candidate screening an important part of the search.

To reduce this evaluation cost, prior work exploits the finding that partial training evidence can support early performance prediction. Learning-curve extrapolation identifies unpromising runs (Domhan et al., 2015), and performance predictors combine architecture features, hyperparameters, and partial validation trajectories (Baker et al., 2017). LLM-ENAS-PKB further uses language models as architecture-performance surrogates (Weilin et al., 2026). However, forecast accuracy alone does not establish reliable candidate selection. For screening to be useful, promising candidates must remain in the search. We therefore use architecture code and early learning curves to predict how well a candidate will perform after full training. These forecasts help identify promising candidates for continued training. We evaluate both prediction accuracy and whether the selected candidates retain the architectures that perform best after full training.

To address these challenges, we introduce AutoBCI, an agentic framework containing two agents: a Designer Agent that uses Pool-Guided Architecture Discovery (PGAD) to generate and refine EEG architectures, and a Forecaster Agent that uses Performance Estimation from Early Knowledge (PEEK) to predict candidate performance and guide continued training, as shown in Figure 1. First, PGAD automates architecture design through executable code generation and refinement. The agent proposes models and uses measured validation feedback to revise their structure, extending its role from analysis workflow execution to model design. Second, PGAD selects shared architectures using joint evidence across tasks. Each candidate is trained and validated independently on emotion recognition, motor imagery, and sleep staging. An equal-task validation objective ranks a persistent candidate pool, from which strong parents are refined alongside fresh proposals. Third, PEEK guides training allocation using early performance forecasts. It combines architecture code, the training protocol, and early learning curves to predict full-budget validation scores and rank candidates for continued training. These mechanisms connect model generation, cross-task evaluation, and candidate screening within one discovery framework.

Our contributions are threefold. First, we introduce AutoBCI and develop PGAD for agentic EEG architecture discovery, using a persistent candidate pool and cross-task validation feedback to guide code generation and refinement. Second, we develop PEEK to forecast full-budget performance from architecture code and early learning curves, enabling candidate screening before training is complete. Third, we evaluate six LLM-guided searches across 14 datasets and compare their champions with ten baselines. The searches produce 269 architectures trained on all three task families; the strongest champion achieves 64.16% average test bAcc, exceeding the strongest baseline by 0.29 percentage points. PEEK reduces forecast mean absolute error by 38.1% after ten epochs. Retaining three candidates per round preserves a full-budget winner in 91.7% of rounds, with an estimated 44.9% reduction in training epochs.

References (37)