Detecting connectivity between images: MS lesions, cortical thickness, and the 'bubbles' task in an fMRI experiment Keith Worsley, Math + Stats, Arnaud Charil, Montreal Neurological Institute, McGill Philippe Schyns, Fraser Smith, Psychology, Glasgow Jonathan Taylor, Stanford and Université de Montréal What is ‘bubbles’? Nature (2005) Subject is shown one of 40 faces chosen at random … Happy Sad Fearful Neutral … but face is only revealed through random ‘bubbles’ First trial: “Sad” expression Sad 75 random Smoothed by a bubble centres Gaussian ‘bubble’ What the subject sees 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Subject is asked the expression: Response: “Neutral” Incorrect Your turn … Trial 2 Subject response: “Fearful” CORRECT Your turn … Trial 3 Subject response: “Happy” INCORRECT (Fearful) Your turn … Trial 4 Subject response: “Happy” CORRECT Your turn … Trial 5 Subject response: “Fearful” CORRECT Your turn … Trial 6 Subject response: “Sad” CORRECT Your turn … Trial 7 Subject response: “Happy” CORRECT Your turn … Trial 8 Subject response: “Neutral” CORRECT Your turn … Trial 9 Subject response: “Happy” CORRECT Your turn … Trial 3000 Subject response: “Happy” INCORRECT (Fearful) Bubbles analysis E.g. Fearful (3000/4=750 trials): 1 Trial 4 + 5 + 2 + 3 + + 6 + 7 + … + 750 1 = Sum 300 0.5 200 0 100 250 200 150 100 50 Correct trials Proportion of correct bubbles =(sum correct bubbles) /(sum all bubbles) 0.75 Thresholded at proportion of 0.7 correct trials=0.68, 0.65 scaled to [0,1] 1 Use this as a 0.5 bubble mask 0 Results Mask average face Happy Sad Fearful Neutral But are these features real or just noise? Need statistics … Statistical analysis Correlate bubbles with response (correct = 1, incorrect = 0), separately for each expression Equivalent to 2-sample Z-statistic for correct vs. incorrect bubbles, e.g. Fearful: Z~N(0,1) Trial 1 2 3 4 5 6 7 … 750 1 0.5 0 1 1 Response 0 1 statistic 4 2 0 -2 0 1 1 … 1 0.75 Very similar to the proportion of correct bubbles: 0.7 0.65 Comparison Both depend on average correct bubbles, rest is ~ constant Z=(Average correct bubbles -average incorrect bubbles) / pooled sd 4 2 0 -2 Proportion correct bubbles = Average correct bubbles / (average all bubbles * 4) 0.75 0.7 0.65 Results Thresholded at Z=1.64 (P=0.05) Happy Average face Sad Fearful Neutral Z~N(0,1) statistic 4.58 4.09 3.6 3.11 2.62 2.13 1.64 Multiple comparisons correction? Need random field theory … Euler Characteristic = #blobs - #holes Excursion set {Z > threshold} for neutral face EC = 0 30 Euler Characteristic 20 0 -7 -11 13 14 9 1 0 Heuristic: At high thresholds t, the holes disappear, EC ~ 1 or 0, E(EC) ~ P(max Z > t). Observed Expected 10 0 -10 -20 -4 -3 -2 -1 0 Threshold 1 2 • Exact expression for E(EC) for all thresholds, • E(EC) ~ P(max Z > t) 3 4accurate. is extremely The details … 2 Tube(S,r) r S 3 A B 6 Λ is big TubeΛ(S,r) S Λ is small r ν 2 U(s1) S S s1 Tube s2 s3 Tube U(s2) U(s3) Z2 R r Tube(R,r) Z1 N2(0,I) Tube(R,r) R t-r z t z1 RR Tube(R,r) r z2 z3 Summary Random field theory results For searching in D (=2) dimensions, P-value of max Z is (Adler, 1981; W, 1995): P(max Z > z) Resels (=Lipschitz-Killing curvature/c) is Image area / (bubble FWHM)2 = 146.2 Euler characteristic density(×c) is ~ E( Euler characteristic of thresholded set ) = Resels × Euler characteristic density (+ boundary) (4 log(2))D/2 zD-1 exp(-z2/2) / (2π)(D+1)/2 See forthcoming book Adler, Taylor (2007) Results, corrected for search Thresholded at Z=3.92 (P=0.05) Happy Average face Sad Fearful Neutral Z~N(0,1) statistic 4.58 4.47 4.36 4.25 4.14 4.03 3.92 Bubbles task in fMRI scanner Correlate bubbles with BOLD at every voxel: Trial 1 2 3 4 5 6 7 … 3000 1 0.5 0 fMRI 10000 0 Calculate Z for each pair (bubble pixel, fMRI voxel) – a 5D “image” of Z statistics … Discussion: thresholding Thresholding in advance is vital, since we cannot store all the ~1 billion 5D Z values Resels=(image resels = 146.2) × (fMRI resels = 1057.2) for P=0.05, threshold is Z = 6.22 (approx) The threshold based on Gaussian RFT can be improved using new non-Gaussian RFT based on saddle-point approximations (Chamandy et al., 2006) Model the bubbles as a smoothed Poisson point process The improved thresholds are slightly lower, so more activation is detected Only keep 5D local maxima Z(pixel, voxel) > Z(pixel, 6 neighbours of voxel) > Z(4 neighbours of pixel, voxel) Discussion: modeling The random response is Y=1 (correct) or 0 (incorrect), or Y=fMRI The regressors are Xj=bubble mask at pixel j, j=1 … 240x380=91200 (!) Logistic regression or ordinary regression: logit(E(Y)) or E(Y) = b0+X1b1+…+X91200b91200 But there are only n=3000 observations (trials) … Instead, since regressors are independent, fit them one at a time: logit(E(Y)) or E(Y) = b0+Xjbj However the regressors (bubbles) are random with a simple known distribution, so turn the problem around and condition on Y: E(Xj) = c0+Ycj Equivalent to conditional logistic regression (Cox, 1962) which gives exact inference for b1 conditional on sufficient statistics for b0 Cox also suggested using saddle-point approximations to improve accuracy of inference … Interactions? logit(E(Y)) or E(Y)=b0+X1b1+…+X91200b91200+X1X2b1,2+ … MS lesions and cortical thickness Idea: MS lesions interrupt neuronal signals, causing thinning in down-stream cortex Data: n = 425 mild MS patients Lesion density, smoothed 10mm Cortical thickness, smoothed 20mm Find connectivity i.e. find voxels in 3D, nodes in 2D with high correlation(lesion density, cortical thickness) Look for high negative correlations … n=425 subjects, correlation = -0.568 Average cortical thickness 5.5 5 4.5 4 3.5 3 2.5 2 1.5 0 10 20 30 40 50 60 Average lesion volume 70 80 Thresholding? Cross correlation random field Correlation between 2 fields at 2 different locations, searched over all pairs of locations one in R (D dimensions), one in S (E dimensions) sample size n Cao & Worsley, Annals of Applied Probability (1999) MS lesion data: P=0.05, c=0.325 Normalization LD=lesion density, CT=cortical thickness Simple correlation: Subtracting global mean thickness: Cor( LD, CT ) Cor( LD, CT – avsurf(CT) ) And removing overall lesion effect: Cor( LD – avWM(LD), CT – avsurf(CT) ) 0.1 correlation 0 5 x 10 2.5 2 -0.1 1.5 -0.2 1 -0.3 threshold -0.4 -0.5 0 50 100 150 Different hemisphere 0.1 5 x 10 2.5 0 correlation Histogram Same hemisphere -0.1 2 -0.2 1.5 -0.3 1 0.5 -0.4 0 -0.5 0 threshold 50 100 150 0.5 0 ‘Conditional’ histogram: scaled to same max at each distance 0.1 1 -0.1 0.6 -0.2 0.4 -0.3 -0.4 -0.5 0 threshold 50 100 150 distance (mm) 1 0 0.8 correlation correlation 0 0.1 0.8 -0.1 0.6 -0.2 0.4 -0.3 0.2 -0.4 0 -0.5 0 threshold 50 100 150 distance (mm) 0.2 0 Science (2004) fMRI activation detected by correlation between subjects at the same voxel The average nonselective time course across all activated regions obtained during the first 10 min of the movie for all five subjects. Red line represents the across subject average time course. There is a striking degree of synchronization among different individuals watching the same movie. Voxel-by-voxel intersubject correlation between the source subject (ZO) and the target subject (SN). Correlation maps are shown on unfolded left and right hemispheres (LH and RH, respectively). Color indicates the significance level of the intersubject correlation in each voxel. Black dotted lines denote borders of retinotopic visual areas V1, V2, V3, VP, V3A, V4/V8, and estimated border of auditory cortex (A1).The face-, object-, and building-related borders (red, blue, and green rings, respectively) are also superimposed on the map. Note the substantial extent of intersubject correlations and the extension of the correlations beyond visual and auditory cortices. What are the subjects watching during high activation? Faces … … buildings … … hands Thresholding? Homologous correlation random field Correlation between 2 equally smooth fields at the same location, searched over all locations in R (in D dimensions) Cao & Worsley, Annals of Applied Probability (1999) P-values are larger than for the usual correlation field (correlation between a field and a scalar) E.g. resels=1000, df=100, threshold=5, usual P=0.051, homologous P=0.139 Detecting Connectivity between Images: the 'Bubbles' Task in fMRI Keith Worsley, McGill Phillipe Schyns, Fraser Smith, Glasgow Subject is shown one of 40 faces chosen at random … Happy Sad Fearful Neutral … but face is only revealed through random ‘bubbles’ E.g. first trial: “Sad” expression: Sad 75 random Smoothed by a What the bubble centres Gaussian ‘bubble’ subject sees 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Subject is asked the expression: Response: “Neutral” Incorrect=0