A Deep Cascade of Convolutional Neural Networks for MR Image Reconstruction

Jo Schlemper, Jose Caballero, Joseph V. Hajnal, Anthony Price, Daniel Rueckert

Introduction

In many clinical scenarios, medical imaging is an indispensable diagnostic and research tool. One such important modality is Magnetic Resonance Imaging (MRI), which is non-invasive and offers excellent resolution with various contrast mechanisms to reveal different properties of the underlying anatomy. However, MRI is associated with a slow acquisition process. This is because data samples of an MR image are acquired sequentially in kk-space and the speed at which kk-space can be traversed is limited by underlying MR physics. A long data acquisition procedures impose significant demands on patients, making the tool expensive and less accessible. One possible approach to accelerate the acquisition process is to undersample kk-space, which in theory provides an acceleration rate proportional to a reduction factor of a number of k-space traversals required. However, undersampling in kk-space violates the Nyquist-Shannon theorem and generates aliasing artefacts when the image is reconstructed. The main challenge in this case is to find an algorithm that takes into account the undersampling undergone and can compensate missing data with a-priori knowledge on the image to be reconstructed.

Using Compressed Sensing (CS), images can be reconstructed from sub-Nyquist sampling, assuming the following: firstly, the acquired images must be compressible, i.e. they have a sparse representation in some transform domain. Secondly, one must ensure incoherence between the sampling and sparsity domains to guarantee that the reconstruction problem has a unique solution and that this solution is attainable. In practice, this can be achieved with random sub-sampling of kk-space, which translates aliasing patterns in the image domain into patterns that can be regarded as correlated noise. Under such assumptions, images can then be reconstructed through nonlinear optimization or iterative algorithms. The class of methods which applies CS to the MR reconstruction problem is termed CS-MRI . A natural extension of these has been to enable more flexible representations with adaptive sparse modelling, where one attempts to obtain the optimal representation from data directly. This can be done by exploiting, for example, dictionary learning (DL) .

To achieve more aggressive undersampling, several strategies can be considered. One way is to further exploit the inherent redundancy of the MR data. For example, in dynamic imaging, one can make use of spatio-temporal redundancies , , . Similarly, when imaging a full 3D volume, one exploit redundancy from adjacent slices . An alternative approach is to exploit sources of explicit redundancy of the data and solve an overdetermined system. This is the fundamental assumption underlying parallel imaging . Similarly, one can make use of multi-contrast information or the redundancy generated by multiple filter responses of the image . These explicit redundancies can also be used to complement the sparse modelling of inherent redundancies , .

Recently, deep learning has been successful at tackling many computer vision problems. Deep neural network architectures, in particular convolutional neural network (CNN), are becoming the state-of-the-art technique for various imaging problems including image classification , object localisation and image segmentation . Deep architectures are capable of extracting features from data to build increasingly abstract representations that are useful for the end-goal being considered, replacing the traditional approach of carefully hand-crafting features and algorithms. For example, it has already been demonstrated that CNNs outperform sparsity-based methods in super-resolution , not only for its quality but also in terms of the reconstruction speed . One of the contributions of our work is to explore the application of CNNs in undersampled MR reconstruction and investigate whether they can exploit data redundancy through learned representations. In fact, CNNs have already been applied to compressed sensing from random Gaussian measurements . Despite the popularity of CNNs, there has only been preliminary research on CNN-based MR image reconstruction , , hence the applicability of CNNs to this problem is yet to be qualitatively and quantitatively assessed in detail.

In this work we consider reconstructing 2D static images with Cartesian sampling using CNNs. Similar to the formulations in CS-MRI, we view the reconstruction problem as a de-aliasing problem in the image domain. However, reconstructing an undersampled MR image is challenging because the images typically have low signal-to-noise ratio, yet often high-quality reconstructions are needed for clinical applications. To resolve this issue, we propose a very deep network architecture which forms a cascade of CNNs. Our cascade network closely simulates the iterative reconstruction of DL-based methods, however, our approach allows end-to-end optimisation of the reconstruction algorithm. We show that under the Cartesian undersampling scheme, our CNN approach is capable of producing high-quality reconstructions of 2D cardiac MR images, outperforming DL-based MRI reconstruction (DLMRI) . Moreover, using the proposed method, each images can be reconstructed in about 23 msms, which enables the real-time applications.

