Topological Inference
Guillaume Flandin
Wellcome Trust Centre for Neuroimaging
University College London
With thanks to Justin Chumbley and Tom Nichols
SPM Course
London, May 2015
π¦=π
Preprocessings
π½+π
General
Linear
Model
π½ = ππ π
β1
Random
Contrast c Field Theory
Statistical
Inference
ππ π¦
ππ
π
π2 =
ππππ(π)
πππ{π, πΉ}
Statistical Parametric Maps
frequency
time
mm
fMRI, VBM,
M/EEG source reconstruction
M/EEG 2D time-frequency
time
mm
M/EEG 1D channel-time
M/EEG
2D+t
scalp-time
mm
mm
mm
time
Inference at a single voxel
u
Null Hypothesis H0:
zero activation
Decision rule (threshold) u:
determines false positive
rate Ξ±
ο Choose u to give acceptable
Ξ± under H0
Null distribution of test statistic T
πΌ = π(π‘ > π’|π»0 )
Multiple tests
uο‘u
ο‘
u
t
t
t
t
t
ο‘
u
ο‘
uο‘u
ο‘
ο‘
ο‘
ο‘
ο‘
ο‘
ο‘
If we have 100,000 voxels,
Ξ±=0.05
ο 5,000 false positive voxels.
This is clearly undesirable; to correct
for this we can define a null hypothesis
for a collection of tests.
t
Noise
Signal
Multiple tests
uο‘u
ο‘
u
t
t
t
t
t
ο‘
u
ο‘
uο‘u
ο‘
ο‘
ο‘
ο‘
ο‘
ο‘
ο‘
If we have 100,000 voxels,
Ξ±=0.05
ο 5,000 false positive voxels.
This is clearly undesirable; to correct
for this we can define a null hypothesis
for a collection of tests.
t
Use of βuncorrectedβ p-value, Ξ± =0.1
11.3%
11.3%
12.5% 10.8% 11.5% 10.0% 10.7% 11.2%
Percentage of Null Pixels that are False Positives
10.2%
9.5%
Family-Wise Null Hypothesis
Family-Wise Null Hypothesis:
Activation is zero everywhere
If we reject a voxel null hypothesis at any voxel,
we reject the family-wise Null hypothesis
A FP anywhere in the image gives a Family Wise Error (FWE)
Family-Wise Error rate (FWER) = βcorrectedβ p-value
Use of βuncorrectedβ p-value, Ξ± =0.1
Use of βcorrectedβ p-value, Ξ± =0.1
FWE
Bonferroni correction
The Family-Wise Error rate (FWER), Ξ±FWE, for a family of N
tests follows the inequality:
πΌπΉππΈ β€ ππΌ
where Ξ± is the test-wise error rate.
Therefore, to ensure a particular FWER choose:
πΌπΉππΈ
πΌ=
π
This correction does not require the tests to be independent but
becomes very stringent if dependence.
Spatial correlations
100 x 100 independent tests
Spatially correlated tests (FWHM=10)
Discrete data
Spatially extended data
Bonferroni is too conservative for spatial correlated data.
0.05
10,000 voxels ο Ξ±π΅πππΉ = 10,000οπ’π = 4.42 (uncorrected π’ = 1.64)
Random Field Theory
ο Consider a statistic image as a discretisation of a
continuous underlying random field.
ο Use results from continuous random field theory.
lattice
representation
Topological inference
Peak level inference
Topological feature:
Peak height
space
Topological inference
Cluster level inference
Topological feature:
Cluster extent
uclus : cluster-forming threshold
uclus
space
Topological inference
Set level inference
Topological feature:
Number of clusters
uclus : cluster-forming threshold
uclus
space
c
RFT and Euler Characteristic
Euler Characteristic ππ’ :
ο§ Topological measure
ππ’ = # blobs - # holes
ο§ at high threshold u:
ππ’ = # blobs
πΉππΈπ
= π πΉππΈ
β πΈ ππ’
Expected Euler Characteristic
2D Gaussian Random Field
πΈ ππ’ = π Ξ© Ξ
Search volume
1 2
π’ exp(βπ’2 /2)/(2π)3/2
Roughness
(1/smoothness)
100 x 100 Gaussian Random Field
with FWHM=10 smoothing
Ξ±πΉππΈ = 0.05 ο π’π
πΉπ = 3.8
(π’π΅πππΉ = 4.42, π’π’πππππ = 1.64)
Threshold
Smoothness
Smoothness parameterised in terms of FWHM:
Size of Gaussian kernel required to smooth i.i.d. noise to have
same smoothness as observed null (standardized) data.
FWHM
RESELS (Resolution Elements):
1 RESEL = πΉππ»ππ₯ πΉππ»ππ¦ πΉππ»ππ§
RESEL Count R = volume of search region in units of smoothness
1
2
3
4
5
6
7
8
9
10
Eg: 10 voxels, 2.5 FWHM, 4 RESELS
2
3
4
The number of resels is similar, but not identical
to the number independent observations.
voxels
data matrix
scans
=
design matrix
1
ο΄
Y = X
?
parameters
+
ο’
+
errors
?
ο₯
variance
Smoothness estimated from spatial
derivatives of standardised residuals:
Yields an RPV image containing local roughness
estimation.
ο estimate
ο
parameter
estimates
^
ο’
ο
οΈ
=
residuals
estimated variance
estimated
component
fields
s2
Random Field intuition
Corrected p-value for statistic value t
ππ = π max π > π‘
β πΈ ππ‘
β π Ξ© Ξ 1 2 π‘ exp(βπ‘ 2 /2)
ο± Statistic value t increases ?
β ππ decreases (better signal)
ο± Search volume increases ( ο¬(ο) β ) ?
β ππ increases (more severe correction)
ο± Smoothness increases ( |ο|1/2 β ) ?
β ππ decreases (less severe correction)
Random Field: Unified Theory
General form for expected Euler characteristic
β’ t, F & ο£2 fields β’ restricted search regions β’ D dimensions β’
π·
πΈ ππ’ (Ξ©) =
π
π (Ξ©)Οπ (π’)
π=0
Rd (ο): d-dimensional Lipschitz-Killing
curvatures of ο (β intrinsic volumes):
β function of dimension,
space ο and smoothness:
R0(ο) = ο£(ο) Euler characteristic of ο
R1(ο) = resel diameter
R2(ο) = resel surface area
R3(ο) = resel volume
rd (u) : d-dimensional EC density of the field
β function of dimension and threshold,
specific for RF type:
E.g. Gaussian RF:
r0(u) = 1- ο(u)
r1(u) = (4 ln2)1/2 exp(-u2/2) / (2p)
r2(u) = (4 ln2) u exp(-u2/2) / (2p)3/2
r3(u) = (4 ln2)3/2 (u2 -1) exp(-u2/2) / (2p)2
r4(u) = (4 ln2)2 (u3 -3u) exp(-u2/2) / (2p)5/2
ο
Peak, cluster and set level inference
Sensitivity
Regional
specificity
Peak level test:
height of local maxima
Cluster level test:
spatial extent above u
Set level test:
number of clusters
above u
: significant at the set level
: significant at the cluster level
: significant at the peak level
L1 > spatial extent threshold
L2 < spatial extent threshold
ο
ο
Random Field Theory
ο± The statistic image is assumed to be a good lattice
representation of an underlying continuous stationary
random field.
Typically, FWHM > 3 voxels
(combination of intrinsic and extrinsic smoothing)
ο± Smoothness of the data is unknown and estimated:
very precise estimate by pooling over voxels ο stationarity
assumptions (esp. relevant for cluster size results).
ο± A priori hypothesis about where an activation should be,
reduce search volume ο Small Volume Correction:
β’
β’
β’
β’
mask defined by (probabilistic) anatomical atlases
mask defined by separate "functional localisers"
mask defined by orthogonal contrasts
(spherical) search volume around previously reported coordinates
Conclusion
ο± There is a multiple testing problem and corrections have
to be applied on p-values (for the volume of interest only
(see SVC)).
ο± Inference is made about topological features (peak height,
spatial extent, number of clusters).
Use results from the Random Field Theory.
ο± Control of FWER (probability of a false positive anywhere
in the image) for a space of any dimension and shape.
References
ο± Friston KJ, Frith CD, Liddle PF, Frackowiak RS. Comparing functional
(PET) images: the assessment of significant change. J Cereb Blood Flow
Metab, 1991.
ο± Worsley KJ, Marrett S, Neelin P, Vandal AC, Friston KJ, Evans AC. A
unified statistical approach for determining significant signals in images of
cerebral activation. Human Brain Mapping, 1996.
ο± Taylor JE and Worsley KJ. Detecting Sparse Signals in Random Fields,
with an Application to Brain Mapping. J. Am. Statist. Assoc., 2007.
ο± Chumbley J & Friston KJ. False Discovery Rate Revisited: FDR and
Topological Inference Using Gaussian Random Fields. NeuroImage, 2008
ο± Chumbley J, Worsley KJ , Flandin G, and Friston KJ. Topological FDR for
neuroimaging. NeuroImage, 2010.
ο± Flandin G &Friston KJ. Topological Inference. Brain Mapping: An
Encyclopedic Reference, 2015.
© Copyright 2025 Paperzz