arXiv:2611.11916cs.LGNov 2026

Manuscript Offprint

arXiv:2611.11916

LBSNet: Lightweight Brain State Modeling via Learnable Spectral Prototypes for EEG-Based Fatigue Detection

Kun Jia, Zhenyu Cao, Hanlin Yu, Zeyuan Li, Yixuan Liu, Zhongye Xia, Sen Song, Zhiyuan Ma

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

ABSTRACT

EEG-based fatigue detection requires modeling spectral information across bands and its temporal variation. Recent methods combine multi-band modeling with adaptive temporal processing, yet how spectral structure across bands should influence the contribution of each temporal interval remains insufficiently explored. We propose LBSNet, a lightweight network that uses prototype-based brain-state modeling to link local spectral structure with temporal aggregation. LBSNet extracts compact multi-band features through band-specific temporal convolution, shared spatial projections, and cross-band recalibration. Within each window, relative spectral activity is encoded as a normalized descriptor and softly matched to learnable spectral prototypes. Prototype assignments and learned prototype importance jointly determine temporal weights for power aggregation, allowing the spectral pattern of each window to guide its contribution to the prediction. Subject-independent experiments on SEED-VIG and SADT show that LBSNet outperforms seven baselines while maintaining low computational cost. Ablation and visualization analyses support prototype-guided temporal weighting, while the learned prototypes reveal a gradual redistribution of relative cross-band spectral states with increasing fatigue. The code is publicly available at https://github.com/zy0929/LBSNet.

Index Terms— EEG, fatigue detection, brain-state modeling, lightweight neural networks, prototype learning

1. INTRODUCTION

Driver fatigue impairs vigilance, sustained attention, and responsiveness, increasing the risk of driving errors and accidents [1, 2]. Electroencephalography (EEG) provides a noninvasive measure of brain activity and has been widely used for objective fatigue assessment [3, 4]. Prior studies have consistently linked fatigue and vigilance to changes in spectral activity across canonical EEG bands, and these spectral characteristics vary over the course of driving [5, 6]. EEG-based fatigue detection therefore requires modeling both fatigue-related spectral activity and its temporal variation.

Early EEG-based fatigue studies combined spectral features with temporal modeling, with Zheng and Lu [6] incorporating temporal dependencies into vigilance estimation using frequency-specific features. Subsequent convolutional approaches moved toward end-to-end learning. InterpretableCNN [7] learns fatigue-related features for cross-subject drowsiness recognition and reveals alpha spindles through interpretation analysis. Attention-based

methods further strengthened spectral-temporal modeling. SACC-CapsNet [8] emphasizes temporal components and channels, while TFormer [9] integrates temporal and frequency-domain patterns through cross-attention. Recent models combine frequency-specific modeling with adaptive temporal processing. Multi-band modeling and temporal weighting capture different aspects of fatigue-related EEG, but existing designs do not explicitly link the local spectral structure of an interval to its temporal contribution [10, 11]. Overall, EEG-based fatigue detection has progressed toward representation learning and adaptive modeling across frequency and time.

Multi-band modeling and temporal weighting capture different aspects of fatigue-related EEG, but they do not define how the spectral structure of an interval should influence its temporal contribution [10, 11]. This issue is important because fatigue has been characterized not only by changes within individual frequency bands, but also by relative band power and relationships among bands [12]. Accordingly, fatigue-related information within a local interval may be reflected in joint patterns of activity across frequency bands [13]. This raises the question of whether temporal aggregation can be guided by such local spectral patterns. Grouping similar local spectral patterns into shared states and learning their relevance to fatigue would provide a link between spectral structure and temporal weighting.

To this end, we propose LBSNet, a lightweight network for EEG-based fatigue detection. Its central idea is prototype-based brain-state modeling, which links local patterns of relative activity across frequency bands to temporal weighting. LBSNet first decomposes EEG into five canonical frequency bands, applies band-specific temporal convolution, and uses spatial projections shared across bands to obtain compact features. Cross-band recalibration then adjusts the relative contribution of the five bands based on global spectral activity. Within each temporal window, envelope-based band activity is transformed into a normalized relative spectral descriptor and softly matched to the learned prototypes. The resulting prototype assignments are combined with learned prototype importance to derive temporal weights, which are used to aggregate component-wise power into a compact representation for classification. The main contributions are summarized as follows:

  1. We introduce prototype-based brain-state modeling that represents local relative spectral patterns with shared learnable prototypes and combines prototype assignments with learned importance to guide temporal aggregation.
  2. We develop a lightweight architecture with shared spatial projections, low-dimensional state matching, and a compact classifier, achieving a favorable accuracy-efficiency trade-off with a small parameter budget and low computational cost.
  3. We validate LBSNet on SEED-VIG and SADT and show that the learned spectral states exhibit a gradual redistribution with increasing fatigue, providing empirical support for prototype-guided temporal weighting.

*Corresponding authors: Zhiyuan Ma (ma-zy25@mails.tsinghua.edu.cn) and Sen Song (songsen@tsinghua.edu.cn). This work was supported in part by the National Natural Science Foundation of China under Grants 2025ZD0215701, T2341003, and U2336214, in part by the Beijing Natural Science Foundation under Grant L257019, and in part by the Tsinghua IDG/McGovern "Brain+X" Seed Grant Doctoral and Postdoctoral Program.

Figure

Fig. 1. Overview of LBSNet, where learnable spectral prototypes represent local relative spectral patterns and guide temporal aggregation.

References (21)