Problem Formulation

Let x∈\mathdsCN\mathbf{x}\in\mathds{C}^{N} represent a complex-valued MR image composed of N×N\sqrt{N}\times\sqrt{N} pixels stacked as a column vector. Our problem is to reconstruct x\mathbf{x} from y∈\mathdsCM\mathbf{y}\in\mathds{C}^{M}, the measurements in kk-space, such that:

Here Fu∈\mathdsCM×N\mathbf{F}_{u}\in\mathds{C}^{M\times N} is an undersampled Fourier encoding matrix. For undersampled kk-space measurements (M<<NM<<N), the system of equations (1) is underdetermined and hence the inversion process is ill-defined. In order to reconstruct x\mathbf{x}, one must exploit a-priori knowledge of its properties, which can be done by formulating an unconstrained optimisation problem:

Here Ri\mathbf{R}_{i} is an operator which extracts an image patch at ii, γi\boldsymbol{\gamma}_{i} is the corresponding sparse code with respect to a dictionary D\mathbf{D}. In this approach, the regularisation terms enforce x\mathbf{x} to be approximated by the reconstructions from the sparse code of patches. By taking the same approach, for our CNN formulation, we enforce x\mathbf{x} to be well-approximated by the CNN reconstruction:

Here fcnnf_{\text{cnn}} is the forward mapping of the CNN parameterised by θ\boldsymbol{\theta}, which takes in the zero-filled reconstruction xu=FuHy\mathbf{x}_{u}=\mathbf{F}^{H}_{u}\mathbf{y} and directly produces a reconstruction as an output. Since xu\mathbf{x}_{u} is heavily affected by aliasing from sub-Nyquist sampling, the CNN reconstruction can therefore be seen as solving de-aliasing problem in the image domain.

The approach of eq. (LABEL:eq:cnn_rec), however, is limited in the sense that the CNN reconstruction and the data fidelity are two independent terms. In particular, since the CNN operates in the image domain, it is trained to reconstruct the image without a-priori information of the acquired data in kk-space. However, if we already know some of the kk-space values, then the CNN should be discouraged from modifying them. Therefore, by incorporating the data fidelity in the learning stage, the CNN should be able to achieve better reconstruction. This means that the output of the CNN is now conditioned on Ω\Omega, an index set indicating which kk-space measurements have been sampled in y\mathbf{y}. Then, our final reconstruction is given simply by the output, xcnn=fcnn(xu∣θ,λ,Ω)\mathbf{x}_{\text{cnn}}=f_{\text{cnn}}(\mathbf{x}_{u}|\boldsymbol{\theta},\lambda,\Omega). Given training data D\mathcal{D} of input-target pairs (xu,xt)(\mathbf{x}_{u},\mathbf{x}_{t}), we can train the CNN to produce an output that attempts to accurately reconstruct the fully-sampled data by minimising an objective function:

Data Consistency Layer

In order to incorporate the data fidelity in the network architecture, we first note the following: for a fixed θ\boldsymbol{\theta}, eq. (LABEL:eq:cnn_rec) has a closed-form solution in kk-space, given as in :

where x^cnn=Ffcnn(xu∣θ)\hat{\mathbf{x}}_{\text{cnn}}=\mathbf{F}f_{\text{cnn}}(\mathbf{x}_{u}|\boldsymbol{\theta}), x^u=Fxu\hat{\mathbf{x}}_{u}=\mathbf{F}\mathbf{x}_{u} and F\mathbf{F} is the Fourier encoding matrix. The final image is reconstructed by applying the inverse of the encoding matrix xrec=F−1x^rec\mathbf{x}_{\text{rec}}=\mathbf{F}^{-1}\hat{\mathbf{x}}_{\text{rec}}. In the noiseless setting (i.e. λ→∞\lambda\to\infty), we simply replace the iith predicted coefficient by the original coefficient if it has been sampled. For this reason, this operation is called data consistency step in kk-space (DC).

