Manuscript Offprint

arXiv:2610.24085

GLOW: General Linear Models Optimized with Ward's Method

Matt Higger

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Matt Higger 1∗^{1*}

1^{1}Khoury College of Computer Sciences, Northeastern University,

Boston, MA 02115, USA

*Correspondence: mhigger@ccs.neu.edu

ORCID: 0000-0001-6384-9114

October 20, 2026

Keywords: general linear model, MANCOVA, permutation inference, family-wise error rate, Ward's method, hierarchical segmentation

Abstract: Identifying brain regions whose imaging features correlate with variables of interest (e.g. diagnosis, age) is a central goal of neuroimaging, usually pursued with the General Linear Model (GLM). Region-Based Analysis dilutes or splits any effect which does not fill exactly one atlas region. Voxel-Based Analysis (VBA), with Cluster Extent Thresholding (CET) and Threshold-Free Cluster Enhancement (TFCE) built on it, fits a GLM per voxel and groups adjacent significant voxels. But neighboring voxels can share a statistic without sharing a GLM, and a per-voxel statistic cannot tell them apart. GLOW (General Linear Models Optimized with Ward's method) instead builds a hierarchy of nested regions by greedily minimizing GLM error, which we show is a special case of Ward's clustering. Maximum-statistic (Westfall-Young) permutation controls family-wise error over all regions. Significance spreads through the hierarchy, to an effect's nested fragments and the regions containing it. GLOW's final step seeks to prune away these distractions to output whole, pure effect extent estimates. We validate GLOW by planting synthetic effects of known extent and varying strength in diffusion images from the Human Connectome Project (HCP) and in white noise. Pruning delivers wholeness on spatially consistent effects: GLOW returns one as a single region on 57% of HCP trials against the best baseline's 35%; the baselines recover comparable volume, but in many pure pieces. The cost is positive predictive value (PPV): GLOW is more sensitive (by up to 0.29), but its regions overrun the effect, mostly because no region of the hierarchy isolates the effect rather than because of the pruning. On HCP, GLOW's average Dice gains 0.059 over the best baseline at weaker effects and gives back 0.005 at stronger ones. On white noise, GLOW trails severely, as much as 0.61: its hierarchy holds the effect, but its permutation test does not certify it. Its runtime grows roughly linearly with voxel count, reaching about four and a half times that of the voxel-wise methods on the full HCP volume. The PPV loss may trace to the assumption of spatially independent residuals.

1 INTRODUCTION

1 Introduction

A fundamental aim of neuroimaging research is to identify how independent variables (e.g. age, diagnosis, or behavioral measures) influence brain structure (Ashburner & Friston, 2000; Friston et al., 1995). For example, white-matter microstructure, as measured by fractional anisotropy (FA) or mean diffusivity (MD), may differ between clinical groups or correlate with behavioral scores (Smith et al., 2006). Such a study images a set of individuals whose independent variable varies, then registers those images into a common anatomical space (Avants et al., 2011; Jenkinson et al., 2002). Throughout this work, we assume that registration has already been done.

The General Linear Model (GLM) provides a unified framework for testing whether image intensities correlate with independent variables after controlling for confounds (Friston et al., 1995; Worsley et al., 2002). By encoding hypotheses in a design-matrix/contrast framework, the GLM supports t-tests, ANOVA, multiple regression, and factorial designs, with nuisance regressors explicitly adjusting for covariates such as age, sex, or acquisition site.

Before applying a GLM, one must decide how to group voxels for analysis. Region-Based Analyses (RBA) define regions a priori, typically from anatomical atlases (Desikan et al., 2006; Glasser et al., 2016; Tzourio-Mazoyer et al., 2002). Each region's GLM tests whether an effect exists uniformly across its voxels. Statistical power suffers in two complementary ways: including non-effect voxels in a region dilutes the signal, while splitting a single effect across atlas boundaries fragments it (Eickhoff et al., 2018). Both errors are to be expected: atlas boundaries track anatomy, not the unknown extent of some effect.

Voxel-Based Analyses (VBA) sidestep atlas dependence by fitting a GLM at every voxel and gluing adjacent, significant voxels together post hoc (Ashburner & Friston, 2000; Friston et al., 1995). A central challenge for VBA is incorporating spatial scale: a lone island of significance is more likely to be a false positive than a large, contiguous continent of significant voxels. Cluster Extent Thresholding (CET) (Forman et al., 1995; Friston et al., 1994) and Threshold-Free Cluster Enhancement (TFCE) (Smith & Nichols, 2009) act as spatial regularization steps on top of VBA, favoring continents over islands. CET thresholds the statistic map and keeps those clusters of suprathreshold voxels whose extent is unlikely under the null. TFCE sidesteps the choice of any one threshold by using all of them: each voxel's statistic is enhanced in proportion to the extent of the suprathreshold clusters containing it, accumulated over every threshold. Because each voxel is tested on its own, the resulting map must be corrected for a massive number of comparisons. The family-wise error rate (FWER) (T. Nichols & Hayasaka, 2003) is controlled either parametrically, via Random Field Theory (Worsley, Marrett, Neelin, Vandal, et al., 1996), or nonparametrically, via permutation (T. E. Nichols & Holmes, 2002; Winkler et al., 2014). Multivariate data fit the same voxel-wise template: PALM tests several imaging features jointly at each voxel, via either classical multivariate statistics or non-parametric combination (Winkler et al., 2016), still leaving the single voxel as the unit of inference.

VBA's first aggregation across voxels comes before any test: each image is smoothed with a Gaussian kernel, so every voxel's statistic already averages its neighbors. By the matched filter theorem (Turin,

1960), smoothing best detects a signal when the kernel matches the signal's own extent: wide effects want a wide kernel, narrow effects a narrow one (Friston, 2004; Worsley, Marrett, Neelin, & Evans, 1996). That extent is not known a priori, so the analyst fixes one width in advance for the whole image, and conclusions can turn on the choice: kernels of 0 to 16 mm led one diffusion data set to four different conclusions (Jones et al., 2005). We smooth each voxel-wise baseline at the width which serves it best on our data (Appendix D).

VBA and the cluster methods built on it share a clear advantage over RBA: their output regions can mold to the contours of effects present in the data. But pooling per-voxel statistics, as CET and TFCE do, or blurring the images each voxel's model is fit to, as smoothing does, is not the same as fitting one model across voxels. A per-voxel statistic is all VBA ever sees of a voxel's GLM, and there is plenty of wiggle room among GLMs which share an F-statistic (Fig 1).

Effect A

Figure

Age

Effect B

Figure

Age

Effect C

Figure

Age

Pooled

Figure

Age

identical F-statistics

Figure 1: Toy example: three voxels whose effects (A, B, C) are distinct yet share the same F-statistic. Pooling across voxels reveals their heterogeneity.

Consider the three neighboring voxels of Fig 1, whose effects A, B, and C are clearly distinct yet produce an identical per-voxel statistic. Seeing three identical statistics, VBA is encouraged to glue the voxels together into a single output. The statistic is a bottleneck: whatever passes through it cannot tell VBA whether neighboring voxels agree on a model, so VBA can neither reward that agreement nor penalize its absence.

The bottleneck costs detection power, not only interpretation. Under the null, where imaging features carry no correlation with the independent variables, n contiguous voxels which each reach F = 100 under one shared effect A are rarer than n contiguous voxels which each reach F = 100 under whatever model they please; the first event is contained in the second. A per-voxel test draws its null from the second, looser event, so the permuted images are free to cobble together unrelated GLMs and compete with the observed statistic. Asking the voxels to agree on a model narrows what the null can offer, which is the power GLOW is after.

Cluster-wise inference has known weaknesses: Woo et al. (2014) and Eklund et al. (2016) show that it

2 PROBLEM & ANALYSIS

can inflate false-positive rates and pool heterogeneous signals. A more principled remedy comes from All-Resolutions Inference (ARI) and its true-discovery-proportion descendants, which report a lower bound on the fraction of truly active voxels holding simultaneously for any region the analyst selects (Blain et al., 2022; Rosenblatt et al., 2018). Yet the bound is a proportion, not a partition: for whatever region the analyst queries it reports how many voxels are active, never which ones.

Data-driven parcellation approaches, including spatially constrained clustering (Craddock et al., 2012; Michel et al., 2012; Schaefer et al., 2018; Thirion et al., 2014), address the atlas-dependence problem but do not optimize regions specifically for GLM fit (Eickhoff et al., 2018). 1^{1} Our objective is to construct regions whose voxels follow one spatially homogeneous GLM. GLOW (General Linear Models Optimized with Ward's method) does so by building a hierarchical segmentation which greedily minimizes each region's GLM mean-squared error, via Ward's agglomerative clustering (Ward Jr, 1963); in practice it measures that error only along the variables of interest (Section 3.2). The significance of all regions is evaluated with the same permutation machinery used for voxel-wise inference: Freedman–Lane residualization (Freedman & Lane, 1983) and Westfall-Young max-statistic FWER (Westfall & Young, 1993), as set out by Winkler et al. (2014). The only change is that this machinery is applied to GLOW's data-derived regions rather than to fixed voxels or threshold-formed clusters. GLOW is multivariate as well: it analyzes several imaging features jointly (e.g. fractional anisotropy and mean diffusivity) within the GLM/MANCOVA framework (Rencher & Christensen, 2012), as PALM's multivariate tests do at the voxel level (Winkler et al., 2016).

We validate GLOW by imposing synthetic effects onto image sets of known ground truth and comparing detection performance against VBA, CET and TFCE. One image set honors our statistical assumptions (white Gaussian noise); the other carries the spatial correlations of real data (diffusion images from the Human Connectome Project (Van Essen et al., 2013)). In the remainder of the paper we analyze the GLM in the special case here where every voxel shares one design matrix (Section 2), describe GLOW's method (Section 3), present experiments and results (Sections 4 and 5), and discuss how spatial dependence and region selection limit GLOW (Section 6).

References (73)