Back

Beyond Ground Truth in K-Complex Detection: A Waveform-Based SVM Classifier and the Limits of Expert Agreement

Vazquez Chenlo, A. A.; Gonzalez, M. C.; Gorosito, L.; Forcato, C.; Ramele, R.

2026-06-01 bioengineering
10.64898/2026.05.28.728493 bioRxiv
Show abstract

ObjectiveK-complexes (KCs) are large-amplitude EEG events that represent N2 sleep stage and have been linked to sensory gating, sleep protection, and memory consolidation. Their detection remains limited by inter-rater variability in visual scoring and by the reliance of detectors on features that discard temporal information. We propose a two-stage detector that combines a rule-based candidate localization algorithm with a Support Vector Machine (SVM) classifier operating directly on the raw 2-seconds waveform, and we evaluate it against an adjudicated expert consensus of two different datasets. MethodsPolysomnographic recordings from 10 healthy adults (Dataset 1) were independently annotated by two human scorers; discordant events were adjudicated by a senior expert, yielding 240 consensus KCs. The automatic classifier was evaluated using subject-level 10-fold Group K-Fold cross-validation and compared directly against the two human scorers under identical conditions. Cross-dataset generalization was further assessed on the public DREAMS database (Dataset 2) under both external and internal training criteria. ResultsThe SVM classifier achieved the highest F1-score (79.4%) and accuracy (78.8%) among all scorers, with balanced recall (81.7%) and specificity (75.8%). Of the 58 false positives, 42 originated from events both experts had rejected yet displayed canonical KC morphology and received high classifier confidence (P(KC)>0.7 in 45.2% of cases). This pattern was replicated on Dataset 2. ConclusionA waveform-based classifier matches expert performance and systematically flags morphologically valid KCs that fall outside conventional visual-scoring criteria. SignificanceThese findings question the existence of an unambiguous ground truth for KC detection and support a data-driven redefinition of the event boundary, with implications for sleep staging and memory-consolidation research.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

1
SLEEP
28 papers in training set
Top 0.1%
18.9%
2
Annals of Clinical and Translational Neurology
29 papers in training set
Top 0.1%
12.7%
3
PLOS ONE
4510 papers in training set
Top 23%
7.3%
4
Scientific Reports
3102 papers in training set
Top 16%
6.5%
5
Sleep
26 papers in training set
Top 0.2%
3.6%
6
Computers in Biology and Medicine
120 papers in training set
Top 1%
2.5%
50% of probability mass above
7
Brain Stimulation
112 papers in training set
Top 0.7%
2.4%
8
Journal of Sleep Research
31 papers in training set
Top 0.2%
2.4%
9
Journal of Neural Engineering
197 papers in training set
Top 0.9%
2.1%
10
Human Brain Mapping
295 papers in training set
Top 2%
2.1%
11
Communications Biology
886 papers in training set
Top 5%
2.1%
12
npj Digital Medicine
97 papers in training set
Top 2%
2.1%
13
Journal of Neuroscience Research
25 papers in training set
Top 0.2%
1.5%
14
Frontiers in Neurology
91 papers in training set
Top 3%
1.5%
15
Sleep Medicine
18 papers in training set
Top 0.3%
1.5%
16
The Journal of Neuroscience
928 papers in training set
Top 6%
1.5%
17
iScience
1063 papers in training set
Top 19%
1.3%
18
PLOS Computational Biology
1633 papers in training set
Top 18%
1.3%
19
eneuro
389 papers in training set
Top 7%
1.2%
20
PLOS Biology
408 papers in training set
Top 13%
1.2%
21
eLife
5422 papers in training set
Top 49%
1.2%
22
NeuroImage
813 papers in training set
Top 5%
1.1%
23
Frontiers in Physiology
93 papers in training set
Top 4%
1.0%
24
Nature Communications
4913 papers in training set
Top 60%
0.9%
25
Neurobiology of Disease
134 papers in training set
Top 4%
0.8%
26
Proceedings of the National Academy of Sciences
2130 papers in training set
Top 43%
0.8%
27
Psychiatry Research
35 papers in training set
Top 1%
0.8%
28
Translational Psychiatry
219 papers in training set
Top 4%
0.8%
29
Clinical Neurophysiology
50 papers in training set
Top 0.6%
0.8%
30
Annals of Neurology
57 papers in training set
Top 2%
0.7%