Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.07.10.737743

Uncovering the spatiotemporal structure of neural avalanches through optimal transport and dynamic time warping

Abstract

Neural avalanches--or threshold-defined bursts of coordinated activity--are traditionally characterised by scale-free statistics. However the study of their detailed spatiotemporal structure and their recurrence within spontaneous activity has been hindered by the variability of avalanches in duration and spatial extent. To tackle this challenge, we propose the use of flexible alignment: we employ a distance metric combining unbalanced optimal transport with subsequence dynamic time warping, enabling comparison across events of different lengths and spatial configurations. Applied to 64-channel EEG from 63 participants in the PsiConnect psilocybin study, hierarchical clustering revealed 12 recurring propagation patterns. These cluster templates were then traced in the original continuous recordings, identifying sequences where the same pattern recurred consecutively and immediately at least twice. Sequences with alternating polarity were classified as oscillating; those with consistent polarity as stable. Oscillating sequences predominantly corresponded to clusters exhibiting visually confirmed spatial propagation, while stable sequences corresponded to spatially fixed patterns. Under psilocybin, oscillating sequences were reduced relative to stable sequences, shifting the polarity balance toward stable; this overall shift was confirmed by a subject-level permutation test, while the apparent task- and training-specific effects did not survive it. This effect was also mostly driven by a specific cluster, suggesting that there is concrete neural dynamics that are temporally affected by the consumption of psilocybin. The developed methodology has been implemented in a publicly available stppy Python package. Author SummaryWhen large groups of neurons activate together in brief bursts--called neural avalanches--they create patterns that sweep across the brains surface. These patterns are usually studied only as statistics (how big, how frequent), giving little attention to what they actually look like. We developed a method to compare the shapes of individual avalanches, group similar ones together, and then use the resulting templates as detectors to track when each pattern reappears in continuous brain recordings. Applied to high-density EEG data from 63 human subjects, we discovered 12 propagation patterns, and analysed whether they oscillate (i.e., repeat with alternating polarity) or remain stable, maintaining a fixed spatial arrangement. We found that during psilocybin intoxication, oscillating patterns were suppressed relative to stable patterns, making stable patterns relatively more prevalent in the detected sequences. This overall shift was statistically reliable across participants, although the apparent differences between individual tasks were not. Our approach bridges three previously separate research areas--avalanche dynamics, EEG microstates, and travelling waves--suggesting they describe the same underlying brain activity from different angles: some of our clusters resemble canonical microstate topographies, while others reveal the travelling wave dynamics that microstate analysis, by design, cannot sufficiently capture.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Novicky, F., Jajcay, N., Hlinka, J.. 2026-07-16. Uncovering the spatiotemporal structure of neural avalanches through optimal transport and dynamic time warping. https://doi.org/10.64898/2026.07.10.737743

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Neurodegeneration-inducing macromolecules exit the brain via nanovascular conduits formed by reticular fibroblasts

Accumulation of proteins such as amyloid beta (Abeta), hyperphosphorylated tau and alpha-synuclein within the brain alters neural information processing and causes neurodegeneration(1-3), but how toxic solutes are cleared from the brain remains highly controversial(4,5). Proposed exit routes include efflux across endothelial cells into the blood(6,7), and movement to the pial surface via vasomotion-induced pumping along spaces within arteriolar smooth muscle(8) or via outflow along the perivascular space of ascending venules promoted by water flux through astrocytes (the glymphatic system(9)). From the pial surface of the brain, drainage may continue to dural lymphatics, along the outer sheaths of exiting cranial nerves and across the cribriform plate(10-14). We now report the presence, in mice and humans, of 2 micron diameter conduits that remove fluorescently labelled tau and Abeta from the brain. These conduits form a spatially-organised mesh within the walls of penetrating arterioles and pial arteries, and around the surface of ascending venules and deep cerebral and pial veins. They course through the pial and arachnoid layers to span the CSF space, wrapping the brain and cranial nerves. They are formed of reticular fibroblasts, which label for VE-cadherin(15) and PDGFRalpha(16), the lymphatic markers(17) podoplanin, VEGFR3 and Prox1, and reticular fibroblast extracellular matrix components collagen I and VI(16,18-20). Parenchymal tau drains from the brain at a similar rate via arteriolar conduits and via conduits around venules, arguing against preferential removal by a glymphatic mechanism. In Alzheimer's disease model mice, Abeta is seen traversing these lymph node-like conduits. Modulation of molecular transfer via this route may accelerate or delay cognitive decline, and slowed transfer from arteriolar to pial-arachnoid conduits may initiate cerebral amyloid angiopathy.

