cs.LGSep 29, 2026

NeurDuo-EEG: A Long-Sequence EEG Foundation Model with Persistent State and Explicit Memory

Authors: Yifan Wang, Haiping Liu, Yang Cui, Wenhao Cai, Shuhang Li, Xiaoyang Huang, Xianyang Liu, Jingyu Sun, +8 more

Organizations: University of Manchester · ETH Zürich · Shanghai Jiao Tong University · Anhui University · ELLIS Institute Finland · Aalto University · Institute of Automation, Chinese Academy of Sciences · University of Chinese Academy of Sciences

Abstract

Electroencephalography (EEG) is recorded continuously over hours, with relevant dynamics spanning timescales from milliseconds to hours. Most EEG foundation models nevertheless process fixed windows independently, limiting their ability to capture information encoded in long-timescale dynamics. State-space architectures enable persistent recurrent processing, but long-range information remains implicitly compressed in recurrent states. We present NeurDuo-EEG, a causal EEG foundation model with channel-resolved persistent memory. NeurDuo-EEG introduces multi-timescale memory management with learned consolidation and selective retrieval, enabling persistent modelling of continuous EEG with fixed-size state. It is pre-trained on 3,955 hours of EEG from 17 public datasets using multichannel autoregressive prediction of discrete spectral codes. Across three short-window and two long-sequence downstream tasks, NeurDuo-EEG achieves the best performance on four of five benchmarks, including all three short-window tasks and seizure detection, where AUC-PR improves from 0.2850.285 to 0.4710.471 over the strongest non-NeurDuo baseline. NeurDuo-EEG also remains competitive on sleep staging and supports efficient streaming inference, with nearly constant per-chunk latency as the available history grows to one hour. Notably, the Small variant achieves this with only 4.7M backbone parameters. These results demonstrate the value of persistent, multi-timescale modelling for both long-sequence and short-window EEG analysis. Our code is available at https://github.com/YifaNNW/NeurDuo-EEG.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CaMBRAIN: Real-time, Continuous EEG Inference with Causal State Space Models

    May 27, 2026Abhilash Durgam, Nyle Siddiqui, Jeffrey A. Chan-Santiago +3ElectroencephalographyState Space Models

  2. EEG-JEPA: Structured Latent Prediction for EEG Foundation Models

    Jul 31, 2026Jinhao Li, Zhiyuan Ma, Xueqiao Han +8Electroencephalography Foundation ModelsElectroencephalography

  3. S-CEReBrO: Breaking the Memory Barrier in Continuous EEG Monitoring

    Jul 30, 2026Glenn Anta Bucagu, Thorir Mar Ingolfsson, Yawei Li +1ElectroencephalographyReplay-Based Continual Learning