Since the DC step has a simple expression, we can in fact treat it as a layer operation of the network, which we denote as DC layer. When defining a layer of a network, the rules for forward and backward passes must be specified. This is because CNN training can effectively be performed through stochastic gradient descent, where one updates the network parameters θ\boldsymbol{\theta} to minimise the objective function L\mathcal{L} by descending along the direction given by the derivative ∂L/∂θT\partial\mathcal{L}/\partial\boldsymbol{\theta}^{T}. For this, it is necessary to define the gradients of each network layer relative to the network’s output. In practice, one uses an efficient algorithm called backpropagation , where the final gradient is given by the product of all the Jacobians of the layers contributing to the output. Hence, in general, it suffices to specify a layer operation fLf_{L} for the forward pass and derive the Jacobian of the layer with respect to the layer input ∂fL/∂xT\partial f_{L}/\partial\boldsymbol{\mathbf{x}}^{T} for the backward pass.

The data consistency in kk-space can be simply decomposed into three operations: Fourier transform, data consistency and inverse Fourier transform. In our case, we take our Fourier transform to be a two-dimensional (2D) discrete Fourier transform (DFT) of the 2D image representation of x\mathbf{x}, which is written as x^=Fx\hat{\mathbf{x}}=\mathbf{F}\mathbf{x} in matrix form. The inverse transformation is defined analogously, where x=F−1x^\mathbf{x}=\mathbf{F}^{-1}\hat{\mathbf{x}}. The data consistency fdcf_{dc} performs the element-wise operation defined in eq. (6). We can write it in matrix form as:

Here Λ\bm{\Lambda} is a diagonal matrix of the form:

Combining the three operations defined above, we can obtain the forward pass of the layer performing data consistency in kk-space:

Backward pass

In general, one requires Wirtinger calculus to derive a gradient in complex domain, however, in our case, the derivation greatly simplifies due to the linearity of the DFT matrix and the data consistency operation. The Jacobian of the DC layer with respect to the layer input x\mathbf{x} is therefore given by:

There are several points that deserve further explanation: firstly, unlike many other applications where CNNs process real-valued data, MR images are complex-valued and the network needs to account for this. One possibility would be to design the network to perform complex-valued operations. A simpler approach, however, is to accommodate the complex nature of the data with real-valued operation in a dimensional space twice as large (i.e. we replace \mathdsCN\mathds{C}^{N} by \mathdsR2N\mathds{R}^{2N}). In the latter case, the derivations above still hold due to the fundamental assumption in Wirtinger calculus. Secondly, even though the DC layer does not have any additional parameters to be optimised, it allows end-to-end training of CNN, hence benefiting our final reconstruction.

Cascading Network

For CS-based methods, in particular for DLMRI, the optimisation problem is solved using a coordinate-descent type algorithm, alternating between the de-aliasing step and the data consistency step until convergence. In contrast, with CNNs, we are performing one step de-aliasing and the same network cannot be used to de-alias iteratively. While CNNs may be powerful enough to learn one step reconstruction, such network could indicate signs of overfitting, unless we have vast amounts of training data. In addition, training such networks may require a long time as well as careful fine-tuning steps. It is therefore best to be able to use CNNs for iterative reconstruction approaches.

A simple solution is to train a second CNN which learns to reconstruct from the output of the first CNN. In fact, we can concatenate a new CNN on the output of the previous CNN to build extremely deep networks which iterate between intermediate de-aliasing and the data consistency reconstruction. We term this a cascading network. In fact, one can essentially view this as unfolding the optimisation process of DLMRI. If each CNN expresses the dictionary learning reconstruction step, then the cascading CNN can be seen as a direct extension of DLMRI, where the whole reconstruction pipeline can be optimised from training.

Architecture and Implementation

