Solving Inverse Problems in Medical Imaging with Score-Based Generative Models
Yang Song, Liyue Shen, Lei Xing, Stefano Ermon
Introduction
Computed Tomography (CT) and Magnetic Resonance Imaging (MRI) are commonly used imaging tools for medical diagnosis. Reconstructing CT and MRI images from raw measurements (sinograms for CT and k-spaces for MRI) are well-known inverse problems. Specifically, measurements in CT are given by X-ray projections of an object from various directions, and measurements in MRI are obtained by inspecting the Fourier spectrum of an object with magnetic fields. However, since obtaining the full sinogram for CT causes excessive ionizing radiation for patients, and measuring the full k-space of MRI is very time-consuming, it has become important to reduce the number of measurements in CT and MRI. In many cases, only partial measurements, such as sparse-view sinograms and downsampled k-spaces, are available. Due to this loss of information, the inverse problems in CT and MRI are often ill-posed, making image reconstruction especially challenging.
With the rise of machine learning, many methods (Zhu et al. 2018; Mardani et al. 2017; Shen et al. 2019; Würfl et al. 2018; Ghani & Karl 2018; Wei et al. 2020) have been proposed for medical image reconstruction using a small number of measurements. Most of these methods are supervised learning techniques. They learn to directly map partial measurements to medical images, by training on a large dataset comprising pairs of CT/MRI images and measurements. These measurements need to be synthesized from medical images with a fixed physical model of the measurement process. However, when the measurement process changes, such as using a different number of CT projections or different downsampling ratio of MRI k-spaces, we have to re-collect the paired dataset with the new measurement process and re-train the model. This prevents models from generalizing effectively to new measurement processes, leading to counter-intuitive instabilities such as more measurements causing worse performance (Antun et al. 2020).
In this work, we sidestep this difficulty completely by proposing unsupervised methods that do not require a paired dataset for training, and therefore are not restricted to a fixed measurement process. Our main idea is to learn the prior distribution of medical images with a generative model in order to infer the lost information due to partial measurements. Specifically, we propose to train a score-based generative model (Song & Ermon 2019; Song & Ermon 2020; Song et al. 2021) on medical images as the data prior, due to its strong performance in image generation (Ho et al. 2020; Dhariwal & Nichol 2021). Given a trained score-based generative model, we provide a family of sampling algorithms to create image samples that are consistent with the observed measurements and the estimated data prior, leveraging the physical measurement process. Once our model is trained, it can be used to solve any inverse problem within the same image domain, as long as the mapping from images to measurements is linear, which holds for a large number of medical imaging applications.
We evaluate the performance of our method on several tasks in CT and MRI. Empirically, we observe comparable or better performance compared to supervised learning counterparts, even when evaluated with the same measurement process in their training. In addition, we are able to uniformly surpass all baselines when changing the number of measurements, e.g., using a different number of projections in sparse-view CT or changing the k-space downsampling ratio in undersampled MRI. Moreover, we show that by plugging in a different measurement process, we can use a single model to perform both sparse-view CT reconstruction and metal artifact removal for CT imaging with metallic implants. To the best of our knowledge, this is the first time that generative models are reported successful on clinical CT data. Collectively, these empirical results indicate that our method is a competitive alternative to supervised techniques in medical image reconstruction and artifact removal, and has the potential to be a universal tool for solving many inverse problems within the same image domain.
Background
Examples of linear inverse problems in medical imaging include image reconstruction for CT and MRI. In both cases, the signal is a medical image. The measurement in CT is a sinogram formed by X-ray projections of the image from various angular directions (Buzug 2011), while the measurement in MRI consists of spatial frequencies in the Fourier space of the image (a.k.a. the k-space in the MRI community) (Vlaardingerbroek & Boer 2013).
2 Score-based generative models
When solving inverse problems in medical imaging, we are given an observation , the measurement distribution and aim to sample from the posterior distribution . The prior distribution is typically unknown, but we can train generative models on a dataset to estimate this prior distribution. Given an estimate of and the measurement distribution , the posterior distribution can be determined through Bayes’ rule.
We propose to estimate the prior distribution of medical images using the recently introduced score-based generative models (Song & Ermon 2019; Ho et al. 2020; Song et al. 2021), whose iterative sampling procedure makes it especially easy for controllable generation conditioned on an observation . Specifically, we adopt the formulation of score-based generative models in Song et al. 2021, where we leverage a Markovian diffusion process to progressively perturb data to noise, and then smoothly convert noise to samples of the data distribution by estimating and simulating its time reversal. We provide an illustration of this generative modeling framework in Fig. 1.
Perturbation process Suppose the dataset is sampled from an unknown data distribution . We perturb datapoints with a stochastic process over a time horizon $$, governed by a linear stochastic differential equation (SDE) of the following form
Reverse process By reversing the perturbation process in Eq. 1, we can start from a noise sample and gradually remove the noise therein to obtain a data sample . Crucially, the time reversal of Eq. 1 is given by the following reverse-time SDE (Song et al. 2021)
Sampling Given an initial sample from , as well as scores at each intermediate time step, , we can simulate the reverse-time SDE in Eq. 2 to obtain samples from the data distribution . In practice, the initial sample is approximately drawn from since , and the scores are estimated by training a neural network (named the score model) on a dataset with denoising score matching (Vincent 2011; Song et al. 2021), i.e., solving the following objective
where denotes a uniform distribution over ${\bm{s}}_{{\bm{\theta}}^{*}}({\mathbf{x}},t)\approx\nabla_{\mathbf{x}}\log p_{t}({\mathbf{x}})$. After training this score model, we plug it into Eq. 2 and solve the resulting reverse-time SDE
for sample generation. One sampling method is to use the Euler-Maruyama discretization for solving Eq. 3, as given in Algorithm 1. Other sampling methods include annealed Langevin dynamics (Song & Ermon 2019, ALD,), probability flow ODE solvers (Song et al. 2021), and Predictor-Corrector samplers (Song et al. 2021).
Solving inverse problems with score-based generative models
With score-based generative modeling, we can train a score model to generate unconditional samples from the the prior distribution of medical images . To solve inverse problems however, we will need to sample from the posterior . This can be accomplished by conditioning the original stochastic process on an observation , yielding a conditional stochastic process . We denote the marginal distribution at as , and our goal is to sample from , the same distribution as by definition. Much like generating unconditional samples by solving the reverse-time SDE in Eq. 2, we can reverse the conditional stochastic process to sample from the posterior distribution by solving the following conditional reverse-time SDE (Song et al. 2021):
The conditional score function is a critical part of Eq. 4, yet it is non-trivial to compute. One solution is to estimate the score function by training a new score model that explicitly depends on (Song et al. 2021; Dhariwal & Nichol 2021), such that . However, this requires paired data for training and has the same drawbacks as supervised learning techniques. We do not consider this approach in this work.
In what follows, we propose a new conditional sampling approach for inverse problem solving with score-based generative models. Our method is computationally efficient for medical image reconstruction, and is applicable to a large family of iterative sampling methods for score-based generative models. At a high level, we first train an unconditional score model on medical images without assuming any measurement process. Given an observation at test time, we form a stochastic process by adding appropriate noise to . We then discretize the reverse-time SDE in Eq. 3 with existing unconditional samplers for , while incorporating the conditional information from with a proximal optimization step to generate intermediate samples that are consistent with .
Many different measurement processes in medical imaging share same components of computation. For example, sparse-view CT reconstruction and metal artifact removal for CT both involve computing the same Radon transform. Similarly, MRI measurement processes require computing the same spatial Fourier transform regardless of different downsampling ratios. To rigorously characterize this structure of measurement processes, we propose a special formulation of that is efficient to obtain in medical imaging applications. Without loss of generality, we assume that the linear operator has full rank, i.e., . The result below gives the alternative formulation of :
We illustrate this decomposition for CT/MRI in Fig. 2. Many measurement processes in medical imaging share the same , even if they correspond to different . For example, corresponds to the Radon transform and Fourier transform in sparse-view CT and undersampled MRI respectively, regardless of the number of measurements, i.e., CT projections and k-space downsampling ratios. For both sparse-view CT reconstruction and metal artifact removal for CT images, the operator is the Radon transform (see Fig. 8). Intuitively, can be viewed as a subsampling mask on the sinogram/k-space, and subsamples the sinogram/k-space into an observation with a smaller size according to this subsampling mask. In addition, we note that can be efficiently implemented with the inverse Radon transform or the inverse Fourier transform in CT/MRI applications.
2 Incorporating a given observation into an unconditional sampling process
In what follows, we show that the decomposition in Proposition 1 provides an efficient way to generate approximate samples from the conditional stochastic process with an unconditional score model . The basic idea is to “hijack” the unconditional sampling process of score-based generative models to incorporate an observed measurement .
The key of our approach is to modify any existing iterative sampling algorithm designed for the unconditional stochastic process so that the samples are consistent with . In general, an iterative sampling process of score-based generative models selects a sequence of time steps and iterates according to
where , , and denotes the parameters in an unconditional score model . Here the iteration function takes a noisy sample and reduces the noise therein to generate , using the unconditional score model . For example, for the Euler-Maruyama sampler detailed in Algorithm 1, this iteration function is given by
Samples obtained by this procedure constitute an approximation of , where the last sample can be viewed as an approximate sample from . Most existing sampling methods for score-based generative models are instances of this iterative sampling paradigm, including Algorithm 1, ALD (Song & Ermon 2019), probability flow ODEs (Song et al. 2021) and Predictor-Corrector samplers (Song et al. 2021).
To enforce the constraint implied by , we prepend an additional step to the iteration rule in Eq. 5, leading to
Recall that according to Proposition 1. In the equation above we choose the norm to simplify our theoretical analysis. The decomposition in Proposition 1 allows us to derive a closed-form solution to the optimization problem in Eq. 8, as given below:
When , completely ignores the constraint , in which case our sampling method in Eq. 7 performs unconditional generation. On the other hand, when , satisfies exactly. When the measurement is noisy, we choose to allow slackness in the constraint . The value of is important for balancing between and . In practice, we use Bayesian optimization to tune this automatically on a validation dataset. When the measurement process contains no noise, we replace with at the last sampling step to guarantee .
In summary, our method given in Eq. 7 introduces minimal modifications to an existing iterative sampling method of score-based generative models. For example, we can convert the sampler in Algorithm 1 to an inverse problem solver in Algorithm 2 by adding/modifying just three lines of pseudo-code. Unlike the concurrent work Jalal et al. 2021, our method is not limited to annealed Langevin dynamics (ALD). As demonstrated in our experiments, we outperform Jalal et al. 2021 even with the same ALD sampler, and can widen the performance gap further by using more advanced approaches like the Predictor-Corrector sampler (Song et al. 2021). Unlike Kadkhodaie & Simoncelli 2020; Kawar et al. 2021, we rely on the efficient alternative representation of given in Section 3.1, and do not require expensive SVD computation.
Experiments
We aim to answer the following questions in this section: (1) Can we directly compete with best-in-class supervised learning techniques for the same measurement process used in their training, even though our approach is fully unsupervised? (2) Can our method generalize better to new measurement processes? (3) How do we fare against other unsupervised approaches? To study these questions, we experiment on several tasks in medical imaging, including sparse-view CT reconstruction, metal artifact removal (MAR) for CT, and undersampled MRI reconstruction. More experimental details are provided in Appendix B.
Datasets We consider two datasets for CT experiments. The first is the Lung Image Database Consortium (LIDC) image collection dataset (Armato III et al. 2011; Clark et al. 2013) where we slice the original 3D CT volumes to obtain 130304 2D images of resolution for training. The second is the Low Dose CT (LDCT) Image and Projection dataset (Moen et al. 2021) that contains CT scans of multiple anatomic sites, including head, chest, and abdomen, from which we generate 47006 2D image slices of resolution for training. We simulate CT measurements (sinograms) with a parallel-beam geometry using projection angles equally distributed across 180 degrees. For MAR experiments, we follow Yu et al. 2020 to synthesize metal artifacts. For undersampled MRI experiments, we use the Brain Tumor Segmentation (BraTS) 2021 dataset (Menze et al. 2014; Bakas et al. 2017), where we slice 3D MRI volumes to get 297270 images of resolution as the training dataset. We simulate MRI measurements with Fast Fourier Transform using a single-coil setup, and follow Zbontar et al. 2018; Knoll et al. 2020 to undersample the k-space with an equispaced Cartesian mask. The performance is measured on 1000 test images with peak signal-to-noise ratio (PSNR) and structural similarity (SSIM).
Standard techniques in medical imaging We include two standard learning-free techniques as baselines for sparse-view CT reconstruction. The first is filtered back projection on sparse-view sinograms, which is denoted by “FBP”. The second is an iterative reconstruction method with total variation regularization called FISTA-TV (Beck & Teboulle 2009). For MAR experiments, we include another learning-free baseline called linear interpolation (Kalender et al. 1987, LI,).
Supervised learning baselines For sparse-view CT on both LIDC and LDCT, we include cGAN (Ghani & Karl 2018), Neumann (Gilton et al. 2019), and SIN-4c-PRN (Wei et al. 2020) as supervised learning baselines. We follow the settings in Wei et al. 2020 and train all methods with 23 projection angles. For MAR, we use cGANMAR (Wang et al. 2018) and SNMAR (Yu et al. 2020) as the baselines. For undersampled MRI on BraTS, we compare against Cascade DenseNet (Zheng et al. 2019) and DuDoRNet (Zhou & Zhou 2020), which are both trained with a acceleration factor by measuring only of the full k-space.
Unsupervised learning baselines For unsupervised techniques, so far only score-based generative models have witnessed success on clinic data. We compare with several existing methods that apply score-based generative models to inverse problem solving. Specifically, we consider the “Langevin” approach proposed in Jalal et al. 2021, and the “Score SDE” method in Song et al. 2021, where the former is limited to annealed Langevin dynamics (ALD) sampling, and the latter was based on a crude approximation to the conditional score function in Eq. 4, and was proposed as a theoretical possibility in Appendix I.4 of Song et al. 2021 without experiments. We only focus on undersampled MRI for these baselines, since it is the only medical imaging problem ever tackled with score-based generative models before our work. All methods share the same score models and only differ in terms of inference. We make sure all sampling algorithms have comparable number of iteration steps ( in Eqs. 5 and 7).
Competing with supervised learning approaches Thanks to the outstanding sample quality of score-based generative models, we can achieve comparable or better performance than best-in-class supervised learning methods even for the same measurement process used in their training. As shown in Table 2, we outperform the top supervised learning technique SIN-4c-PRN on sparse-view CT reconstruction by a significant margin, on both the LIDC and LDCT datasets. Our results with 20 measurements are even better than supervised learning counterparts with 23 measurements. In Fig. 4, we provide a visual comparison of the reconstruction quality for various methods, where it is clear to see that our method can recover more details faithfully. From results in Table 3, we also outperform the top supervised learning method SNMAR on metal artifact removal. As shown in Fig. 7, our method generates images with less artifacts and preserves the structure better. For undersampled MRI reconstruction results given in Tables 3 and 1, our method is ranked the 2nd for the case of acceleration, with comparable performance to the top supervised method DuDoRNet.
Generalizing to different number of measurements Since our approach is fully unsupervised, we can naturally apply the same score model to different measurement processes. We first consider changing the number of measurements at the test time, e.g., using different number of projection angles (resp. different acceleration factors) for sparse-view CT (resp. undersampled MRI) reconstruction. As shown in Table 1 and Fig. 5 (Left), we achieve the best performance on undersampled MRI for both and acceleration factors, whereas DuDoRNet fails to generalize when the acceleration factor changes. The other supervised learning approach Cascade DenseNet demonstrates limited adaptability by building a model architecture inspired by the physical measurement process of MRI, but fails to yield top-level performance. For sparse-view CT reconstruction, all supervised learning methods struggle to generalize to different projection angles, as shown in Fig. 5 (Center).
Generalizing to different measurement processes in CT We can perform both sparse-view CT reconstruction and metal artifact removal (MAR) with a single score model trained on CT images. These two tasks are inverse problems in CT imaging with different measurement processes , but they share the same in the decomposition of Proposition 1. We provide a visualization of the measurement process corresponding to MAR in Fig. 8. As shown in Table 3, we can outperform supervised learning techniques specifically designed and trained for MAR, while using the same score model used in sparse-view CT reconstruction on LIDC.
Comparing against existing score-based methods We compare our method against Langevin (Jalal et al. 2021) and Score SDE (Song et al. 2021) for undersampled MRI reconstruction on BraTS. Two variants of our approach are considered, which respectively use annealed Langevin dynamics (ALD) and the Predictor-Corrector (PC) sampler for score-based generative models as the backend. We denote the former by “ALD + Ours”, and the latter by “PC + Ours” (our default method for all other experiments). Recall that Langevin uses ALD as the sampler, same as “ALD + Ours”. All results are provided in Fig. 5 (Right). We observe that “ALD + Ours” uniformly outperform Langevin and Score SDE across all numbers of measurements in the experiment. Moreover, “PC + Ours” can further improve “ALD + Ours”, demonstrating the power of switching to more advanced sampling methods of score-based generative models in our proposed approach.
Conclusion
We propose a new method to solve linear inverse problems with score-based generative models. Our method is fully unsupervised, requires no paired data for training, can flexibly adapt to different measurement processes at test time, and only requires minimal modifications to a large number of existing sampling methods of score-based generative models. Empirical results demonstrate that our method can match or outperform existing supervised learning counterparts on image reconstruction for sparse-view CT and undersampled MRI, and has better generalization to new measurement processes, such as using a different number of projections or downsampling ratios in CT/MRI, and tackling both sparse-view CT reconstruction and metal artifact removal with a single model.
Yang Song designed the project, wrote the paper, and ran all experiments for score-based generative models. Liyue Shen preprocessed data, ran all baseline experiments, and helped write the paper. Lei Xing and Stefano Ermon supervised the project, provided valuable feedback, and helped edit the paper.
Acknowledgments
YS is supported by the Apple PhD Fellowship in AI/ML. LS is supported by the Stanford Bio-X Graduate Student Fellowship. This research was supported by NSF (#1651565, #1522054, #1733686), ONR (N000141912145), AFOSR (FA95501910024), ARO (W911NF-21-1-0125), Sloan Fellowship, and Google TPU Research Cloud. This research was also supported by NIH/NCI (1R01 CA256890 and 1R01 CA227713).
References
Appendix A Proofs
where converts a vector to a diagonal matrix. Clearly and , which completes the proof. ∎
By the definition of , we have , and
To prove the “if” direction, we note that
To prove the “only if” direction, we have
where (i) is due to the property in Eq. 10. This completes the proof for both directions.
The optimization objective function in Eq. 8 can be written as
Since , we have and equivalently due to Lemma 1. This constraint does not restrict the value of . Therefore, when , we have
This simplifies the optimization problem in Eq. 8 to
which is minimizing a quadratic function of . The optimal solution is thus in closed form:
According to the definition, , whereby the proof is completed. ∎
Appendix B Additional experimental details
In Fig. 6, we provide SSIM results versus the number of measurements for multiple methods and tasks. In general, the SSIM curves have very similar trends to the PSNR curves in Fig. 5. We additionally provide a visualization of metal artifact removal results in Fig. 7.
B.2 The task of metal artifact removal
Metallic implants in an object can cause strong metal artifacts in CT imaging. As shown in Fig. 8, the source of artifacts come from extremely bright regions in the sinogram, called metal traces. To reduce or ideally remove metal artifacts from a CT image, we remove metal traces from the sinogram and leverage the data prior to complete the sinogram. As a result, metal artifact removal can be viewed as an inverse problem, where the measurement process gives the full sinogram except for the metal trace region, and our goal is to reconstruct the full CT image using this partially known sinogram, which will be artifact-free assuming perfect inpainting of the sinogram.
B.3 Details of datasets
We conduct experiments of 2D CT image reconstruction on two datasets. First, the Lung Image Database Consortium image collection (LIDC) (Armato III et al. 2011; Clark et al. 2013) consists of diagnostic and lung cancer screening thoracic computed tomography (CT) scans for lung cancer detection and diagnosis, which contains 1018 cases. Second, the Low Dose CT Image and Projection dataset (LDCT) (Clark et al. 2013; Moen et al. 2021) involves CT images of multiple anatomic sites, including 99 head CT scans, 100 chest CT scans, and 100 abdomen CT scans. Note that for the LDCT dataset, we only use the full-dose CT images in our experiments. In CT image processing, we convert the Hounsfield units from dicom files to the attenuation coefficients and set the background pixels to zero. Then, 2D CT images are sliced from 3D CT volumes. The sinograms are simulated from 2D CT images based on parallel-beam geometry with different number of projection angles that are equally distributed across 180 degrees.
The Brain Tumor Segmentation (BraTS) 2021 dataset (Menze et al. 2014; Bakas et al. 2017) collected for the image segmentation challenge contains 2000 cases (8000 MRI scans), where each case has four different MR contrasts: native (T1), post-contrast T1-weighted (T1Gd), T2-weighted (T2), and T2 Fluid Attenuated Inversion Recovery (T2-FLAIR). For each 3D MR volume, we extract 2D slices from 3D volumes and simulate k-space data by Fast Fourier Transform. To reconstruct MR images, we follow Knoll et al. 2020; Zbontar et al. 2018 to undersample k-space data with an equispaced Cartesian mask, where the center k-space is fully sampled while the left k-space is under-sampled by equispaced columns.
B.4 Details of score-based generative models
We use the NCSN++ model architecture in Song et al. 2021, and perturb the data with the Variance Exploding (VE) SDE. Our training procedure follows that of Song et al. 2021. Instead of generating samples according to the numerical SDE solver in Algorithm 1, we use the Predictor-Corrector (PC) sampler as described in Song et al. 2021 since it generally has better performance for VE SDEs. In PC samplers, the predictor refers to a numerical solver for the reverse-time SDE while the corrector can be any Markov chain Monte Carlo (MCMC) method that only depends on the scores. One such MCMC method considered in this work is Langevin dynamics, whereby we transform any initial sample to an approximate sample from via the following procedure:
When comparing our approach to previous methods with score-based generative models, we use the same score model to isolate the confounding factors in model training and architecture design. Moreover, we make sure the total cost of sampling is comparable across different methods. For the ALD sampler used in Jalal et al. 2021, we use 700 noise scales with 3 steps of Langevin dynamics per noise scale, resulting in a total of steps that require score function evaluation. For the PC sampler, we use 1000 noise scales and 1 step of Langevin dynamics per noise scale, totalling steps of score model evaluation.
For PC samplers, the step size in Langevin dynamics is determined by a signal-to-noise ratio . For all methods, we tune and in Eq. 8 with 100 steps of Bayesian optimization on a validation dataset, and report the results on the test dataset with the optimal parameters. We use the ax-platform toolkit for Bayesian optimization. The optimal parameters in our experiments are given by
Sparse-view CT on LIDC : , .
Metal artifact removal on LIDC : , .
Sparse-view CT on LDCT : , .
Accelerated MRI on BraTS : , .
B.5 Training details of baseline models
Filtered back projection (FBP) is a standard way for CT image reconstruction, which simply put the projections (sinogram) back to the image space based on the corresponding projection angles and geometry to get an approximated estimation of the unknown image. Usually, a high-pass filter, ramp filter is used to eliminate the blurring during this process. In our experiments, we conduct FBP on sparse-view sinograms using the torch radon toolbox (Ronchetti 2020).
FISTA-TV is a fast iterative shrinkage-thresholding algorithm (FISTA) for solving linear inverse problems in image processing (Beck & Teboulle 2009). It adopts a total variation (TV) term as the regularization in the optimization procedure. Each optimization iteration involves a matrix-vector multiplication followed by a shrinkage-threshold step. In experiments, FISTA is implemented using the tomobar toolbox (Kazantsev & Wadeson 2020) with the regularization using the CCPi regularisation toolkit (Kazantsev et al. 2019). We run 300 iterations for reconstructing each CT image with regularization parameter 0.001. Considering the nature of iterative reconstruction in FISTA, it is quite natural to generalize this method to different number of projections for reconstructing CT images. In experiments of generalizing to different number of measurements, FISTA method takes as input the sinogram with different numbers of projections and the corresponding angles for these input projections for the iterative procedure.
Conventional iterative CT reconstruction algorithms like FISTA are typically slow due to their iterative nature. Ghani & Karl 2018 proposed to cast sparse-view CT reconstruction as a sinogram inpainting problem. Specifically, it used a conditional generative adversarial network (cGAN) to first complete the sinogram data prior to reconstructing CT images, thereby avoiding the costly iterative tomographic processing. However, the imperfect sinogram inpainting may further cause image artifacts. Specifically, cGAN model takes zero-padded sparse-view sinogram with 23 projections as input and generates the completed full-angle sinogram with 180 projections. The cGAN model was implemented using PyTorch (Paszke et al. 2019) and trained using a batchsize of 64 and learning rate of 0.0001 with 50 epochs in total. In experiments of generalizing to different number of measurements, we deployed the trained cGAN model by zero-padding sparse-view sinogram with different numbers of projections to full-view sinogram as the input. After obtaining the output inpainted sinogram, we replace the corresponding projections in the output based on the ground truth projections in the input. Finally, the images were reconstructed from the overlayed sinogram. Note that we trained the model using 23 projections and tested it on other projection settings to evaluate the generalization.
To further reduce the artifacts in both sinogram and image space, SIN-4c-PRN (Wei et al. 2020) proposed a two-step sparse-view CT reconstruction model. It involves a sinogram inpainting network (SIN) to generate super-resolved sinograms with different number of projections, and then a post-processing refining network (PRN) to further remove image artifacts. Both networks are connected through a filtered back-projection operation (FBP). Specifically, SIN model takes 23-view sinogram as input to fistly upsample to full-view sinogram and then generate sinograms through network for 23, 45, 90, 180 projections respectively. FBP transforms these generated sinograms to image space, which was then concatenated and feed into PRN model for refinement. The framework was implemented using PyTorch (Paszke et al. 2019) while FBP operation was implemented using . SIN model was trained using a batchsize of 20 and learning rate of 0.0001, while PRN model was trained using a batchsize of 15 and learning rate of 0.0001. Considering that LIDC dataset is much larger than LDCT dataset, the SIN-4c-PRN model was trained for 30 epochs on LIDC dataset and 50 epochs on LDCT dataset. To deploy the trained SIN model to different numbers of measurements, the sinograms with various number of projections are taken as the input for SIN model to generate multi-view sinograms, which were also overlayed with corresponding ground truth projections in inputs. The generated multi-view sinograms are then used for PRN model inference. Since SIN-4c-PRN model involves the dual-domain learning in both sinogram and image spaces to remove artifacts, and generates multi-scale sinograms during sinogram inpainting, it shows a better generalization to different numbers of measurements compared with cGAN model as shown in Figure 5 and Figure 6.
Meanwhile, in another parallel direction, researchers proposed to learn the regularizer used in optimization from training data, outperforming traditional regularizers. Specifically, Gilton et al. 2019 presented an end-to-end, data-driven method for learning a nonlinear regularizer for solving inverse problems inspired by the Neumann series, called Neumann network. Neumann network was implemented using PyTorch (Paszke et al. 2019). Due to GPU memory constraints, the model training used the batchsize of 5 on LIDC dataset and the batchsize of 2 on LDCT dataset. The initial learning rate was 0.00001 with an exponential learning rate decay. The network was trained with 15 training epochs on both datasets.
B.5.2 Baseline models for undersampled MRI reconstruction
Zhou & Zhou 2020 proposed a dual domain recurrent network (DuDoRNet) to simultaneously recover k-space data and images for MRI reconstruction, in order to address aliasing artifacts in both frequency and image domains. The original model in Zhou & Zhou 2020 also embedded a deep T1 prior to make use of fully-sampled short protocol (T1) as complementary information. For a fair comparison with other supervised learning approaches, in our experiments, we do not include this additional information but train the DuDoRNet model without T1 prior. The DuDoRNet was trained using a batchsize of 6 and a learning rate of 0.0005 with 5 training epochs. In experiments of generalizing to different number of measurements, we trained the model with an acceleration factor of 8 and deployed the trained model to other acceleration factors during testing. Specifically, for inference, we use different Cartesian masking function corresponding to different acceleration factors or down-sampling ratios to sub-sample the k-space data for the network input with the corresponding initial reconstructed image with zero-padding k-space.
To reconstruct de-aliased MR images from under-sampled k-space data, Zheng et al. 2019 proposed a cascaded dilated dense network (CDDN) for MRI reconstruction, based on stacked dense blocks with residual connections while using the zero-filled MR image as inputs. Specifically, they used a two-step data consistency layer for k-space correction, and replaced corresponding phase-coding lines of the generated image with the original sampled k-space data after each block. In experiments, we trained the model using a batchsize of 8 and a learning rate of 0.0001, with 5 epochs on BraTS dataset. In experiments of generalizing to different number of measurements, we trained the model with an acceleration factor of 8 and deployed the trained model to other acceleration factors during testing. Similarly, different masking functions corresponding to different acceleration factors were used to sub-sample k-space data to get network inputs. From results, we observe that Cascaded DenseNet generalizes better to more measurements than DuDoRNet as shown in Figure 5 and Figure 6.
B.5.3 Baseline models for metal artifact removal
One straightforward way for reducing metal artifacts is to complete or inpaint the metal-affected missing regions in sinogram directly through linear interpolation (Kalender et al. 1987). This method does not need any network training. However, the imperfect completion of sinogram may introduce secondary artifacts to the reconstructed image. In our experiments setting, to fit for the practical applications in real world, we assume the ground truth metal trace and mask information are unknown, which can only be estimated by a rough thresholding in artifacts-affected images. We use the estimated metal mask and metal trace for linear interpolation baseline.
Wang et al. 2018 proposed a conditional generative adversarial network (cGAN)-based approach for metal artifacts reduction (MAR) in CT. Specifically, cGANMAR network learns the mapping directly from the artifacts-affected CTs to artifacts-free CTs through refinement in image space. The cGANMAR model was implemented using PyTorch (Paszke et al. 2019) and was trained with the batchsize of 64 and the learning rate of 0.0001. The network was trained with 400 epochs.
Yu et al. 2020 proposed a sinogram completion neural network (SinoNet) to recover the metal-affected projections. Especially, it leveraged the learning in both sinogram domain and image domain by using a prior network to generate a good prior image to guide sinogram learning. Note that in original setting, SNMAR required linear interpolated sinogram and CT as inputs and used ground truth metal trace and mask information to generated them. But in our method, we assume the ground truth metal trace and mask information are unknown according to practical scenario and estimate it by a rough thresholding, which will introduce estimation errors. In SNMAR experiments, we still follow the original setting to guarantee the best performance of this baseline method for a strong comparison. We trained the SNMAR using the batchsize of 64 and the learning rate of 0.0001, with a total of 100 training epochs.