33email: [email protected]
Weakly-supervised Learning for Single-step Quantitative Susceptibility Mapping
Abstract
Quantitative susceptibility mapping (QSM) utilizes MRI phase information to estimate tissue magnetic susceptibility. The generation of QSM requires solving ill-posed background field removal (BFR) and field-to-source inversion problems. Because current QSM techniques struggle to generate reliable QSM in clinical contexts, QSM clinical translation is greatly hindered. Recently, deep learning (DL) approaches for QSM reconstruction have shown impressive performance. Due to inherent non-existent ground-truth, these DL techniques use either calculation of susceptibility through multiple orientation sampling (COSMOS) maps or synthetic data for training, which are constrained by the availability and accuracy of COSMOS maps or domain shift when training data and testing data have different domains. To address these limitations, we propose a weakly-supervised single-step QSM reconstruction method, denoted as wTFI, to directly reconstruct QSM from the total field without BFR. wTFI uses the BFR method RESHARP local fields as supervision to perform a multi-task learning of local tissue fields and QSM, and is capable of recovering magnetic susceptibility estimates near the edges of the brain where are eroded in RESHARP and realize whole brain QSM estimation. Quantitative and qualitative evaluation shows that wTFI can generate high-quality local field and susceptibility maps in a variety of neuroimaging contexts.
Keywords:
QSM Single-step QSM Weakly-supervised learning.1 Introduction
Quantitative susceptibility mapping (QSM) can estimate tissue magnetic susceptibility values from MRI Larmor frequency sensitive phase images to provide novel image contrast [28]. To date, all QSM methods rely on a dipolar convolution that relates susceptibility sources to induced Larmor frequency offsets [21, 18], which is expressed in the k-space as bellow.
(1) |
where is the induced magnetic perturbation along the main magnetic field direction, is the susceptibility distribution in the k space, is the dipole kernel.
The generation of QSM requires solving two challenging ill-posed problems - (1) removal of background field contributions from sources outside the interest, (2) field-to-source inversion by solving the dipole deconvolution. Though existing BFR algorithms demonstrate excellent performance, they have several limitations, including volume erosion, inaccurate BFR close to volume boundary, and residual background leakage [23]. Incorrect BFR often introduces erroneous local field outputs and subsequently affects susceptibility quantification.
The field-to-source inversion faces technical challenges due to the singularities of the dipole kernel. Calculation of susceptibility through multiple orientation sampling (COSMOS) [15] remains the empirical gold-standard of QSM, as the additional field data sufficiently improves the conditioning of this ill-posed inversion. However, multi-orientation data acquisition is time consuming and clinically infeasible. Single-orientation QSM is preferred which is typically computed by either thresholding of the convolution operator [24, 31] or sophisticated regularization methods [6, 20, 14, 1]. In addition, several single-step QSM methods [4, 17, 26] have been proposed to directly estimate QSM from the total field (combined BFR and dipole inversion) to prevent potential error propagation across successive operations. However, existing QSM techniques still struggle to generate reliable QSM estimates in clinical contexts, which greatly hinders QSM clinical translation.
Recently, several deep learning (DL) QSM techniques have been proposed. For dipole inversion, QSMnet [33] and QSMGAN [5] utilized COSMOS estimates as QSM labels, while DeepQSM [2] was trained using purely synthetic data. AutoQSM [29] utilized STAR-QSM [30] estimates after SMV method [32] for BFR as QSM labels for single-step QSM learning. Though these techniques demonstrate promising performance, they have several limitations. Due to the lack of a ground-truth reference, these methods usually used COSMOS maps or synthetic data for training. However, acquiring large amounts of COSMOS data is not only expensive but also time consuming. In addition, COSMOS neglects tissue susceptibility anisotropy [11] and contains errors from BFR and image registration procedures, which compromise its value as a training label. Though synthetic data generated from the physical model provides a reliable and cost-effective way for training, the generalization needs to be addressed. In autoQSM, the robustness and accuracy of STAR-QSM could affect the performance of autoQSM. Moreover, for DL approaches for dipole inversion only, their performance still is affected by the performance of BFR methods.
Here, we propose a weakly-supervised approach for single-step QSM, denoted as wTFI. wTFI utilizes RESHARP [27] local fields as supervision for a multi-task learning of local tissue fields and QSM. For QSM quantitative evaluation, 9 multi-orientation datasets are utilized with comparison to TKD [24], MEDI [12], and STAR-QSM, using COSMOS result as a reference. In addition, the local tissue fields of wTFI are qualitatively compared with BFR methods, SHARP [22], RESHARP [27], PDF [13], and LBV [34]. More qualitative analysis is performed on single-orientation datasets and clinical datasets.
2 Method
WTFI was trained using a 3D convolutional neural network (CNN) with an encoder-decoder structure, as shown in Fig.1. Since RESHARP produces more accurate local fields when compared with other BFR methods such as SHARP, PDF, and LBV. Local fields of RESHARP were utilized as supervision in the training paradigm. However, RESHARP suffered from brain erosion at the expense of losing information of local field and thus QSM measures in these regions. To address this problem, wTFI utilized a domain adaption technique to recover the lost information at brain edges for whole brain QSM.