Incorporating all the new elements mentioned above, we can devise our cascading network architecture. Our CNN takes in a two-channeled image \mathdsRn×n×2\mathds{R}^{\sqrt{n}\times\sqrt{n}\times 2}, where each channel stores real and imaginary parts of the undersampled image. Based on literature, we used the following network architecture for CNN, illustrated in Figure 1: it has nd−1n_{d}-1 convolution layers CiC_{i}, which are all followed by Rectifier Linear Units (ReLU) as a choice of nonlinearity. For each of them, we used a kernel size k=3k=3 and the number of filters were set to nf=64n_{f}=64. The network is followed by another convolution layer CrecC_{\text{rec}} with kernel size k=3k=3 and nf=2n_{f}=2, which projects the extracted representation back to image domain. We also used residual connection , which sums the output of the CNN module with its input. Finally, we form a cascading network by using the DC layers interleaved with the CNN reconstruction modules. For our experiment, we chose nd=5n_{d}=5 and nc=5n_{c}=5. We found that our choice of hyperparameters work sufficiently well, however, by no means were they optimised. Hence the result is likely to be improved by changing the architecture and varying the parameters such as kernel size and stride , .

Experimental Results

Our method was evaluated using the cardiac MR dataset used in , consisting of 10 fully sampled short-axis cardiac cine MR scans. Each scan contains a single slice SSFP acquisition with 30 temporal frames with a 320×320320\times 320 mm field of view and 10 mm slice thickness. The raw data consists of 32-channel data with sampling matrix size 192×190192\times 190, which was zero-filled to the matrix size 256×256256\times 256. The data was combined into a single complex-valued image using SENSE with no undersampling, retrospective gating and the coil sensitivity maps normalised to a body coil image. The images were then retrospectively undersampled using Cartesian undersampling masks, where we fully sampled along the frequency-encoding direction but undersample in the phase-encoding direction. The strategy was adopted from : for each frame we acquired eight lowest spatial frequencies. The sampling probability of other frequencies along the phase-encoding direction was determined by a zero-mean Gaussian distribution. The acceleration rates are stated with respect to the matrix size of the raw data. Note that similarly to previous studies, , , since the raw data was combined prior to the simulation, the coil sensitivities were not directly addressed in our reconstruction. This is set for future investigation, where we plan to incorporate the explicit redundancy created by parallel imaging into our model.

Although the dataset is a dynamic sequence, we restrict our experiments to the 2D case only. Therefore, each time frame was treated as an independent image, yielding a total of 300 images. We found that applying rigid transformations as a data augmentation was crucial, as without it, the network quickly overfitted the training data. Moreover, for a fixed undersampling rate, we generated an undersampling mask on-the-fly to allow the network to learn diverse patterns of aliasing artefact.

Metric

We evaluated our method by reconstructing undersampled images from 3-fold and 6-fold acceleration rates. We used mean squared error (MSE) as our quantitative measure. During our experiment, we noticed that even for the same undersampling rate, different undersampling masks yield considerable differences in the reconstruction’s signal-to-noise. To take this into consideration for fair comparison, we assigned an arbitrary but fixed undersampling mask for each image in test data. Apart from the quantitative measure, we also inspected the visual aspect of the reconstructed images for qualitative assessment.

Models

For CNN, we selected the hyperparameters described above. To ensure a fair comparison, we reported the aggregated test result from 2-fold cross-validation (i.e. train on five subjects and test on the other five). For each iteration of the cross validation, the network was initialised using He initialisation, trained end-to-end. For 6-fold undersampling, we initialised the network using the parameters obtained from the trained models from 3-fold acceleration and fine-tuned using Adam optimiser. Each network converged within 3 days on GeForce TITAN X.

We compared our method to DLMRI, a representative of the state-of-the-art CS-based methods. For DLMRI, we simplified the implementation of DLTG from , with patch size 6×66\times 6. We switched off any de-aliasing along the temporal axis. Since DLMRI is quite time consuming, in order to obtain the results within a reasonable amount of time, we trained a joint dictionary for all time frames within the subject and reconstructed them in parallel. Note that we did not observe any decrease in performance from this approach. For each subject, we ran 400 iterations and obtained the final reconstruction.

