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 MaarXiv 2026 · arXiv

TL;DR

LBSNet is an ultra-lightweight neural network designed for EEG-based fatigue detection that uses learnable "spectral prototypes" to identify and weight relevant brain states across time. By explicitly linking local spectral patterns to temporal aggregation, it achieves state-of-the-art accuracy on major benchmarks while maintaining a tiny footprint of just 1,300 parameters.

What Problem Does This Paper Address?

Detecting driver fatigue via Electroencephalography (EEG) is a classic challenge in BCI (Brain-Computer Interface) research. Fatigue isn't characterized by a single change in one frequency band; rather, it manifests as complex shifts in the relative activity across multiple bands (delta, theta, alpha, beta, gamma) that fluctuate over time.

Existing deep learning models often struggle with two things:

  1. Linking "What" and "When": They may model multiple frequency bands and temporal variations, but they rarely explicitly use the specific spectral "look" of a moment to decide how much that moment should contribute to the final fatigue score.
  2. Computational Efficiency: Many high-performing models (like Transformers) are too computationally expensive for the low-power, real-time embedded systems required for in-vehicle fatigue monitoring.

Methods

LBSNet introduces a "prototype-based brain-state modeling" approach. The architecture consists of four main stages:

  1. Spatiotemporal Encoder: Multichannel EEG is decomposed into five canonical bands using a fixed filter bank. It then uses band-specific temporal convolutions followed by shared spatial projections. Sharing spatial kernels across bands significantly reduces the parameter count.
  2. Cross-Band Recalibration (CBR): This module computes global log-power for each band and uses a small MLP to learn weights that recalibrate the importance of each frequency band based on the overall signal context.
  3. State-Guided Temporal Aggregation: This is the core innovation. The signal is divided into short windows (0.5s). For each window, a "spectral descriptor" is calculated. The model maintains a set of learnable spectral prototypes—essentially templates of specific brain states. Each window is matched against these prototypes to determine its "state assignment."
  4. Prototype-Guided Weighting: These assignments, combined with learned prototype importance, generate temporal weights. Windows that match "fatigue-relevant" prototypes are given more weight during the final aggregation.
Fig. 1. Overview of LBSNet, where learnable spectral prototypes represent local relative spectral patterns and guide temporal aggregation.

Datasets

The authors evaluated LBSNet on two widely recognized EEG benchmarks:

  • SEED-VIG: A dataset containing EEG from 23 subjects during simulated driving, with fatigue levels annotated via PERCLOS (percentage of eye closure).
  • SADT (Sustained-Attention Driving Dataset): A dataset from 11 subjects where labels (alert vs. drowsy) are derived from reaction-time criteria.

Key Insights and Ideas

  • Prototypes as Interpretable States: The learned prototypes aren't just abstract vectors; they represent distinct spectral configurations. For example, one prototype (P1) might show high theta/alpha activity (often linked to drowsiness), while another (P2) shows higher beta/gamma activity (linked to alertness).
  • Efficiency is a Feature: By using domain-specific knowledge (like frequency bands) and shared spatial kernels, the model achieves high performance without needing millions of parameters. It proves that for EEG, "bigger" isn't always "better."
  • Dynamic Importance: The model doesn't just average the whole signal; it "attends" to specific moments where the brain state clearly indicates fatigue, effectively filtering out noise or irrelevant alert intervals.

Key Results

LBSNet sets a new bar for the accuracy-efficiency trade-off in fatigue detection:

  • Superior Accuracy: On the SADT dataset, LBSNet achieved 73.74% accuracy, outperforming the strongest baseline (MB-STFormer) by 2.68 percentage points.
  • Extreme Efficiency: LBSNet is remarkably small. As shown in Figure 2, it requires only 1.30K parameters and 2.89M MACs. Compared to MB-STFormer, it reduces the parameter count by 98.3% while improving accuracy.
Fig. 2. Comparison of model accuracy and computational efficiency on SADT. Each bubble corresponds to a model. The x-axis shows MACs (M) on a logarithmic scale, while the y-axis reports ACC (%). Bubble area reflects the logarithm of the number of trainable parameters, and the labels give the corresponding parameter counts.
  • Qualitative Validation: t-SNE visualizations (Figure 3) show that using learned temporal weights creates much clearer separation between "Alert" and "Fatigue" classes compared to random or uniform weighting.
Fig. 3. t-SNE visualization of representations produced by temporal aggregation on SADT. (a) Shuffled weights. (b) Learned weights.

Limitations and Future Work

  • Subject Variability: While LBSNet outperforms baselines in subject-independent tests, the overall accuracy (in the 60-70% range) highlights the ongoing challenge of cross-subject generalization in EEG research.
  • Fixed Windowing: The model uses fixed 0.5s windows. Future iterations might explore multi-scale temporal windows to capture both rapid micro-sleeps and longer-term fatigue trends.
  • Prototype Scaling: The number of prototypes ($R$) is currently a hyperparameter. Automating the discovery of the optimal number of brain states for a given task could be a promising direction.

Summary updated

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.
BibTeX
@misc{jia2026lbsnet,
  author = {Kun Jia and Zhenyu Cao and Hanlin Yu and Zeyuan Li and Yixuan Liu and Zhongye Xia and Sen Song and Zhiyuan Ma},
  title = {{LBSNet: Lightweight Brain State Modeling via Learnable Spectral Prototypes for EEG-Based Fatigue Detection}},
  year = {2026},
  eprint = {2611.11916},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11916},
}

Loading related content...

Figure