Paper Overview
Field: Machine Learning Authors: Athanasios Papastathopoulos-Katsaros, Steven T. Lee, Lin Yao, Ajay Thomas, Junseok Park, Matthew J. McGinley, Zhandong Liu Published: 2026-07-24 arXiv: 2607.22508
Abstract
Electroencephalography (EEG) is widely used to diagnose neurological conditions, but its analysis usually relies on either predefined spectral features or deep neural networks. Predefined features carry a strong bias, since they fix in advance what counts as informative, while deep neural networks and foundation models are hard to interpret and need large amounts of data and compute.
We present bag-of-waves, an interpretable framework that learns a small dictionary of recurring EEG waveform templates, called *atoms*, using shift-invariant k-means without labels. The continuous EEG is then turned into a sequence of atom tokens, whose counts feed a simple downstream classifier or clustering step. We extend this representation in two ways: we add atom-to-atom transitions, which we call n-grams, to capture temporal structure, and we extend from single-channel atoms to regional and cross-channel spatial atoms in the multi-channel case.
Evaluation
The method is tested on three complementary datasets, each probing a different aspect:
- Low-data / temporal case: single-channel EEG genotype clustering in mice, using only sixteen animals
- Spatial case: resting-state dementia classification
- High-data benchmark: TUEV, a six-way classification of clinical EEG events, compared against strong deep learning and foundation-model baselines
- On all three datasets, bag-of-waves achieves performance comparable to state-of-the-art deep and foundation models.
- It runs with only a fraction of the parameters and provides full interpretability.
- Each atom corresponds to an inspectable waveform, so the method explicitly recovers known clinical morphologies that neurophysiologists can directly verify.
- Its main advantage is suitability for low-data regimes where heavy models are not appropriate.