During training, wTFI took 4 inputs (2 groups of total fields and brain masks) to get 4 outputs (2 groups of local fields and susceptibility maps). For the total field and brain mask , the corresponding outputs were and , and and with outputs and . Define as brain mask obtained using human brain extraction tools from the MR magnitude data; as the eroded brain region after RESHARP, which has a smaller region than (); as RESHARP local field; as the total field estimated from phase images; as the total field in brain region , ; as the total field in brain region , .
The loss function consisted of five terms. The first loss term, , was imposed on . Leveraging the local field results from RESHARP as a weak supervision, convoluted with the dipole kernel should satisfy the well-established QSM inversion physical model.
(2) |
where is a data-weighting factor which can be the magnitude image or noise weight matrix, is the convolution operator. Since noise is unknown and spatially variant in the local field measurements, the nonlinear dipole convolution data consistency loss was used to get more robust QSM estimates as conventional QSM methods [16, 19].
Next, we included on local field output ,
(3) |
Next, a data consistency loss was imposed on and .
(4) |
Furthermore, define the susceptibility consistency loss between and inside .
(5) |
The total variation (TV) loss on serves as regularization for edge preserving and denoising on the QSM.
(6) |
where , , and are gradient operator in x, y, z directions.
(7) |
The total loss was the weighted sum of 5 loss functions. , , , and were loss weights.
After training, the trained DL model only took the whole brain total field and brain mask to get the local field and susceptibility map.
3 Experiments
Multi-orientation QSM Data 9 QSM datasets were acquired using 5 head orientations and a 3D GRE scan with voxel size 1x1x1 mm3 from 3T MRI scanners, shared by Dr. Jongho Lee [33]. QSM data processing was implemented as below, offline GRAPPA [7] reconstruction used to reconstruct magnitude and phase images from saved k-space data, BET (FSL, FMRIB, Oxford, UK) [25] for brain mask extraction, the Laplacian method [10] for phase unwrapping, and RESHARP [27] with spherical mean radius 4mm for BFR. COSMOS results were calculated using the 5 orientation data with image registration using FLIRT (FSL, FMRIB, Oxford, UK) [8, 9]. TKD, MEDI, STAR-QSM were performed to get QSM estimates at normal head position.
For wTFI training, leave-one-out cross validation was used. For each dataset, a total of 40 scans from other 8 datasets were used for network training. wTFI was trained using patch-based neural network with patch size 96x96x96. Around 2000 patch pairs of total fields, brain masks, RESHARP local fields with patch size 96x96x96 with an overlapping of 16.6 percent between adjacent patches were cropped. After training, the trained DL model took the whole brain total field and brain mask of the leave-one dataset to get the local field and QSM.
QSM images at the eroded brain region were quantitatively compared with respect to COSMOS maps, using peak signal-to-noise ratio (pSNR), normalized root mean squared error (NRMSE), high-frequency error norm (HFEN), and structure similarity index (SSIM). Due to no ground-truth, the local fields of SHARP, RESHARP, PDF, LBV, and wTFI were qualitatively compared.
Single Orientation QSM Data 200 QSM datasets were collected on a 3T MRI scanner (GE Healthcare MR750) from a susceptibility-weighted software application (SWAN, GE Healthcare). The data acquisition parameters were as follows: in-plane data matrix 320x256, FOV 24 cm, voxel size 0.5x0.5x2.0 mm3, 4 TEs [10.4, 17.4, 24.4, 31.4] ms, TR 58.6 ms, and total acquisition time 4 minutes.
Complex multi-echo images were reconstructed from saved k-space data. The brain masks were obtained using the SPM tool [3]. After BFR using the RESHARP with spherical mean radius 4mm, susceptibility inversion was performed using TKD, STAR-QSM, and MEDI. For wTFI training, 8000 patches of total field map, brain mask and RESHARP results from 100 datasets with patch size 128x128x64 were used for training.
Clinical Data 150 clinical data were acquired using susceptibility-weighted angiography (SWAN, GE Healthcare, Waukesha WI) on a 3T MRI scanner (GE Healthcare MR750) with the following data acquisition parameters: in-plane data matrix 288x224, FOV 22 cm, slice thickness 3 mm, first TE 12.6 ms, echo spacing 4.1 ms, 7 echoes, TR 39.7 ms, pixel bandwidth 244 Hz, and total acquisition time of about 2 minutes.
Complex multi-echo images were reconstructed from raw k-space data. The brain masks were obtained using the SPM tool [3]. RESHARP method with spherical mean radius 6mm were used for BFR. For wTFI training, about 2000 patch pairs of total fields, brain masks and local fields from 100 datasets with patch size 128x128x64 were used.
4 Experimental Results
Multi-orientation Data Table.1 summarized the quantitative metrics from 4 QSM methods on 9 datasets with COSMOS map as a reference. Compared to TKD, STAR-QSM, and MEDI, wTFI achieved the best metric scores in pSNR, NRMSE, and second in HFEN. Fig.2 showed the total fields and local fields from a representative dataset. Residual background fields showed up in SHARP (b), PDF (d), and LBV (e) results. SHARP (b) and RESHARP (c) suffered from brain erosion. PDF and LBV results showed strong shading artifacts and erroneous BFR. wTFI (f) produced RESHARP-like local fields and preserved the whole brain without erosion. Fig.3 displayed the QSM images. TKD (a) and MEDI (b) results showed streaking artifacts (a-b, black arrows). MEDI images lost details due to oversmoothing. STAR-QSM (c) images showed good quality with slight image artifacts. wTFI (d) produced high quality QSM and recovered the susceptibility information of brain edges (d, white arrows).
pSNR (dB) | NRMSE () | HFEN () | SSIM (0-1) | |
TKD | ||||
MEDI | 0.9020.016 | |||
STAR-QSM | 61.74.7 | |||
wTFI | 45.30.5 | 73.84.2 | 66.23.4 |


