BCOM — Barcelona Computational FoundationBCOM
CalliopeKnowledge Librarian
WP0187
working_paperongoinginternalopen for collabcomplete

Complexity or Spectrum? A Surrogate Program for Interpreting Lempel–Ziv Increases in EEG

Giulio Ruffini, Francesca Castaldo, Klaude

★ guarantor: Giulio Ruffini · vouches for the paper per WP0084 §6

P1·Computational Neuropsychiatry & NeurophenomenologyL3·Algorithmic SoupL6·Brains
zipDownload all
PDFmain.pdfThe paper — open to read

Lempel--Ziv complexity (LZC) is a workhorse estimator of the algorithmic complexity of neural signals, and increases in LZC are routinely read as increases in the richness of brain dynamics. We argue that, for a band-limited, median-binarized signal, an LZC increase admits two distinct explanations that the value alone cannot separate: a change in the amplitude spectrum or a change in the phase organization of the dynamics. We make the decomposition operational as a two-step program. Step1 asks whether the increase is explained by spectral width/entropy alone, using phase-randomized (IAAFT) surrogates that hold the power spectrum and amplitude distribution fixed; we show with controlled simulations that median-binarized LZC is governed mainly by spectral bandwidth/entropy and only weakly by mean frequency, and that for a Gaussian (linear) signal the spectrum exhausts the information. Step2, invoked when a surrogate residual survives, attributes the excess complexity to the phases and localizes it with three phase-domain markers: bicoherence (quadratic phase coupling), time-irreversibility (the arrow of time), and the multivariate INSIDEOUT measure of directed inter-network flow. We connect the program to Kolmogorov Theory: random-phase ``complexity'' is spectrally-coloured noise, whereas phase organization is genuine algorithmic and non-equilibrium structure. We motivate and illustrate the program with a source-space EEG study of chronic low back pain (CLBP), where global LZC is elevated relative to controls, and provide drop-in reference implementations.

When you measure "complexity" in a brain signal, you might actually be measuring two very different things — and this paper is about telling them apart.

Lempel-Ziv complexity (LZC) compresses a signal and asks how hard it is to describe. Neuroscientists use it constantly: higher LZC supposedly means richer, more dynamic brain activity. The problem is that LZC can go up for a boring reason — the signal just got spectrally wider (more frequencies present) — or for an interesting reason — the phases of those frequencies became more organized in a nonlinear, non-equilibrium way. A single LZC number cannot tell you which.

The paper makes this precise and then proposes a two-step diagnostic. Step 1: generate "surrogate" versions of the signal using IAAFT (a method that scrambles the phases while exactly preserving the power spectrum and amplitude distribution), then check whether the real signal's LZC sits inside the surrogate cloud. If it does, the LZC is fully explained by the spectrum — nothing deeper is going on. Controlled simulations confirm the intuition: what really drives LZC in a band-limited, median-binarized signal is spectral bandwidth, not mean frequency. Widen the band and LZC shoots up; slide the center frequency and almost nothing happens. Step 2 is only triggered when the real signal stands outside the surrogate cloud — meaning there is genuine phase structure left to explain. Three markers then localize it: bicoherence (are frequencies phase-locked to each other, indicating nonlinear waveform shape?), time-irreversibility (does the signal have a statistical arrow of time, a hallmark of non-equilibrium dynamics?), and INSIDEOUT (is there directed information flow between brain networks?). The connection to Kolmogorov complexity theory is explicit: random-phase "complexity" is just colored noise dressed up as structure, while phase organization is the real thing — compressible in a deep sense, not a trivial one.

The motivating application is chronic low back pain (CLBP), where source-space EEG shows elevated global LZC in patients versus controls, while conventional state-transition metrics show nothing. The paper frames this as exactly the kind of ambiguous finding the program is designed to resolve — is the elevated LZC a spectral artifact or a sign of genuinely altered brain dynamics? The full group-level analysis applying both steps to the CLBP cohort is described as ongoing with collaborators at the University of Otago, so the paper is primarily a methods contribution with the clinical application still in progress.

The practical upshot: before claiming that a brain condition changes neural "complexity," run the surrogate test. If it passes Step 1, you have a spectral story, not a complexity story. Only a surviving residual, characterized through the phase markers, licenses the stronger claim.

Zenodo
10.5281/zenodo.21008842
WP ID
WP0187
Lifecycle
ongoing
Visibility
internal
Access level
open
Embargo until
Priority
Collab
open
Venue
DOI
Deadline
Owner
Source
drive_legacy
Repo path
WP0187
  • 0.1.0 (draft) · auto-run-placeholder · zenodo:21008843