machine learning

The RG-Flow Transformer: Encoding Scale-Free Dynamics in Scarce EEG

arXiv:2607.11950

summary

The paper introduces the RG-Flow Transformer, a transformer architecture with a renormalization‑group inductive bias designed to capture scale‑free dynamics in EEG, and evaluates it on scarce sleep‑EEG data for sleep staging and out‑of‑sample spectral exponent recovery.

Abstract

Brain field potentials are scale-free: their power spectra follow a law whose aperiodic exponent tracks cortical state, and sleep depth in particular is a shift in . We ask whether a transformer endowed with an explicit renormalization-group (RG) inductive bias the RG-Flow Transformer, which couples ordinary self-attention to a scale-aware stream with a learnable anomalous dimension , block-spin coarse-graining, and an entropy-gated synchronization bridge has an advantage over a parameter-matched vanilla transformer on \emph{real, scarce} EEG. Using the PhysioNet Sleep-EDF corpus with a strict leakage-free by-subject hold-out, we (i) benchmark RG-Flow against a param-matched vanilla transformer and a hierarchy-only ablation on 5-class AASM sleep staging, (ii) sweep the per-subject data budget to look for the inductive-bias crossover predicted when data are scarce, and (iii) test whether RG-Flow's learned tracks the measured spectral exponent out-of-sample a quantity the vanilla model does not possess. Across subjects and seeds under leave-one-subject-out cross-validation, RG-Flow and the vanilla transformer are statistically indistinguishable on 5-class staging (77.3\% vs 77.0\% accuracy; paired ), and the predicted scarce-data crossover does not appear: vanilla is numerically ahead at every data-limited budget. What does separate the models is interpretability RG-Flow recovers the continuous spectral exponent out-of-sample (-recovery ), a capability the vanilla architecture has no analogue for.

Topics & keywords

#eeg analysis#sleep staging#transformer models#renormalization group#scale-free dynamics#scarce dataRG-Flow Transformerself-attentionanomalous dimension γblock-spin coarse-grainingentropy-gated synchronizationPhysioNet Sleep-EDFspectral exponent β