EEGAgentBench: Benchmarking LLM Agents on Short- and Long-Horizon EEG Analysis
Organizations: Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China · University of Chinese Academy of Sciences, Beijing, China
Abstract
Electroencephalography (EEG) analysis is evolving from short-segment classification toward long-horizon interpretation that demands iterative evidence accumulation, multi-step reasoning, and coordinated use of specialized signal-processing tools. Although large language models (LLMs) have recently shown promise as autonomous agents for EEG analysis, existing EEG agentic evaluations remain fragmented, covering limited tasks over narrow temporal horizons with inconsistent protocols, and providing no comprehensive assessment of agents' reasoning, tool-use, and workflow construction capabilities. To address this gap, we propose EEGAgentBench, a unified benchmark for systematically evaluating LLM agents on short- and long-horizon EEG analysis. EEGAgentBench spans six representative EEG applications ranging from knowledge question answering to sleep staging. It encompasses signal durations from 2 seconds to nearly 23 hours, with prediction targets ranging from class labels to event intervals and epoch-level sequences. This design supports unified evaluation across knowledge reasoning, short-horizon interpretation, long-horizon event detection, and sequential understanding. The benchmark further provides 10 deterministic EEG analysis tools that expose only task-relevant signal measurements. Agents must therefore select tools autonomously, accumulate evidence iteratively, and construct multi-step workflows. For evaluation, we benchmark 29 frontier LLMs from 15 model families. Results demonstrate that EEGAgentBench effectively distinguishes agent capabilities beyond model scale and inference cost, while revealing substantial limitations of current LLM agents in long-horizon EEG analysis, particularly in sustained evidence accumulation and multi-step reasoning.
Figures & tables
| Setting | Task | Data source | Signal scale | Output | Main metrics | |
| Knowledge | T1 EEG Knowledge QA | MedMCQA-EEG-strict | 38 | No signal | One label (A/B/C/D) | Accuracy |
| Short horizon | T2 Artifact Identification | EEGdenoiseNet | 300 | 2 s, 1 channel | One label (clean/ocular/muscle) | Accuracy, Macro-F1 |
| Short horizon | T3 Normal-vs-Epileptic | Bonn | 188 | 23.6 s, 1 channel | One label (normal/epileptic) | Accuracy, Macro-F1 |
| Short horizon | T4 Dementia Cohort | ds004504 | 69 | 5.1–21.5 min, 19 channels | One label (AD/FTD/HC) | Accuracy, Macro-F1 |
| Long horizon | T5 Seizure Detection | CHB-MIT | 280 | 12.4 min–4.0 h, 18–32 EEG channels | Event interval list | Dice-S, Event-F1 |
| Long horizon | T6 Sleep Staging | Sleep-EDFx | 197 | 5.7–23.0 h, 5–7 PSG channels | 30-s epoch label sequence | Macro-F1, Cohen’s kappa |
| Parameter | Value | Role |
| Minimum overlap | 0 s | A prediction matches a reference event if they overlap for any positive duration |
| Tolerance before start | 30 s | Extend each reference event 30 s before its start |
| Tolerance after end | 60 s | Extend each reference event 60 s after its end |
| Minimum gap between events | 90 s | Merge events whose gap is strictly shorter than 90 s |
| Maximum event duration | 300 s | Split events longer than 300 s into consecutive events |
| Time resolution | 10 Hz | Quantize interval boundaries to 0.1 s |
| Model | Family | Parameters | Context |
| Qwen3-1.7B | Qwen | 1.7B | 32K |
| Qwen3-4B | Qwen | 4B | 32K |
| Qwen3-8B | Qwen | 8B | 32K |
| ERNIE-4.5-21B-A3B | ERNIE | 21B-A3B | 128K |
| Qwen3.6-27B | Qwen | 27B | 256K |
| Qwen3.5-35B-A3B | Qwen | 35B-A3B | 256K |
| Model | Prompt tokens (M) | Completion tokens (M) | All tokens (M) |
| LongCat-2 | 589.8 | 8.9 | 598.7 |
| DeepSeek-V4-Pro | 405.3 | 4.5 | 409.8 |
| Claude-Opus-4.6 | 390.6 | 17.7 | 408.3 |
| GLM-5.2 | 381.4 | 26.2 | 407.6 |
| Grok-4.5 | 389.9 | 5.8 | 395.7 |
| Hy3 | 320.0 | 25.7 | 345.7 |
| Model | Input price | Output price |
| GPT-5.5 | 5.0 | 30.0 |
| GPT-5.6-sol | 5.0 | 30.0 |
| Claude-Opus-4.6 | 5.0 | 25.0 |
| GPT-5.4 | 2.5 | 15.0 |
| Qwen3.7-Max | 2.5 | 7.5 |
| Grok-4.5 | 2.0 | 6.0 |
LLM Agent Evaluation
Large language model agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently.
See all 1,217 papers