SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.11950 · 2026

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

Dibakar Sigdel

arXiv · PDF · Open in the Atlas

Code that ran

None of the 1 samples (functions and classes) lifted from this paper's linked repositories has a recorded run on a synthesized input (1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2607.11950.json · badge: /api/ran/2607.11950.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mindverse-computing/rgflow-bci community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
RGAttentionHead Not yet run
unverified (harvested, no recorded run)
mindverse-computing/rgflow-bci/models/rg_flow_stream.py
pointer only (licence: NOASSERTION) · get_code("c5f9a17c2e2f4050")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, mindverse-computing/rgflow-bci (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 1 samples lifted from this paper's linked repositories, 1 carry a function identity and 0 do not. Of the 1 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Brain field potentials are scale-free: their power spectra follow a 1/f β 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 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 5 subjects and 5 seeds under leave-one-subjectout cross-validation, RG-Flow and the vanilla transformer are statistically indistinguishable on 5-class staging (77.3% vs 77.0% accuracy; paired p = 0.294), 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 R 2 = 0.416), a capability the vanilla architecture has no analogue for. Cortical dynamics are scale-free. The power spectrum of the electro-and magnetoencephalogram, of the local field potential, and of the electrocorticogram all follow an aperiodic 1/f β law over a broad band [1], and this aperiodic exponent β is not a nuisance: it tracks excitation-inhibition balance, arousal, anaesthesia, and, most cleanly, sleep depth [2,3]. Deeper non-REM sleep produces a steeper spectrum (larger β), so a sleep-stage label is, physically, a coarse label on a spectral scaling exponent. Alongside the 1/f spectrum, cortex exhibits the other hallmarks of operation near a critical point-neuronal avalanches with power-law size and duration distributions [4] and a branching ratio near unity [5]-which is precisely the regime in which scale-invariance is a genuine property of the data rather than an imposed prior.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.11950")
get_code_for_paper("2607.11950")
have("2607.11950")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2607.11950.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2607.11950.svg)](https://syntology.ai/paper/2607.11950)

Connect an agent — have() is free.