Keywords: AI Diffusion Models, Machine Learning/Artificial Intelligence, fMRI, xAI, diffusion, transformers
Motivation: Deep-learning classifiers for functional MRI (fMRI) offer state-of-the-art performance in detection of cognitive states from BOLD responses, but their black-box nature hinders interpretation of results.
Goal(s): Our goal was to devise a reliable method to infer the important BOLD-response attributes that drive the decisions of deep fMRI classifiers.
Approach: We introduced a novel counterfactual explanation method (DreaMR) based on a new fractional, distilled diffusion prior for efficient generation of high-fidelity counterfactual samples.
Results: DreaMR generated more specific and plausible explanations of deep fMRI classifiers trained for resting-state and task-based fMRI analysis than previous state-of-the-art explanation methods.
Impact: The improvement in sensitivity, plausability and efficiency in explanation of deep classifiers through DreaMR may facilitate adoption of AI-based analyses in fMRI studies, thereby benefiting assessment of cognitive processes in both normal and neurological disease states.
[1] J. W. Belliveau, D. N. Kennedy, R. C. McKinstry, B. R. Buchbinder, R. M. Weisskoff, M. S. Cohen, J. M. Vevea, T. J. Brady, and B. R. Rosen, “Functional Mapping of the Human Visual Cortex by Magnetic Resonance Imaging,” Science, vol. 254, no. 5032, pp. 716–719, 1991.
[2] S. Ogawa, D. W. Tank, R. Menon, J. M. Ellermann, S. G. Kim, H. Merkle, and K. Ugurbil, “Intrinsic signal changes accompanying sensory stimulation: Functional brain mapping with magnetic resonance imaging,” Proc. Natl. Acad. Sci. U. S. A., vol. 89, no. 13, pp. 5951–5955, 1992.
[3] S. D. Forman, J. D. Cohen, M. Fitzgerald, W. F. Eddy, M. A. Mintun, and D. C. Noll, “Improved Assessment of Significant Activation in Functional Magnetic Resonance Imaging (fMRI): Use of a Cluster‐Size Threshold,” Magn. Reson. Med., vol. 33, no. 5, pp. 636–647, 1995.
[4] K. L. Miller, B. A. Hargreaves, J. Lee, D. Ress, R. C. DeCharms, and J. M. Pauly, “Functional brain imaging using a blood oxygenation sensitive steady state,” Magn. Reson. Med., vol. 50, no. 4, pp. 675–683, Oct. 2003.
[5] S. Makni, J. Idier, T. Vincent, B. Thirion, G. Dehaene-Lambertz, and P. Ciuciu, “A fully Bayesian approach to the parcel-based detection-estimation of brain activity in fMRI,” Neuroimage, vol. 41, no. 3, pp. 941–969, Jul. 2008.
[6] M. Bianciardi, M. Fukunaga, P. van Gelderen, S. G. Horovitz, J. A. de Zwart, K. Shmueli, and J. H. Duyn, “Sources of functional magnetic resonance imaging signal fluctuations in the human brain at rest: a 7 T study,” Magn. Reson. Imaging, vol. 27, no. 8, pp. 1019–1029, Oct. 2009.
[7] C. Y. Wee, P. T. Yap, D. Zhang, K. Denny, J. N. Browndyke, G. G. Potter, K. A. Welsh-Bohmer, L. Wang, and D. Shen, “Identification of MCI individuals using structural and functional connectivity networks,” Neuroimage, vol. 59, no. 3, pp. 2045–2056, Feb. 2012.
[8] W. T. Chang, A. Nummenmaa, T. Witzel, J. Ahveninen, S. Huang, K. W. K. Tsai, Y. H. Chu, J. R. Polimeni, J. W. Belliveau, and F. H. Lin, “Whole-head rapid fMRI acquisition using echo-shifted magnetic resonance inverse imaging,” Neuroimage, vol. 78, pp. 325–338, Sep. 2013.
[9] F. Wang, Z. Dong, L. L. Wald, J. R. Polimeni, and K. Setsompop, “Simultaneous pure T2 and varying T2′-weighted BOLD fMRI using Echo Planar Time-resolved Imaging for mapping cortical-depth dependent responses,” Neuroimage, vol. 245, Dec. 2021.
[10] M. Chiew, S. M. Smith, P. J. Koopmans, N. N. Graedel, T. Blumensath, and K. L. Miller, “k-t FASTER: Acceleration of functional MRI data acquisition using low rank constraints,” Magn. Reson. Med., vol. 74, no. 2, pp. 353–364, Aug. 2015.
[11] H. Huang, X. Hu, Y. Zhao, M. Makkie, Q. Dong, S. Zhao, Y. Zhao, J. Han, L. Guo, and T. Liu, “Modeling task fMRI data via deep convolutional autoencoder,” IEEE Trans Med Imaging, vol. 37, no. 7, pp. 1551–1561, 2017.
[12] S. Parisot, S. I. Ktena, E. Ferrante, M. Lee, R. Guerrero, B. Glocker, and D. Rueckert, “Disease prediction using graph convolutional networks: application to autism spectrum disorder and Alzheimer’s disease,” Med Image Anal, vol. 48, pp. 117–130, 2018.
[13] L. Wang, K. Li, and X. P. Hu, “Graph convolutional network for fMRI analysis based on connectivity neighborhood,” Net Neurosci, vol. 5, no. 1, pp. 83–95, 2021.
[14] X. Li, Y. Zhou, N. Dvornek, M. Zhang, S. Gao, J. Zhuang, D. Scheinost, L. H. Staib, P. Ventola, and J. S. Duncan, “BrainGNN: Interpretable Brain Graph Neural Network for fMRI Analysis,” Med. Image Anal., vol. 74, p. 102233, Dec. 2021.
[15] J. Zhang, L. Zhou, L. Wang, M. Liu, and D. Shen, “Diffusion Kernel Attention Network for Brain Disorder Classification,” IEEE Trans. Med. Imaging, vol. 41, no. 10, pp. 2814–2827, Oct. 2022.
[16] H. A. Bedel, I. Sivgin, O. Dalmaz, S. U. H. Dar, and T. Çukur, “BolT: Fused window transformers for fMRI time series analysis,” Med. Image Anal., vol. 88, p. 102841, Aug. 2023.
[17] T. Matsui, M. Taki, T. Q. Pham, J. Chikazoe, and K. Jimura, “Counterfactual explanation of brain activity classifiers using image-to-image transfer by generative adversarial network,” Front Neuroinf, vol. 15, p. 79, 2022.
[18] B.-H. Kim and J. C. Ye, “Understanding graph isomorphism network for rs-fMRI functional connectivity analysis,” Front Neurosci, p. 630, 2020.
[19] T. Zhao, P. Tubiolo, T. Hagan, J. Williams, J. Snellenberg, and C. Huang, “Using interpretable deep learning on task fMRI data to understand brain regions related to working memory - a repeatability study,” in Annual Meeting of the ISMRM, 2023, p. 2712.
[20] B. J. Devereux, A. Clarke, and L. K. Tyler, “Integrated deep visual and semantic attractor neural networks predict fMRI pattern-information along the ventral object processing pathway,” Sci Rep, vol. 8, no. 1, p.10636, 2018.
[21] B. H. van der Velden, H. J. Kuijf, K. G. Gilhuijs, and M. A. Viergever, “Explainable artificial intelligence (XAI) in deep learning-based medical image analysis,” Med Image Anal, vol. 79, p. 102470, 2022.
[22] P. Sanchez, A. Kascenas, X. Liu, A. Q. O’Neil, and S. A. Tsaftaris, “What is healthy? generative counterfactual diffusion for lesion localization,” in DGM4MICCAI, 2022, pp. 34–44.
[23] T. Salimans and J. Ho, “Progressive distillation for fast sampling of diffusion models,” arXiv:2202.00512, 2022.
[24] D. C. Van Essen, S. M. Smith, D. M. Barch, T. E. Behrens, E. Yacoub, K. Ugurbil et al., “The WU-Minn human connectome project: an overview,” NeuroImage, vol. 80, pp. 62–79, 2013.
[25] L. Snoek, M. M. van der Miesen, T. Beemsterboer, A. van der Leij, A. Eigenhuis, and H. Steven Scholte, “The Amsterdam Open MRI Collection, a set of multimodal MRI datasets for individual difference analyses,” Sci Data, vol. 8, no. 1, pp. 1–23, 2021.
[26] G. Jeanneret, L. Simon, and F. Jurie, “Diffusion models for counterfactual explanations,” in ACCV, 2022, pp. 858–876.
[27] M. Augustin, V. Boreiko, F. Croce, and M. Hein, ‘Diffusion visual counterfactual explanations’, Advances in Neural Information Processing Systems, vol. 35, pp. 364–377, 2022.
[28] J. P. Cohen, R. Brooks, S. En, E. Zucker, A. Pareek, M. P. Lungren, and A. Chaudhari, “Gifsplanation via Latent Shift: A Simple Autoencoder Approach to Counterfactual Generation for Chest X-rays,” arXiv:2102.09475, 2021.
[29] S. J. Ritchie, S. R. Cox, X. Shen, M. V. Lombardo, L. M. Reus, C. Alloza et al., “Sex differences in the adult human brain: evidence from 5216 UK biobank participants,” Cereb Cortex, vol. 28, no. 8, pp. 2959–2975, 2018.
Figure 2: DreaMR’s algorithm for counterfactual generation. Starting with a noise-added version of the original fMRI sample (i.e., a subject’s fMRI scan), reverse diffusion is performed across consecutive time fractions using fraction-specific denoising networks. During generation, classifier guidance is injected at each step to refine the sample so as to elicit the target counterfactual label for cognitive state from the classifier. Guidance is computed as the gradient of the log-posterior-probability evaluated for intermediate estimates of the denoised fMRI sample.