Single-orientation Data Fig.4 displayed the QSM estimates of a single-orientation dataset. Visually, wTFI (d) outperformed TKD (a), MEDI (b) and STAR-QSM (c) with invisible streaking and shading artifacts. In addition, WTFI was capable of recovering the susceptibility information at brain boundaries.

Clinical Data Fig.5 displayed SWI images and susceptibility maps calculated using wTFI from 6 clinical patients. wTFI results clearly showed the brain hemorrhage, microbleeds, calcification, and vessel malformation.

Ablation Study The ablation study was to investigate the neural network design. 3 neural networks were compared, (1) wTFI, (2) wTFIm only trained with inputs and . (3) STAR-Net, which used and as inputs and STAR-QSM maps as QSM labels for single-step QSM reconstruction.

Fig.6 showed QSM estimates of a single-orientation dataset. STAR-Net in eroded brain (b) showed STAR-QSM-like quality, but less black shadings (white arrows). Whole brain STAR-Net (c) and wTFIm (d) showed larger errors close to brain boundary when applying to whole brain and for QSM estimates (black arrows). This indicated the domain shift caused susceptibility quantification errors. Visual assessment showed that wTFI (e) produced better whole brain susceptibility maps.
5 Discussion and Conclusion
In this work, a weakly-supervised DL method for single-step QSM was proposed. From quantitative evaluation, wTFI achieved high metric scores. However, COSMOS as reference has limitations aforementioned. Based on visual assessment, wTFI outperforms conventional background field removal and dipole inversion methods. Most importantly, wTFI is capable of recovering the QSM information close to brain edges.
The proposed wTFI for QSM reconstruction approach has several advantages. First, wTFI employs RESHARP results as weak supervision and does not require QSM labels. Second, wTFI performs a multi-task learning, which estimates local fields and susceptibility map. Third, wTFI is able to recover magnetic susceptibility of anatomical structures near the edges of the brain. wTFI has a limitation that the wTFI performance is affected by RESHARP.
Acknowledgement
We thank Professor Jongho Lee for sharing the multi-orientation QSM datasets.
References
- [1] Bilgic, B., Chatnuntawech, I., Fan, A.P., et al: Fast image reconstruction with L2-regularization. Journal of Magnetic Resonance Imaging 40(1), 181–191 (2014)
- [2] Bollmann, S., Rasmussen, K.G.B., Kristensen, M., et al: DeepQSM - using deep learning to solve the dipole inversion for quantitative susceptibility mapping. NeuroImage 195, 373–383 (2019)
- [3] Brett, M., Anton, J.L., Valabregue, R., Poline, J.B.: Region of interest analysis using an spm toolbox. In: 8th International Conference on Functional Mapping of the Human Brain. p. 497. Sendai (2002)
- [4] Chatnuntawech, I., McDaniel, P., Cauley, S.F., et al: Single-step quantitative susceptibility mapping with variational penalties. NMR in Biomedicine 30(4), e3570 (2017)
- [5] Chen, Y., Jakary, A., Avadiappan, S., et al: QSMGAN: Improved quantitative susceptibility mapping using 3d generative adversarial networks with increased receptive field. NeuroImage p. 116389 (2019)
- [6] De Rochefort, L., Brown, R., Prince, M.R., et al: Quantitative MR susceptibility mapping using piece-wise constant regularized inversion of the magnetic field. Magnetic Resonance in Medicine 60(4), 1003–1009 (2008)
- [7] Griswold, M.A., Jakob, P.M., Heidemann, R.M., et al: Generalized autocalibrating partially parallel acquisitions (GRAPPA). Magnetic Resonance in Medicine 47(6), 1202–1210 (2002)
- [8] Jenkinson, M., Bannister, P., Brady, M., Smith, S.: Improved optimization for the robust and accurate linear registration and motion correction of brain images. Neuroimage 17(2), 825–841 (2002)
- [9] Jenkinson, M., Smith, S.: A global optimisation method for robust affine registration of brain images. Medical image analysis 5(2), 143–156 (2001)
- [10] Li, W., Wu, B., Liu, C.: Quantitative susceptibility mapping of human brain reflects spatial variation in tissue composition. NeuroImage 55(4), 1645–1656 (2011)
- [11] Liu, C.: Susceptibility tensor imaging. Magnetic Resonance in Medicine 63(6), 1471–1477 (2010)
- [12] Liu, J., Liu, T., de Rochefort, L., et al: Morphology enabled dipole inversion for quantitative susceptibility mapping using structural consistency between the magnitude image and the susceptibility map. NeuroImage 59(3), 2560–2568 (2012)
- [13] Liu, T., Khalidov, I., de Rochefort, L., et al: A novel background field removal method for MRI using projection onto dipole fields. NMR in Biomedicine 24(9), 1129–1136 (2011)
- [14] Liu, T., Liu, J., De Rochefort, L., et al: Morphology enabled dipole inversion (MEDI) from a single-angle acquisition: comparison with COSMOS in human brain imaging. Magnetic Resonance in Medicine 66(3), 777–783 (2011)
- [15] Liu, T., Spincemaille, P., De Rochefort, L., et al: Calculation of susceptibility through multiple orientation sampling (COSMOS): a method for conditioning the inverse problem from measured magnetic field map to susceptibility source image in MRI. Magnetic Resonance in Medicine 61(1), 196–204 (2009)
- [16] Liu, T., Wisnieff, C., Lou, M., et al: Nonlinear formulation of the magnetic field to source relationship for robust quantitative susceptibility mapping. Magnetic Resonance in Medicine 69(2), 467–476 (2013)
- [17] Liu, Z., Kee, Y., Zhou, D., et al: Preconditioned total field inversion (TFI) method for quantitative susceptibility mapping. Magnetic Resonance in Medicine 78(1), 303–315 (2017)
- [18] Marques, J., Bowtell, R.: Application of a Fourier-based method for rapid calculation of field inhomogeneity due to spatial variation of magnetic susceptibility. Concepts in Magnetic Resonance Part B: Magnetic Resonance Engineering 25(1), 65–78 (2005)
- [19] Polak, D., Chatnuntawech, I., Yoon, J., et al: Nonlinear dipole inversion (NDI) enables robust quantitative susceptibility mapping (QSM). NMR in Biomedicine p. e4271 (2020)
- [20] de Rochefort, L., Liu, T., Kressler, B., et al: Quantitative susceptibility map reconstruction from MR phase data using bayesian regularization: validation and application to brain imaging. Magnetic Resonance in Medicine 63(1), 194–206 (2010)
- [21] Salomir, R., de Senneville, B.D., Moonen, C.T.: A fast calculation method for magnetic field inhomogeneity due to an arbitrary distribution of bulk susceptibility. Concepts in Magnetic Resonance Part B: Magnetic Resonance Engineering 19(1), 26–34 (2003)
- [22] Schweser, F., Deistung, A., Lehr, B.W., et al: Differentiation between diamagnetic and paramagnetic cerebral lesions based on magnetic susceptibility mapping. Medical Physics 37(10), 5165–5178 (2010)
- [23] Schweser, F., Robinson, S.D., de Rochefort, L., et al: An illustrated comparison of processing methods for phase mri and qsm: removal of background field contributions from sources outside the region of interest. NMR in Biomedicine 30(4), e3604 (2017)
- [24] Shmueli, K., de Zwart, J.A., van Gelderen, P., et al: Magnetic susceptibility mapping of brain tissue in vivo using MRI phase data. Magnetic Resonance in Medicine 62(6), 1510–1522 (2009)
- [25] Smith, S.M.: Fast robust automated brain extraction. Human Brain Mapping 17(3), 143–155 (2002)
- [26] Sun, H., Ma, Y., MacDonald, M.E., et al: Whole head quantitative susceptibility mapping using a least-norm direct dipole inversion method. NeuroImage (2018)
- [27] Sun, H., Wilman, A.H.: Background field removal using spherical mean value filtering and Tikhonov regularization. Magnetic Resonance in Medicine 71(3), 1151–1157 (2014)
- [28] Wang, Y., Liu, T.: Quantitative susceptibility mapping (QSM): decoding MRI data for a tissue magnetic biomarker. Magnetic Resonance in Medicine 73(1), 82–101 (2015)
- [29] Wei, H., Cao, S., Zhang, Y., Guan, X., Yan, F., Yeom, K.W., Liu, C.: Learning-based single-step quantitative susceptibility mapping reconstruction without brain extraction. arXiv preprint arXiv:1905.05953 (2019)
- [30] Wei, H., Dibb, R., Zhou, Y., Sun, Y., Xu, J., Wang, N., Liu, C.: Streaking artifact reduction for quantitative susceptibility mapping of sources with large dynamic range. NMR in Biomedicine 28(10), 1294–1303 (2015)
- [31] Wharton, S., Schäfer, A., Bowtell, R.: Susceptibility mapping in the human brain using threshold-based k-space division. Magnetic Resonance in Medicine 63(5), 1292–1304 (2010)
- [32] Wu, B., Li, W., Guidon, A., et al: Whole brain susceptibility mapping using compressed sensing. Magnetic Resonance in Medicine 67(1), 137–147 (2012)
- [33] Yoon, J., Gong, E., Chatnuntawech, I., et al: Quantitative susceptibility mapping using deep neural network: QSMnet. NeuroImage (2018)
- [34] Zhou, D., Liu, T., Spincemaille, P., Wang, Y.: Background field removal by solving the Laplacian boundary value problem. NMR in Biomedicine 27(3), 312–319 (2014)