Direction-Aware Dynamic Connectivity on the Cortical Sphere

Most machine-learning models of brain activity chop the cortex into a few hundred fixed regions. They then summarize the whole scan, or a series of sliding windows, as tables of pairwise correlations between those regions. This throws away two things at once: what happens inside each region, and the direction in which activity travels across the cortical sheet. We propose to model resting and task fMRI directly on the cortical surface. Each hemisphere is inflated to a sphere, and the network learns direction-sensitive filters that report, at every point and every moment, which way activity is moving. Brain "states" then become time-varying flow patterns on the sphere rather than windowed correlation matrices.

Direction-sensitive filters on a sphere face a basic geometric problem. There is no way to pick a consistent "north" at every point of a sphere; the hairy-ball theorem forbids a smooth nonvanishing direction field. Any filter that uses a fixed coordinate chart, such as latitude and longitude, becomes arbitrary and singular near the poles. The poles themselves land at an arbitrary place on the cortex, set by whatever convention the inflation software uses. Rotation-equivariant (steerable) spherical operators solve exactly this. They are networks whose internal features rotate in a known way when the input rotates, so a direction detected at one point means the same thing everywhere. Our claim is that this is the missing ingredient for parcellation-free, direction-aware dynamic connectivity. The value of equivariance here is not that brains appear in random orientations. It is that orientation on the sphere has no canonical reference at all.

Core Claim

A spatiotemporal network with anisotropic, rotation-equivariant spherical convolutions will do three things. First, it will recover propagating cortical activity that both isotropic spherical networks and region-based dynamic graphs miss. Second, it will give subject-level predictions that do not change when the sphere's arbitrary pole placement changes. Third, it will match or exceed windowed region-graph models on standard phenotype and diagnosis benchmarks, while removing the choices of parcellation and window length.

The distinctive, testable part is the direction-aware and pole-invariant behavior. Raw accuracy is secondary. If a region-graph model with lagged correlations explains the same variance, the geometric machinery is not earning its keep, and we will report that.

Relation to Prior Work

The dynamic-connectivity line motivates the problem.

  • STAGIN turns fMRI into sliding-window region graphs with attention readouts and a temporal Transformer.
  • HADiB learns temporal hypergraphs over regions.
  • BrainATCL adapts the lookback window to how novel the current brain state is.
  • BRep shows that pre-computed Pearson networks are an information bottleneck and that learned dependence measures help. Its authors leave dynamics open, and the method needs fixed-length inputs.
  • Zhi et al. show that depressed patients spend more time in a weakly connected transient state, a finding invisible to static averages.

All of these keep a fixed parcellation, and all treat connectivity as symmetric or lagged pairwise statistics between regions. We keep their goal of escaping the static average, but drop the parcellation and represent dynamics as flow on the surface.

The spherical-learning line supplies the method.

  • Image to Sphere computes convolutions in the spherical Fourier domain and lifts signals to the rotation group. This is the construction that lets anisotropic filters stay equivariant, and we reuse it.
  • SFNO shows that spherical-harmonic operators give stable long autoregressive rollouts where flat Fourier operators fail after 25 simulated days. It provides the GPU harmonic transforms we build on. However, it was only tested on weather fields and used no connectivity readout.
  • The functional approach to equivariant nonlinearities applies nonlinearities by transforming coefficients back to a sampled sphere and back again. We use it rather than norm-only activations, which it shows discard directional information.

Two spherical papers constrain the design.

  • DeepSphere argues that isotropic graph filters are sufficient and fast. This directly contradicts our claim, and we test it head on as an ablation.
  • GESH-Net shows that harmonic truncation erases sharp cortical folds and must be compensated. It also shows spherical harmonic networks run in about 2 seconds on HCP surfaces, which answers the cost objection. It handles only static anatomy.

Research Program

Input representation. We use HCP minimally preprocessed surface fMRI, resampled on each hemisphere's registered sphere. Each frame is a scalar field. We expand it in spherical harmonics up to a maximum degree chosen by a sweep (roughly 32 to 96), trading detail against cost as FER and GESH-Net warn.

Spatial encoder. The first layer applies learned anisotropic filters, lifting each frame from the sphere to the rotation group. The result is a response for every location and every in-plane orientation. Deeper layers convolve on the rotation group. Nonlinearities follow the functional sample-apply-transform approach.

Temporal model and readout. A causal temporal module (dilated temporal convolution over coefficient channels) replaces sliding windows. The time scale is therefore learned rather than fixed by a window length.

At each time step the network produces two outputs:

  • an invariant activity summary;
  • a tangent direction field, read off from the orientation channel with the strongest response and its magnitude.

