Brain-imaging models that track how regions couple and decouple over time almost all use one recipe. They cut the recorded signal into overlapping windows, compute a correlation matrix in each window, and feed the resulting sequence of graphs to a neural network. This note argues that the recipe is a sampling problem in disguise. A correlation multiplies two signals together, and multiplying signals creates frequencies neither signal had. Stepping the window forward by several time points then samples that faster signal too coarsely, so the fast content folds back into slow, false fluctuations. Signal processing calls this folding-back "aliasing." The measurable symptom is concrete. Shift a scan by a fraction of a sample, or re-record it at a different sampling rate, and the estimated connectivity trajectory changes shape instead of simply shifting. We propose to measure this failure, show that it predicts poor transfer across scanners, and remove it with a cheap construction borrowed from alias-free operator learning.
The inspiration comes from geometric deep learning. There, "equivariance" means that transforming the input (say, shifting it) transforms the output in the matching way. Networks that are equivariant on paper lose that property once they run on a discrete grid. Representation Equivalent Neural Operators showed that pointwise nonlinearities push signal bandwidth past the grid's Nyquist limit. They also found that aliasing error and translation-equivariance error rise almost in lockstep: as aliasing error grew from about 10% to 98%, equivariance error grew from about 10% to 104%. The windowed correlation used in dynamic connectivity is exactly such a nonlinearity, applied on a time grid, followed by downsampling. To our knowledge no one has analyzed it this way.
Core Claim
Sliding-window dynamic functional connectivity (dFC, the time-varying version of the static correlation matrix) is a discretized nonlinear operator. Its lack of time-shift equivariance is mostly aliasing, which appears in two places:
- the product of two signals, which doubles their bandwidth at the acquisition rate;
- the window stride, which decimates the correlation trajectory without an adequate low-pass filter.
Suppose each region's signal after preprocessing is band-limited to frequency $B$, the repetition time (the scanner's sampling interval) is $\Delta t$, and the window moves by $s$ samples. The construction is alias-free when two conditions hold:
$$2B \le \frac{1}{2\Delta t} \quad\text{and}\quad |\hat w(f)| \approx 0 \ \text{for}\ f > \frac{1}{2 s \Delta t},$$
where $\hat w$ is the frequency response of the window. The first condition comes from the product doubling bandwidth. The second is the ordinary anti-aliasing requirement before decimation. Standard pipelines use rectangular windows whose frequency response has slowly decaying sidelobes, together with strides chosen for convenience, so they typically violate both conditions.
The fix follows the recipe that Representation Equivalent Neural Operators uses for its convolutional operators: upsample, apply the nonlinearity, low-pass, downsample. Concretely, we upsample the signals by band-limited interpolation, form the coupling (the Pearson product or a learned nonlinear dependence), filter with a window designed against the stride, and only then decimate. The claim is that this layer lowers time-shift equivariance error by a large factor, improves transfer across sampling rates, and costs close to nothing in accuracy on existing benchmarks.
We measure equivariance error for a connectivity operator $\Phi$ (signals in, graph trajectory out) as
$$E(\tau) = \frac{\lVert \Phi(S_\tau x) - S_\tau \Phi(x) \rVert}{\lVert \Phi(x) \rVert},$$
where $x$ is the multi-region signal and $S_\tau$ is a band-limited shift by $\tau$. The shift $\tau$ may be a fraction of a sample or a non-multiple of the stride.
Relation to Prior Work
Two papers supply the method and one supplies the theory for a regular grid. Representation Equivalent Neural Operators supplies the aliasing diagnosis and the upsample–activate–filter remedy. It studied only synthetic PDE operators on periodic spatial grids, whereas we apply it to a statistical estimator on the time axis of real recordings. Adaptive Sampling for Continuous Group Equivariant Neural Networks independently identifies nonlinearity-driven Nyquist violations. PDO-eConvs bounds discretization-induced equivariance error by $\mathcal{O}(h^2)$ in the grid spacing $h$, but assumes smooth 2D images. We replace $h$ with the pair $(\Delta t, s)$ and derive the analogous dependence for windowed estimators.
Four papers motivate the problem. STAGIN and UDGSL show that dynamic graphs beat static correlation. Both rely on fixed windows and strides, and neither checks whether its trajectories shift consistently with the input. BrainATCL adapts the lookback length. That treats window size as a modeling choice, not a sampling constraint, and it still steps on a discrete grid.
One paper constrains the design. Latent Factor Gaussian Processes model connectivity as smooth continuous trajectories and avoid windowing altogether. They do not scale to whole-brain parcellations, which is why we want a filter-based layer rather than a full continuous-time model.
A second paper raises the stakes. Brain Networks Should Be Learned, Not Constructed replaces Pearson correlation with learned higher-order dependences. A more nonlinear coupling expands bandwidth further than a product does, so it should alias more unless it is filtered.
Research Program
The first stage is diagnostic. We implement the $E(\tau)$ measurement for sliding-window Pearson dFC, STAGIN, UDGSL, and BrainATCL. For each, we sweep fractional and non-stride-multiple shifts. We also compute a representation-equivalence (aliasing) error in the ReNO sense by comparing each operator run at the native rate with the same operator run on upsampled inputs. The test is whether the near-linear relation between aliasing and equivariance error that ReNO found for spatial operators reappears on the time axis of fMRI.
The second stage is analytic. We derive how $E(\tau)$ depends on the window shape, the window length, the stride $s$, and the signal band $B$ for the Pearson estimator. We then check that prediction against simulations in which the ground-truth coupling is known.
The third stage builds the alias-free coupling layer described above. It is a drop-in replacement for the windowing step in STAGIN and UDGSL, and it wraps the learned dependence in BRep-style models.
The fourth stage tests consequences:
- transfer across sampling rates;
- stability of state-occupancy statistics of the kind Zhi et al. used in depression research, since those statistics are exactly what aliasing would corrupt;
- downstream accuracy.
Spatial parcellation aliasing is a natural follow-up, but it is deliberately out of scope. The temporal axis has a clean sampling theory; parcels do not.
Baselines
The naive reference is static Pearson correlation fed to a graph isomorphism network. It is trivially shift-invariant, so any dynamic method must beat it on accuracy to justify its instability. STAGIN reports 81.34% gender-classification accuracy for this baseline on HCP-Rest.
The strongest dynamic competitor for classification is STAGIN-SERO, which reports 88.20% accuracy (0.9296 AUROC) on HCP-Rest gender and 99.19% on 7-class HCP-Task decoding. For temporal link prediction, the strongest is BrainATCL, which reports a mean average precision (MAP) of 0.7567 and a mean reciprocal rank (MRR) of 0.6196 in the within-session setting. For signal reconstruction and forecasting, the strongest is UDGSL. That paper reports only relative gains (26–28% lower forecasting error than Pearson graphs), so we found no absolute UDGSL figure on Lacuna to quote.
Each baseline is rerun from its published configuration on the same parcellations, subject splits, and preprocessing as our variants. Each gets the same hyperparameter search budget. The alias-free layer changes only the windowing step. "Beating" a baseline means two things together. First, a statistically reliable reduction of $E(\tau)$ and of the accuracy drop under rate transfer. Second, in-distribution accuracy within the run-to-run spread of that baseline or better.
Three ablations isolate the key ingredient:
- a tapered window at the original stride, which fixes decimation but not the product;
- upsampling before the product, but with a rectangular window;
- a stride of one sample, which avoids decimation at higher compute cost.
If the full construction is not better than the best single ablation, then the "two-stage aliasing" claim is wrong.
A fourth comparison is LFGP on a reduced set of regions. It serves as a continuous-time reference point for trajectory smoothness, not as a scalable competitor.
Why not just…?
Why not just use a tapered window, as careful practitioners already sometimes do? This is the most serious threat. A taper addresses the second condition but not the first, and it offers no rule tying window length to stride. The ablation above tests this directly. If a tapered window matches the full construction on $E(\tau)$ and on rate transfer, the honest conclusion is that the contribution reduces to a design rule plus a diagnostic. We would report it that way.
Why not just augment training with random time shifts and resampling? Augmentation can make the final prediction invariant while leaving the intermediate connectivity trajectories aliased. It is those trajectories that neuroscientists interpret, for example as time spent in a state. Evidence from geometric deep learning favors built-in structure over learned approximations: PDO-eConvs matched larger augmented-style models (0.709% versus 0.714% error on MNIST-rot-12k) with a tenth of the parameters. Evidence from another field is not a verdict, however. We will train STAGIN with shift-and-resample augmentation under the same budget and measure both output invariance and trajectory-level $E(\tau)$.
Why not just drop windows and run a sequence model on the raw signals? BrainATCL's state-space backbone and Brain-JEPA point in this direction. Those models also apply pointwise nonlinearities on a discrete time grid, so the ReNO argument predicts they alias too. We will measure their $E(\tau)$. If they turn out to be both shift-stable and more accurate, windowed dFC loses its case. The alias-free layer would then be relevant only where explicit, interpretable coupling graphs are required, and we would say so.
Proposed Experiments
The decisive check is a controlled rate-transfer test on HCP S1200. HCP's fast repetition time of 0.72 s lets us create an exact 2.16 s version by band-limited decimation by 3, which mimics typical multi-site scanners. We train every model at one rate and test it at the other, on gender classification, task decoding, and link prediction. The prediction is that baselines lose markedly more accuracy than their alias-free versions. It also predicts that each model's accuracy drop is ordered by its measured aliasing error.
A second check uses ADHD-200. Its sites genuinely differ in acquisition, so we evaluate leave-one-site-out. BRep reports a 2.14% improvement over the previous best model there, but no absolute number was found in the file, so we will rerun BRep with and without the filtered coupling.
A third check concerns stability. We compare state-occupancy statistics and edge trajectories across the two HCP rest sessions and under sub-sample shifts, reported as intraclass correlation.
The fourth check is simulation. In synthetic data with known smooth coupling, the derived dependence of $E(\tau)$ on window, stride, and band must match what we measure. If it does not match, the theory is wrong regardless of the benchmark results.
References
- Representation Equivalent Neural Operators: a Framework for Alias-free Operator Learning
- Adaptive Sampling for Continuous Group Equivariant Neural Networks
- PDO-eConvs: Partial Differential Operator Based Equivariant Convolutions
- Learning Dynamic Graph Representation of Brain Connectome with Spatio-Temporal Attention
- Structure Discovery in fMRI Time-Series via Dynamic Graph Representation Learning
- BrainATCL: Adaptive Temporal Brain Connectivity Learning for Functional Link Prediction and Age Estimation
- Modeling Dynamic Functional Connectivity with Latent Factor Gaussian Processes
- Brain Networks Should Be Learned, Not Constructed
- Aberrant Dynamic Functional Network Connectivity and Graph Properties in Major Depressive Disorder
- Brain-JEPA: Brain Dynamics Foundation Model with Gradient Positioning and Spatiotemporal Masking