Spinverse: Differentiable Physics for Permeability-Aware Microstructure Reconstruction from Diffusion MRI
Authors: Prathamesh Pradeep Khole, Mario M. Brenes, Zahra Kais Petiwala, Ehsan Mirafzali, Utkarsh Gupta, Jing-Rebecca Li, Andrada Ianus, Razvan Marinescu
Organizations: University of California Santa Cruz, Santa Cruz, CA, USA · University of California San Diego, San Diego, CA, USA · Inria-Saclay, France · Kings College London, London, UK
Diffusion MRI (dMRI) is sensitive to microstructural barriers, yet most existing methods either assume impermeable boundaries or estimate voxel-level parameters without recovering explicit interfaces. We present Spinverse, a permeability-aware reconstruction method that inverts dMRI measurements through a fully differentiable Bloch-Torrey simulator. Spinverse represents tissue on a fixed tetrahedral grid and treats each interior face permeability as a learnable parameter; low-permeability faces act as diffusion barriers, so microstructural boundaries whose topology is not fixed a priori (up to the resolution of the ambient mesh) emerge without changing mesh connectivity or vertex positions. Given a target signal, we optimize face permeabilities by backpropagating a signal-matching loss through the PDE forward model, and recover an interface by thresholding the learned permeability field. To mitigate the ill-posedness of permeability inversion, we use mesh-based geometric priors; to avoid local minima, we use a staged multi-sequence optimization curriculum. Across a collection of synthetic voxel meshes, Spinverse reconstructs diverse geometries and demonstrates that sequence scheduling and regularization are critical to avoid outline-only solutions while improving both boundary accuracy and structural validity.
Figures & tables
Figure 1: Spinverse pipeline. Top: Given reference dMRI signals Sref under multiple PGSE encodings, we optimize face permeabilities {κf} on a fixed tetrahedral mesh by minimizing MSE loss with regularization. Gradients are backpropagated through a differentiable Bloch–Torrey simulator and used by Adam to update κf , recovering boundaries via thresholding. Bottom (a–e): Simulator internals: compartments and face permeabilities (a); coupling operator B(κ) assembly (b); Bloch–Torrey FEM system (c); reduced-order eigensolve and matrix-exponential propagation (d); signal readout (e).
Figure 2: Sample data and reconstructions. (Left) Representative ground-truth meshes: single-axon (A) and two-axon (B) geometries embedded in the ambient tetrahedral grid. (Right) Four example Spinverse reconstructions (red) shown alongside ground truth meshes (blue). Each pair reports CD-L2 (CD) and BadEdge% (BE).
Figure 3: Acquisition scheduling ablation (torus). Joint 50/50 optimization over Along∪Ashort ( Split ) versus a staged schedule Along→Ashort ( Staged ). Top: signal MSE and Chamfer (CD-L2) over iterations. Bottom: extracted interfaces at iterations 50/250/final (optimized, red) and ground truth (blue); staging yields a coherent torus boundary while joint optimization fails to recover the opening.
Figure 4: The left-hand plot shows average CD-L2 loss over 10 meshes for (i) baseline method (no regularization), (ii) baseline with continuity regularization and (iii) the full method with continuity/manifold regularization. The table shows final chamfer distance and BadEdge% values for each test configuration.
Figure 5: Comparison with learned predictors on single-axon (A) and two-axon (B) meshes. Spinverse recovers compact boundaries; baselines produce many spurious faces.
Geometry
Metric
MLP
GraphSAGE
GATv2+JK
Spinverse
1 Axon
CD-L2 ↓
10.81±5.95
10.75±6.26
8.91±4.25
4.19±1.57
BE% ↓
67.12±6.47
68.18±8.56
71.07±8.91
23.40±9.10
2 Axon
CD-L2 ↓
8.28±2.42
9.03±2.63
8.42±2.52
9.79±3.64
BE% ↓
73.81±4.25
75.76±3.65
72.77±5.82
35.62±5.64
Table 1: CD-L2 and BE% (mean ± std) across 100 test reconstructions each.
Diffusion MRI microstructure fitting is nonconvex and often performed voxelwise, which limits fiber peak recovery in narrow crossings. This work introduces PRISM, a differentiable analysis-by-synthesis framework that fits an explicit multi-compartment forward model end-to-end over spatial patches. The model combines cerebrospinal fluid (CSF), gray matter, up to K white-matter fiber compartments (stick-and-zeppelin), and a restricted compartment, with explicit fiber directions and soft model selection via repulsion and sparsity priors. PRISM supports a fast MSE objective and a Rician negative log-likelihood (NLL) that jointly learns sigma without oracle information. A lightweight nuisance calibration module (smooth bias field and per-measurement scale/offset) is included for robustness and regularized to identity in clean-data tests. On synthetic crossing-fiber data (SNR=30; five methods, 16 crossing angles), PRISM achieves 3.5 degrees best-match angular error with 95% recall, which is 1.9x lower than the best baseline (MSMT-CSD, 6.8 degrees, 83% recall); in NLL mode with learned sigma, error drops to 2.3 degrees with 99% recall, resolving crossings down to 20 degrees. On the DiSCo1 phantom (NLL mode), PRISM improves connectivity correlation over CSD baselines at all four tracking angles (best r=.934 at 25 degrees vs. .920 for MSMT-CSD). Whole-brain HCP fitting (~741k voxels, MSE mode) completes in ~12 min on a single GPU with near-identical results across random seeds.
Diffusion MRI (dMRI) probes water diffusion within the brain, providing unique information about tissue microstructure and white matter connectivity. High-quality dMRI enables advanced and accurate analyses but demands dense acquisitions, resulting in long scan times and hardware constraints that are often infeasible. Further, dMRI requires dedicated computational methods to support diverse analysis tasks (e.g., parcellation, registration, and synthesis) for both neuroscientific and clinical applications. Here, we present dMRI-F, a foundation model that unifies dMRI data enhancement and downstream tasks across diverse acquisitions and populations, while requiring only minimal acquisition input. dMRI-F is pre-trained with a q-space masked reconstruction task: predicting densely sampled multi-shell data from only six volumes. It learns generalizable latent feature representations of dMRI data, which serve as a core foundation for adapting to diverse downstream tasks, including brain parcellation, brain registration, and cross-modal synthesis. Across nine independently acquired datasets, we demonstrate that dMRI-F outperforms state-of-the-art methods with robust generalization across acquisitions, populations, and tasks. Our results demonstrate dMRI-F's versatility as a general-purpose framework that enables diverse dMRI applications from low-cost, sparse acquisitions.
Xi Zhu, Yijie Li, Xiaofan Wang +4
University of Electronic Science and Technology of China.
Diffusion Magnetic Resonance Imaging (dMRI) plays a critical role in studying microstructural changes in the brain. It is, therefore, widely used in clinical practice; yet progress in learning general-purpose representations from dMRI has been limited. A key challenge is that existing deep learning approaches are not well-suited to capture the unique properties of diffusion signals. Brain dMRI is normally composed of several brain volumes, each with different attenuation characteristics dependent on the direction and strength of the diffusion-sensitized gradients. Thus, there is a need to jointly model spatial, diffusion-weighting, and directional dependencies in dMRI. Furthermore, varying acquisition protocols (e.g., differing numbers of directions) further limit traditional models. To address these gaps, we introduce a diffusion space rotatory positional embedding (D-RoPE) plugged into our dMRI transformer to capture both the spatial structure and directional characteristics of diffusion data, enabling robust and transferable representations across diverse acquisition settings and an arbitrary number of diffusion directions. After self-supervised masked autoencoding pretraining, tests on several downstream tasks show that the learned representations and the pretrained model can provide competitive or superior performance compared to several baselines in these downstream tasks (even compared to a fully trained baseline); the finetuned features from our pretrained encoder resulted in a 6% higher accuracy in classifying mild cognitive impairment and a 0.05 increase in the correlation coefficient when predicting cognitive scores. Code is available at: github.com/gustavochau/D-RoPE.
Gustavo Chau Loo Kung, Mohammad Abbasi, Camila Blank +6