Brain-network studies increasingly replace the single "static" correlation matrix, computed over a whole 5–15 minute scan, with dynamic connectivity. Dynamic connectivity is a sequence of short-window correlation matrices, clustered into recurring "brain states" or fed to time-aware graph neural networks. The clinical claims that follow are fine-grained. Depressed patients are reported to spend more time in one hypoconnected state (Zhi et al., 2018), and attention-based dynamic models beat static ones on decoding (Kim et al.). Computational physics has learned a hard lesson that applies here. Coarse arithmetic leaves long-run averages intact but scrambles instantaneous trajectories. Turbulence energy spectra survive single precision, while individual eddies do not (Yokota et al., 2009; Cao et al., 2022). Rounding can also knock tracer particles across flow boundaries into the wrong artery (Ameli, Desai, & Shadden, 2014). Static connectivity is the brain's energy spectrum, and a window-by-window state sequence is its eddy trajectory.
We propose to treat arithmetic precision as an adjustable dial and use it to measure how fragile each dynamic-connectivity quantity is. The data stay fixed while the number of bits the computation carries is lowered step by step. We then watch how each derived quantity degrades: a window's state label, a subject's time spent in each state, a group difference in that occupancy, or a trained model's learned dynamic graph. The shape of that degradation curve is the key output. It tells two situations apart. In the first, a few windows sit near a decision boundary, which is benign and well-conditioned. In the second, the pipeline amplifies any perturbation into a different answer, which is chaotic and ill-posed. The result is a per-quantity stability map. It says which dynamic findings are determined by the data, which stages of dynamic graph networks can safely run in 16-bit formats, and whether perturbation ensembling repairs the unstable ones.
Core Claim
Our hypothesis has three parts. First, the precision a connectivity-derived quantity needs grows as it averages over less time. Second, the discrete steps in dynamic pipelines (k-means state assignment, top-K edge sparsification, attention argmax) behave like the separatrices in Lagrangian transport, the dividing surfaces that send nearby particles down different flow branches. Third, there is a measurable class of windows whose state label is numerically undetermined even near double precision.
To make this testable, let $f(p)$ be the fraction of windows whose state label differs from a double-precision reference when every floating-point operation is randomly rounded to $p$ mantissa bits. The relative perturbation then has size about $2^{-p}$. If label changes come only from windows lying within distance $\delta$ of a cluster boundary, with $\delta$ proportional to the perturbation, then $f(p) \approx \rho\, c\, 2^{-p}$. Here $\rho$ is the density of windows near boundaries and $c$ is a pipeline-dependent amplification constant. The local log-slope
$$s(p) = -\frac{d \log_2 f(p)}{dp}$$
is therefore close to 1 in the benign regime. It is close to 0 when an iterative stage (k-means, or graphical lasso on a nearly singular short-window covariance) converts any perturbation into a different local optimum. A slope near 0 at large $p$ is the signature of a chaotic pipeline: its output beyond a certain point is effectively random, whatever the hardware.
The same slope analysis can be applied to subject-level occupancy and group-level statistics. The turbulence analogy predicts an outcome that would matter clinically: group occupancy differences could stay stable while individual state sequences are not.
Relation to Prior Work
The closest work is Numerical uncertainty in analytical pipelines lead to impactful variability in brain networks. It instrumented structural (diffusion tractography) connectome pipelines with Monte Carlo Arithmetic, which injects controlled random rounding into floating-point operations. It found that sparse perturbations produced variability exceeding test-retest and between-subject variability. It also found that a downstream body-mass-index classifier's accuracy swung with the perturbation seed. That paper motivates our work: it shows the effect is not negligible in neuroimaging. It also supplies our perturbation method.
We differ from it in four ways. We study functional and dynamic networks rather than static structural ones. We sweep precision continuously instead of perturbing at a single virtual precision, which is what makes the regime-distinguishing slope $s(p)$ observable. We run the same perturbation on static and dynamic summaries of identical data, so the static-versus-dynamic contrast is the central measurement rather than an aside. And we include learned dynamic graph networks trained in hardware reduced precision.
Its finding that dense perturbations act as a regularizer also constrains our design. It suggests that perturbation-averaged estimates may be more reliable than single runs, and we test this directly.
Physics supplies the remaining methods. RAPTOR's two modes (Hörold et al., 2025) are Op-mode, which substitutes lower-precision operations, and Mem-mode, which tracks high-precision shadow values to locate where divergence starts. Its finding that fragility concentrates in iterative solvers and fine mesh levels is the template for our stage-wise analysis. The shallow-water study (Number Formats, Error Mitigation, and Scope for 16‐Bit Arithmetics...) supplies the mixed-precision recipe: keep accumulated state in 32-bit and compute increments in 16-bit. The same study warns that plain BFloat16 can stall a computation outright.
On the connectivity side, Varoquaux & Craddock, 2013 explains why static correlation hides transient coupling, and it introduces sparse inverse covariance, which we include as a fragile iterative stage. The dynamic models we stress-test are STAGIN (Kim et al.) and UDGSL (Rosati et al., 2026). UDGSL is an especially sharp case because its node features are one-hot region identities, so all of its information sits in learned edges.
Research Program
We build three instrumented pipelines on public data.
The first is the classical sliding-window pipeline. It computes windowed Pearson correlation, then k-means over windows into five states, following the design of Zhi et al., 2018 without its private cohort. It also includes a windowed graphical-lasso variant. Graph construction choices (rank versus Pearson correlation, lagged correlation, high-amplitude retention) come from GeQinwen/DataCentricBrainGraphs. This lets us ask whether the rank metrics that Ge et al., 2025 found more accurate are also numerically more stable.
The second is STAGIN, and the third is UDGSL. Both are trained under several regimes: double precision, FP32, standard automatic mixed precision in BFloat16 and FP16, and a scoped scheme. The scoped scheme keeps recurrent state and readout in FP32 and runs message passing in 16-bit, mirroring the shallow-water recipe.
The precision sweep has two implementations. For array-level code we use stochastic rounding to $p$ mantissa bits after every tensor operation, for $p$ from 52 down to 7. This deliberately sidesteps the black-box library problem that RAPTOR documents, since precompiled BLAS libraries cannot be instrumented. For source-available stages, Monte Carlo Arithmetic instrumentation follows Numerical uncertainty in analytical pipelines.... Each configuration is repeated over 20 or more perturbation seeds.
For every derived quantity we record four things. These are $f(p)$ and $s(p)$; the number of significant digits retained; the precision floor, defined as the smallest $p$ at which deviation from the reference stays below test-retest deviation; and, for group statistics, the spread of effect sizes and p-values across seeds. Mem-mode-style shadow comparison localizes the first stage at which divergence exceeds a tolerance. This produces the stage-wise map that tells a practitioner what must stay in high precision.
Finally, we test a remedy. State assignments are averaged over perturbation seeds as a consensus clustering, and its test-retest reliability is compared with the single run.
Data are HCP-Rest for subject-level reliability and sex decoding, using the repeated resting runs per subject in the S1200 release. ABIDE and ADHD-200 provide group-difference tests on occupancy and transition rates. HCP-Task gives a high-signal setting where dynamic states should be well determined.
Baselines
The naive reference point is current practice. A single double-precision run is treated as ground truth, with one k-means initialization and one training seed per model. Every stability and reliability metric is reported relative to it. Any claim that perturbation-averaged estimates are better must exceed its test-retest intraclass correlation of state occupancy.
The strongest existing method for assessing numerical reliability is Monte Carlo Arithmetic applied as in Numerical uncertainty in analytical pipelines.... That means dense and sparse perturbation at a single virtual precision. We run it on exactly our pipelines, subjects and seed budget. Our sweep beats it if the slope $s(p)$ separates stages that single-level Monte Carlo Arithmetic rates as equally unstable. In practice, the sweep must identify at least one stage as chaotic and another as boundary-limited, where single-level results cannot tell them apart. That paper reports no single accuracy span that we could match, and no reported result for functional connectomes was found on Lacuna.
For downstream accuracy, the strongest dynamic model is STAGIN-SERO. It reports 88.20% accuracy and 0.9296 AUROC on HCP-Rest sex classification (Kim et al.), against 81.34% for the static GIN. We retrain it under our splits in FP32 to obtain the reference and its seed spread. A reduced-precision configuration counts as matching if its mean accuracy lies within one seed standard deviation of the FP32 retrain. The scoped scheme beats plain automatic mixed precision if it matches FP32 where plain mixed precision does not, or if it yields lower variance in its learned dynamic graphs. For UDGSL, the only number available is relative: a 24–32% lower reconstruction error than baselines (Rosati et al., 2026). We therefore compare against our own FP32 retrain.
Two ablations isolate the key ingredients. The first replaces numerical perturbation with an equal number of random-seed restarts (k-means initialization, training seed) and window bootstrap resampling. This asks whether arithmetic perturbation reveals anything that ordinary seed and resampling variability does not. The second fixes $p$ and removes the sweep, which tests whether the slope analysis rather than perturbation per se carries the diagnostic value.
Why not just…?
Why not just accept that physiological noise dwarfs rounding error? For BOLD correlations this may well be true, and it is the main threat to the project's relevance. The structural-connectome study found the opposite for its pipelines, with numerical variability exceeding between-session variability (Numerical uncertainty in analytical pipelines...). However, short-window functional covariances are a different computation. The precision floor answers the question directly by comparing numerical deviation to test-retest deviation at each $p$. If every quantity's floor lies below 10 mantissa bits, we report that dynamic connectivity is numerically robust. That negative result would still have practical value, because it certifies BFloat16 for these models.
Why not just compute everything in double precision? For classical sliding-window pipelines double precision is cheap, and we expect to recommend it there. But double precision is one sample of the arithmetic, not an immunity. If $s(p)$ is near zero, a chaotic k-means or graphical-lasso stage gives seed-dependent answers at 52 bits as well, so switching to FP64 hides the problem rather than fixing it. For learned dynamic models and large pretrained brain models such as Brain-JEPA, reduced-precision training is the default. Which stages can tolerate it is an open question that the scoped experiment answers.
Why not just report random-seed and bootstrap variability? This is a serious alternative, and the first ablation is designed to settle it. If the windows whose labels flip under arithmetic perturbation are a subset of those that flip under k-means restarts or bootstrap resampling, we drop the arithmetic machinery for the classical pipeline. The recommendation then simplifies to seed ensembling. Arithmetic perturbation earns its place only if it does one of two things. It might expose instability that seed variation misses, for example in stages with deterministic initialization such as graphical lasso. Or its $p$-dependence might distinguish benign from chaotic stages, which seed variation cannot do because it has no magnitude to dial.
Decisive Checks
The first decisive check is the slope experiment on HCP-Rest windows. Measuring $s(p)$ for window labels, subject occupancy and group statistics should show the predicted ordering. Static connectivity edges should have the lowest precision floor, group occupancy differences the next, and individual window labels the highest. A slope near zero at large $p$ for k-means or graphical lasso would confirm the chaotic, separatrix-like regime. If instead all slopes are near 1 and the floors are low, the separatrix hypothesis is falsified.
The second check repeats the occupancy group comparisons on ABIDE and ADHD-200 across perturbation seeds. It asks whether reported group effects keep their significance across seeds, as energy spectra keep their shape, while subject-level sequences do not.
The third check compares consensus state assignment against the single double-precision run on test-retest reliability of occupancy, with the restart ablation as control.
The fourth trains STAGIN and UDGSL under FP32, plain BFloat16/FP16 mixed precision and the scoped scheme. We measure accuracy against the retrained STAGIN reference and its 88.20% reported figure. We also measure agreement of learned dynamic adjacency or attention maps across seeds and precisions, and the stage at which shadow-tracked divergence first appears.
Together these checks determine three things: whether dynamic brain-state findings are data-determined, which computations must stay precise, and whether a cheap ensembling fix suffices.
References
- Aberrant Dynamic Functional Network Connectivity and Graph Properties in Major Depressive Disorder
- Learning Dynamic Graph Representation of Brain Connectome with Spatio-Temporal Attention
- Fast multipole methods on a cluster of GPUs for the meshless simulation of turbulence
- Multiple-GPU accelerated high-order gas-kinetic scheme for direct numerical simulation of compressible turbulence
- Development of an Efficient and Flexible Pipeline for Lagrangian Coherent Structure Computation
- Numerical uncertainty in analytical pipelines lead to impactful variability in brain networks
- RAPTOR: Practical Numerical Profiling of Scientific Applications
- Number Formats, Error Mitigation, and Scope for 16‐Bit Arithmetics in Weather and Climate Modeling Analyzed With a Shallow Water Model
- Learning and comparing functional connectomes across subjects
- Structure Discovery in fMRI Time-Series via Dynamic Graph Representation Learning
- Defining and Benchmarking a Data-Centric Design Space for Brain Graph Construction