We define a "flow state" by clustering these per-time fields, pooled into equivariant descriptors, across subjects. This yields occupancy and transition statistics directly comparable to dynamic-connectivity state analyses. The two hemispheres get separate spherical encoders, joined by cross-attention on pooled invariant features. Task heads read out from temporally attended invariant features, and training is end to end, which avoids the decoupling problem noted for BrainATCL.

Symmetry-breaking ablation. Real brains are registered, so absolute location carries information. We therefore add an optional learned positional channel in template coordinates. We report how much performance depends on it, which separates "local directions need a consistent frame" from "global position matters."

Baselines

Static reference. The naive point is a static Pearson connectome fed to GIN, run on the same subjects and splits. On HCP-Rest gender classification, STAGIN reports 81.34% accuracy for static GIN (STAGIN). We rerun it rather than copy the number, so preprocessing matches.

Strongest dynamic competitor. This is STAGIN-SERO, which reports 88.20% accuracy and 0.9296 AUROC on HCP-Rest gender, and 99.19% on HCP-Task seven-class decoding. It is the strongest competitor because it is end-to-end, dynamic, and tested on exactly our data. We run it from the same minimally preprocessed data using the Schaefer parcellation, with a matched parameter count and hyperparameter search budget.

We strengthen it with lagged and rank correlations as edge features, following the data-centric design space of Ge et al.. That design space lifts a GCN on ABIDE from 60.00% to 65.86%, and it gives the region model its own route to directionality.

On ABIDE and ADHD-200 we also run BRep with fixed-length truncation, as its authors require. BRep reports a 2.14% ADHD-200 gain over the prior best, but gives no absolute ABIDE figure, so no reported result was found on Lacuna for BRep's ABIDE accuracy.

Beating the baselines. Beating STAGIN means a statistically significant accuracy and AUROC gain over five seeds on our rerun of HCP-Rest. Matching it while winning clearly on the propagation and pole-invariance checks below also counts as a meaningful result. It does not count as a win on accuracy.

Ablations isolating the key ingredient. The first ablation is the same architecture with isotropic filters only (DeepSphere-style), which removes directionality. The second keeps anisotropic filters but orients them in a fixed latitude-longitude frame, which removes equivariance while keeping directionality. The third is our full model with and without the positional channel.

Why not just…?

Why not just add lagged correlations to a region-based dynamic graph? This is the most serious threat. Lags between regions do encode propagation direction, and the data-centric results show they help. Their resolution is limited to region centroids, though, and they cannot see waves that stay within a region or run along its boundary. The synthetic-wave experiment and the direction-field comparison below settle this directly. If the lag-augmented STAGIN matches our model on real-data benchmarks and on propagation recovery at realistic wave scales, we will conclude the surface model is not needed.

Why not just use DeepSphere's isotropic filters, which are cheaper? DeepSphere shows isotropy suffices for static shape and climate tasks. Isotropic filters, however, are blind by construction to which way a pattern moves. The isotropic ablation measures what that blindness costs on propagation recovery and on clinical tasks. If the cost is negligible, the cheaper model wins and we will say so.

Why not just use anisotropic filters in a fixed latitude-longitude frame, or augment with rotations? A fixed frame is singular at the poles. Its meaning also depends on where the inflation software happens to put them. Augmentation only approximately teaches consistency, a fragility argued in the computer-vision special issue. The pole-relocation test below measures this directly, because a fixed-frame model's predictions should drift as the poles move over the cortex.

Proposed Experiments

Synthetic travelling waves. We simulate travelling waves on real HCP spheres, with known direction, speed, and spatial scale, embedded in real resting-state noise. We score the angular error of recovered direction fields and wave-versus-no-wave detection AUROC. This is scored against lag-based region models, the isotropic ablation, and the fixed-frame ablation, across wave scales from sub-region to multi-region.

Pole relocation. We re-express each subject's data under 20 random rotations of the template sphere, which moves the poles to different cortical locations. We then measure the variance of subject-level predictions and the change in accuracy. The equivariant model should be invariant up to sampling error. The fixed-frame model is predicted to degrade near wherever the poles fall.

Benchmarks. We run HCP-Rest gender classification and HCP-Task decoding. Since the latter is near ceiling at 99.19%, we report it on shortened segments to make it discriminative. We add ABIDE and ADHD-200 diagnosis under leave-site-out splits, which probe whether parcellation-free representations transfer across scanners better than region graphs.

Flow-state validity. As an interpretability check, we test whether flow-state occupancy differs between patients and controls on ABIDE. We compare the effect sizes with those from standard windowed state analyses on the same subjects, following Zhi et al. Their MDD cohort is not in our benchmark set, so we do not claim to replicate their result.

What would falsify the proposal. The proposal fails if both of the following hold. First, the lag-augmented region model or the isotropic ablation matches the full model on wave recovery at realistic scales. Second, the full model's clinical gains vanish once the positional channel is removed. Together, these would show that direction-aware equivariance buys nothing beyond what cheaper models already capture.