2 Results

The means of the reconstruction errors across 10 subjects are summarised in table 1. For both 3-fold and 6-fold acceleration, one can see that CNN consistently outperformed DLMRI, and that the standard deviation of the error made by CNN was smaller. The reconstruction from 3-fold acceleration can be found in Figure 2. It can be seen that the CNN approach produced a smaller overall error. The CNN reconstruction produced a more homogeneous reconstruction. On the other hand, DLMRI gave a blocky reconstruction. In some cases, both CNN and DLMRI suffered from small losses of important anatomical structures in their reconstructions (orange), but CNN was able to recover more details (red). The reconstructions from 6-fold acceleration is in Figure 3. Although both methods suffered from significant loss of structures (orange), CNN was still capable of better preserving the texture than DLMRI (red). On the other hand, DLMRI created extremely block-like artefacts due to over-smoothing. 6x undersampling for these images typically approaches the limit of sparsity-based methods, however, CNN was able to predict some anatomical details which was not possible by DLMRI. This could be due to the fact that CNN has more free parameters to tune with, allowing the network to learn complex but more accurate transformations of data.

While training CNN is time consuming, once it is trained, the inference can be done extremely quickly on a GPU. Reconstructing each slice took 23±0.123\pm 0.1 milliseconds on GeForce GTX 1080, which enables real-time applications. To produce the above results, DLMRI took about 6.1±1.36.1\pm 1.3 hours per subject on CPU. Even though we do not have a GPU implementation of DLMRI, it is expected to take longer than 23ms because DLMRI requires dozens of iterations of dictionary learning and sparse coding steps. Using a fixed, pre-trained dictionary could remove this bottleneck, in exchange of lowering the reconstruction capacity.

Discussion and Conclusion

In this work, we evaluated the applicability of CNNs for the MR image reconstruction problem. From the experiment, we have shown that using the network with interleaved data consistency stages, we can obtain a model which can reconstruct images sufficiently well. The CS framework offers mathematical guarantee for the signal recovery, which makes the approach appealing in theory as well as in practice even though the required sparsity cannot be genuinely achieved in medical imaging. However, even though this is not the case for CNNs, we have empirically shown that a CNN-based approach can outperform DL-based MR reconstruction. In addition, at very aggressive undersampling rates, the CNN method was capable of reconstructing most of the anatomical structures more accurately, while CS-based methods do not guarantee such behaviour.

The limitation of this work is that the data was first reconstructed by SENSE, which was then used to simulated the acquisition process. It is, however, more practical to consider images with sensitivity map of the surface coils, which allows the model to be used for parallel imaging reconstruction directly. In fact, a better approach is to exploit the redundancy of the coil sensitivity maps and combine directly into our model, which will be addressed in our future work.

In this work, we were able to show that the network can be trained using arbitrary Cartesian undersampling masks of the fixed sampling rate rather than selecting a fixed number of undersampling masks for training and testing. This suggests that the network was capable of learning a generic strategy to de-alias the images. A further investigation should consider how tolerant the network is for different undersampling rates. Furthermore, it is interesting to consider other sampling patterns such as radial and spiral trajectories. As these trajectories provide different properties of aliasing artefacts, a further validation is appropriate to determine the flexibility of our approach.

Finally, Although CNNs can only learn local representations which should not affect global structure, it remains to be determined how the CNN approach operates when there is a pathology present in images, or other more variable content. We have performed a two-fold cross-validation to ensure that the network can handle unseen data acquired through the same acquisition protocol. Generalisation properties must be evaluated carefully on a larger dataset, however, CNNs are flexible in a way such that one can incorporate application specific priors to its objective to allocate more importance on preserving any features of interest in the reconstruction, provided that such expert knowledge is available at training time. For example, analysis of cardiac images in clinical settings often employs segmentation and/or registration. Multi-task learning is a promising approach to further improve the utility of CNN-based MR reconstructions.

Acknowledgment

The work was partially funded by EPSRC Programme Grant (EP/P001009/1).

References