Inference in imaging-based biophysical modelling provides a principled way of estimating model parameters, but also assessing confidence/uncertainty on results, quantifying noise effects and aiding experimental design. Traditional approaches in neuroimaging can either be very computationally expensive (e.g., Bayesian) or suitable to only certain assumptions (e.g., bootstrapping). We present a simulation-based inference approach to estimate diffusion MRI model parameters and their uncertainty. This novel framework trains a neural network to learn a Bayesian model inversion, allowing inference given unseen data. Results show a high level of agreement with conventional Markov-Chain-Monte-Carlo estimates, while offering 2-3 orders of magnitude speed-ups and inference amortisation.
1. Jones DK. 2003. Determining and visualizing uncertainty in estimates of fiber orientation from diffusion tensor MRI. Magnet Reson Med. 49(1):7–12
2. Behrens TEJ, Woolrich MW, Jenkinson M, Johansen-Berg H, Nunes RG, et al. 2003. Characterization and propagation of uncertainty in diffusion-weighted MR imaging. Magnet Reson Med. 50(5):1077–88
3. Alexander DC. 2008. A general framework for experiment design in diffusion MRI and its application in measuring direct tissue‐microstructure features. Magnet Reson Med. 60(2):439–48
4. Pajevic S, Basser PJ. 2003. Parametric and non-parametric statistical analysis of DT-MRI data. J Magn Reson. 161(1):1–14
5. Behrens TEJ, Berg HJ, Jbabdi S, Rushworth MFS, Woolrich MW. 2007. Probabilistic diffusion tractography with multiple fibre orientations: What can we gain? Neuroimage. 34(1):144–55
6. Fonteijn HMJ, Verstraten FAJ, Norris DG. 2007. Probabilistic Inference on Q-ball Imaging Data. Ieee T Med Imaging. 26(11):1515–24
7. Sotiropoulos SN, Jbabdi S, Xu J, Andersson JL, Moeller S, et al. 2013. Advances in diffusion MRI acquisition and processing in the Human Connectome Project. Neuroimage. 80:125–43
8. Cranmer K, Brehmer J, Louppe G. 2020. The frontier of simulation-based inference. Proc National Acad Sci. 117(48):30055–62
9. Papamakarios G, Sterratt DC, Murray I. Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flows. , p. 12
10. Lakshminarayanan GP and EN and DJR and SM and B. 2021. Normalizing Flows for Probabilistic Modeling and Inference. JMLR. 22:1–64
11. Germain M, Gregor K, Murray I, Larochelle H. 2015. MADE: Masked Autoencoder for Distribution Estimation. Arxiv
12. Bishop CM. 1994. Mixture density networks
13. Papamakarios G, Pavlakou T, Murray I. 2017. Masked Autoregressive Flow for Density Estimation. Arxiv
14. Durkan C, Bekasov A, Murray I, Papamakarios G. 2019. Neural Spline Flows. arXiv:1906.04032 [cs, stat]
15. Tejero-Cantero A, Boelts J, Deistler M, Lueckmann J-M, Durkan C, et al. 2020. sbi: A toolkit for simulation-based inference. J Open Source Softw. 5(52):2505
16. Warrington S, Bryant KL, Khrapitchev AA, Sallet J, Charquero-Ballester M, et al. 2020. XTRACT - Standardised protocols for automated tractography in the human and macaque brain. Neuroimage. 217:116923Fig. 1. Flow diagram comparison - Similarities (orange) and differences (blue) between SBI and MCMC. While in the MCMC the inference process is repeated k times for every voxel v, in SBI we simulate N measurements X={xi} with i=1…N, to train a model. This learnt model allows for amortised inference so it can be used to automatically infer the approximated posterior of the parameters for new data X.
Fig. 2. Simulation-based inference framework - A. Using the priors $$$P(\theta)$$$, we can produce parameter proposals $$$\theta_i$$$, simulate the correspondent dMRI dataset $$$x_i$$$ and use it to train the NPE, that contains the Normalizing Flows embedded, to provide an approximated posterior density $$$Q_{\phi}(\hat{\theta_i}|x_i)$$$. B. The learnt posterior density $$$Q_{\phi}(\hat{\theta_i}|x_i)$$$ is amortised, i.e., if it is trained correctly, it can be used to infer the posterior density of parameters for any new observation $$$x_{i_new}$$$.
Fig. 3. Hyper-parameters optimisation - % absolute error between SBI estimates and ground-truth (N=1000 simulated datasets): A comparison between A. different density estimators, and B. different diffusivity priors, . C. Examples of posterior probability distributions returned for a single observation. D. Training metrics: time vs training size (red) and log(probability) in the validation set vs training size (green).
Fig. 4. Simulated data results – Comparison of MCMC (orange) and SBI (blue). A. f1 posterior distributions returned by the MCMC and SBI in a single dataset example. B, C. Scatter plot of MCMC and SBI estimates compared to the ground-truth of mean diffusivity d (B) and volume fraction (C) for low and high SNR levels.
Fig. 5. Brain data results – Estimated mean maps using MCMC (left column) and SBI (middle column) for the diffusivity d (A), volume fraction f1 (B) and fibre orientation (C). The right column shows the scatter plot of the MCMC and SBI estimates for d and f1, and a histogram of the fibre orientation difference expressed in angle degrees. D. Probabilistic tractography of white matter tracts (axial and coronal views).