Interpretable EEG Microstate Discovery via Variational Deep Embedding: A Systematic Architecture Search with Multi-Quadrant Evaluation

Saheed Faremi, Andrea Visentin, Luca Longo · 2026

Read Interpretable EEG Microstate Discovery via Variational Deep Embedding: A Systematic Architecture Search with Multi-Quadrant Evaluation by Saheed Faremi, Andrea Visentin, Luca Longo (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-10947.txt.

Introduction

Saheed Faremi, Andrea Visentin, and Luca Longo hunt for clear models of EEG microstates, the brief, stable scalp patterns in brain electrical activity. Standard grouping works straight on electrode data with hard labels. It gives no hidden space to learn and no way to turn groups back into scalp maps that can be checked.

Their model learns to rebuild scalp maps and to group brain states softly at the same time. Each group center turns back into a scalp map that can be checked. A sign-flip fix plus a grid search over group count, hidden size, depth, and width shows how each choice shapes quality, stability, and clarity. Tested on resting brain data from ten people, the search gives brain researchers a clear recipe for finding microstates.

Catalog record

CREATORSaheed Faremi, Andrea Visentin, Luca Longo
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE24122
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.10947

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Interpretable EEG Microstate Discovery via Variational Deep Embedding: A Systematic Architecture Search with Multi-Quadrant Evaluation Saheed Faremi, Andrea Visentin, Luca Longo Abstract EEG microstate analysis segments continuous brain electrical activity into brief, quasi-stable topographic configurations that reflect discrete functional brain states. Conventional approaches such as Modified K-Means operate directly in electrode space with hard assignment, offering no learned latent representation, no generative decoder, and no mechanism to decode latent configurations into verifiable scalp topographies, limiting both model transparency and interpretability. To address this, we present a Convolutional Variational Deep Embedding (Conv-VaDE) model that jointly learns topographic reconstruction and probabilistic soft clustering in a shared latent space. Conv-VaDE enables generative decoding of cluster prototypes into verifiable scalp topographies, replacing opaque hard partitioning with probabilistic soft assignment. A polarity invariance scheme and a four-dimensional grid search over cluster count ( K ∈ [ 3 , 20 ] K\in[3,\,20] ), latent dimensionality, network depth, and channel width are conducted to systematically reveal how each architectural design choice shapes the quality, stability, and interpretability of learned EEG microstate representations. The model is evaluated on the LEMON resting-state eyes-closed EEG dataset with ten participants using topographic template formation, clustering stability, and global explained variance (GEV). The architecture search reveals that depth L = 4 L\!=\!4 appears consistently across all 18 best-performing configurations, yielding a best-case GEV of 0.730 and a silhouette of 0.229 at K = 4 K\!=\!4 across the model sweeps, where moderately deep networks with compact channel widths and small latent dimensionality dominate across the full K K range. These results establish that principled architecture search, rather than model scale, is the key to interpretable and stable EEG microstate discovery via variational deep embedding. Keywords EEG microstates \cdot Variational autoencoder \cdot Gaussian mixture model \cdot Polarity invariance \cdot Hyperparameter sweep \cdot Clustering validation \cdot Mechanistic Interpretability 1 Introduction EEG microstates are brief, quasi-stable spatial distributions of scalp electric potential, typically lasting 60–120 ms, that partition continuous brain activity into a sequence of discrete functional states 16 ; 13 . Lehmann and colleagues established that microstate temporal statistics, including mean duration, occurrence rate, transition probabilities, and fractional coverage, are sensitive biomarkers, with subsequent work linking them to cognitive processing and neuropsychiatric conditions such as schizophrenia and depression 3 ; 17 ; 13 . Modified K-Means (ModKMeans), the predominant clustering algorithm for microstate analysis, assigns each time point to the nearest microstate class based on spatial correlation, treating opposite-sign maps as equivalent. This hard assignment discards information about transitional or ambiguous regions where the scalp topography may genuinely reflect a mixture of two or more underlying microstates. Furthermore, the convention of fixing K\!=\!4 microstates, while grounded in early group-level findings, may not capture the full complexity of individual brain dynamics; the optimal cluster count is known to vary across datasets, recording conditions, and clinical populations 16 . Critically, ModKMeans operates directly in electrode space with no learned representation and no decoder, offering no mechanism to reconstruct or verify the cluster centres it discovers as scalp topographies. Recent deep learning architectures applied to EEG microstates 25 ; 21 ; 22 address some of these shortcomings by learning nonlinear mappings that enable reconstruction of cluster centres as scalp topographies. However, these approaches either rely on post-hoc clustering of a frozen latent space or frame microstates as supervised classification, and the challenge of determining the optimal number of microstates remains unresolved. This gap motivates a generative approach that couples a learned decoder with a probabilistic clustering mechanism capturing assignment uncertainty. Variational Deep Embedding (VaDE) 9 combines a variational autoencoder with a Gaussian mixture model prior to jointly learn structured representations and probabilistic cluster assignments. The present study extends VaDE to EEG microstate analysis through a Convolutional Variational Deep Embedding (Conv-VaDE) model and investigates how cluster count, latent dimensionality, network depth, and channel width affect the quality, stability, and interpretability of learned microstate templates in a systematic four-dimensional grid search. 2 Related Work Conventional microstate analysis. Microstate analysis was formalised by Lehmann et al. 13 and systematised by Michel and Koenig 16 , who established the pipeline of bandpass filtering, Global Field Power (GFP) peak extraction, spatial clustering, and temporal label assignment that underpins contemporary microstate research. Four canonical classes (usually referred to as A–D) were identified through large-scale normative studies 11 ; 12 and remain the standard reference. Modified K-Means and Atomize and Agglomerate Hierarchical Clustering are the predominant clustering algorithms 18 , both operating in electrode space with hard assignments, whereby each time point is assigned to exactly one microstate. These methods achieve polarity invariance through their distance metric, typically the absolute spatial correlation, rather than through the representation itself; a scalp topography and its sign-inverted counterpart are treated as representing the same microstate during assignment, meaning the algorithm handles polarity implicitly without explicitly encoding this invariance into the model. Clustering quality is conventionally assessed via Global Explained Variance (GEV), which measures how well the assigned microstate templates account for the observed scalp topography 16 . The standard analysis pipeline applies Modified K-Means (ModKMeans), which fits prototype scalp voltage distributions by clustering multichannel EEG voltage vectors sampled at GFP peaks, where spatial configurations are most stable. The resulting microstate templates are then projected back onto the full continuous EEG recording, assigning every time point to its most correlated microstate map, thereby capturing the temporal extent of each microstate beyond the isolated GFP peak. While four canonical microstate classes are widely reported in the literature, this number reflects an empirical convention rather than a constraint of the algorithm itself 18 ; 23 . Deep learning for EEG microstates. Deep learning architectures have been explored across multiple aspects of EEG microstate research. Thukral et al. 22 trained a convolutional autoencoder on EEG topographic maps and clustered the latent space with ModKMeans, improving silhouette and Davies-Bouldin scores over direct electrode-space clustering. Zhao et al. 25 framed microstate identification as supervised sequence-to-sequence classification, achieving 74.26% accuracy. Sikka et al. 21 developed an LSTM-based autoencoder to capture complex temporal dependencies in EEG data, using the learned representations to model microstate transitions across the continuous recording. These approaches rely on post-hoc clustering procedures applied outside the network, and without a generative decoder, the internal representations cannot be reconstructed, leaving the discovered microstate templates as a black box. Additionally, none of them enforces polarity invariance during training. The absence of polarity invariance risks creating redundant clusters that split a single brain state along an irrelevant sign axis. Deep clustering and variational methods. Deep clustering methods that jointly optimise representation learning and clustering within a single network offer a more coherent alternative to post-hoc clustering, where representation learning and clustering are treated as separate tasks. Deep Embedded Clustering (DEC) 24 jointly optimises representation learning and clustering but lacks a decoder, meaning it only optimises the clustering objective, leaving no room to visualise or inspect the scalp topographies. Its improved variant, Improved Deep Embedded Clustering (IDEC) 8 , addresses this by adding a reconstruction loss and a decoder, but the decoder is deterministic rather than generative, preventing probabilistic assignment of EEG segments to microstate templates. Variational Deep Embedding (VaDE) 9 addresses this by embedding a Gaussian Mixture Model (GMM) prior, a probabilistic model that assumes data

Read the complete text