neuroscience↗

Analysis of the influence of gradual changes in matrix sentence similarity on neural envelope tracking

Neural tracking of speech is a well-established phenomenon in neuroscience. However, for speech signals with a fixed structure, significant correlations between speech envelopes and neurophysiological representations occur even for unheard sentences. We exploit a structured speech-in-noise matrix hearing test (Oldenburger Sentence Test, OLSA) to systematically quantify the relationship between acoustic sentence similarity and neural tracking. Simultaneous magnetoencephalography (MEG) and 76-channel electroencephalography (EEG) data, including 16 channels positioned directly around the ears (ear-EEG), were recorded from 21 young adults with normal hearing during the presentation of clean-speech audiobooks and OLSA sentences at six signal-to-noise ratios. A linear decoder trained on audiobooks reconstructed OLSA sentence envelopes. Reconstruction accuracies were compared using a linear mixed model across heard (matched) and unheard (mismatched) sentences of varying acoustic similarity. Significant reconstruction accuracies were achieved across MEG, EEG, and ear-EEG for both matched and mismatched sentences. For mismatched sentences, these accuracies gradually increased with their acoustic similarity to the heard speech data. The high similarity between sentences, which is especially prominent in matrix tests, can cause significant spurious tracking for mismatched stimuli. This effect can reach levels comparable to those of matched sentences and can be mistaken for true neural tracking. Robust neural tracking across modalities further supported the established viability of ear-EEG compared to whole-head systems.

neuroscience↗

Seizures and tauopathy following neurotrauma are mediated by prion protein and metabotropic glutamate receptor 5

Traumatic brain injury (TBI) is one of the world's leading causes of death and disability and a major risk factor for dementias. The primary dementia associated with TBI is chronic traumatic encephalopathy (CTE), a neurodegenerative disease classified as a tauopathy, in which toxic tau molecules lead to disease pathologies and degeneration. The processes that lead to tauopathy and subsequent dementia after TBI remain unclear. Here, we built upon the finding that seizures after TBI may be a mechanism leading to tauopathy, by dissecting the functions of the metabotropic glutamate receptor 5 - cellular prion protein (mGluR5-PrPC) pathway. We delivered TBI to larval in a blast paradigm, and quantified aggregation of Tau via a genetically-encoded Tau-GFP fusion reporter. Zebrafish larvae lacking prp2 (homolog of mammalian cellular Prion Protein, PrPC) displayed a 168% increase in post-traumatic seizures activity after TBI. An mGluR5 agonist (CHPG) reduced post-traumatic seizures, whereas an mGluR5 antagonist (MPEP) increased post-traumatic seizures. Moreover, agonizing mGluR5 reduced tau aggregation and antagonizing mGluR5 increased tau burden. Larvae seizing from convulsants, rather than TBI, were treated with CHPG/MPEP and provided a similar pattern of outcomes, suggesting seizures may be a factor needed for mGluR5 activity to influence tau aggregation. The PrPC-mGluR5 pathway is proposed as one candidate pathomechanism linking TBI to subsequent seizures and tauopathy, and thus it warrants investigation as a target for prophylactic interventions.

neuroscience↗