A language model can help filter unreliable training labels for EEG-based sleep-stage classification. In a study, this approach improved a classifier’s accuracy and Macro F1 on the Sleep-EDF Expanded dataset, without using the language model for predictions after training.
The researchers first trained TinySleepNet on the original data and used its confidence scores to identify low-confidence epochs. They sent those EEG segments, along with their spectral features and neighboring sequence context, to LLaMA 3.1. The language model judged each example as “reliable” or “suspicious” against AASM sleep-scoring guidelines. The team removed suspicious examples before retraining TinySleepNet.
In 20-fold cross-validation, the paper reports that overall accuracy rose from 81.8 to 84.6 percent, while Macro F1 increased from 75.6 to 77.4 percent. The gains were particularly notable for REM detection. For later use, TinySleepNet remains unchanged at 1.3 million parameters; the LLM is used only during training.
The results suggest that label checking may help in this experimental setup, but do not by themselves establish clinical suitability or transfer to other datasets. The original source describes the method and evaluation in detail: arXiv: LLM-Assisted Label Noise Correction for EEG-Based Sleep Stage Classification