Deeper Image Quality Transfer: Training Low-Memory Neural Networks for 3D Images

Stefano B. Blumberg, Ryutaro Tanno, Iasonas Kokkinos, Daniel C. Alexander

Deeper Image Quality Transfer: Training Low-Memory Neural Networks for 3D Images

Introduction

Deep learning has revolutionized computer vision, largely driven by the discovery that "deeper is better." However, 3D medical imaging (like MRI or CT scans) presents a unique challenge: volumetric data is massive. In standard neural network training, the GPU must store the "activations" (intermediate calculations) for every single layer to calculate gradients during backpropagation. For high-resolution 3D volumes, these activations quickly exceed the memory limits of even high-end GPUs. This paper introduces a memory-efficient framework that breaks this dependency, allowing for deep 3D architectures to fit on standard hardware by combining Reversible Networks (RevNets) and gradient checkpointing.

Methodology: Reversible Networks and Checkpointing

The authors introduce a framework that trades computation time for memory space. The core philosophy is to re-calculate activations on-the-fly during the backward pass rather than storing them during the forward pass. This is achieved through two key techniques:

  1. Reversible Networks (RevNets): These are specialized network blocks designed so that the input can be mathematically reconstructed from the output. Because the network is "reversible," the GPU doesn't need to store activations during the forward pass.
  2. Gradient Checkpointing: This technique involves storing only a few "checkpoints" (specific layer activations) and re-running the forward pass between those checkpoints when needed to recover the missing data for gradient calculation.
Figure 1: Comparison of standard and reversible network architectures. (a-b) show the forward and inverse operations of a RevNet block. (c-d) contrast a standard layer stack with a RevNet stack.

Architecture: Elongating the 3D ESPCN

The authors take a baseline architecture—the 3D ESPCN (Efficient Sub-Pixel Convolutional Network)—and "elongate" it by inserting stacks of RevNet blocks between its original layers. While standard networks have memory requirements that scale linearly with depth ($O(N)$), this RevNet approach allows for nearly constant memory usage regardless of how many layers are added. This allows the model to scale in depth without hitting the "memory wall."

Figure 6: The proposed deep architecture (a) integrates RevNet stacks with ESPCN layers. (b-c) illustrate the memory-efficient backpropagation process where gradients are passed through the reversible blocks.

Experimental Results

The study utilized high-resolution diffusion magnetic resonance imaging (dMRI) scans from the Human Connectome Project (HCP). The task was Image Quality Transfer (IQT), specifically super-resolution: taking low-resolution, "standard hospital grade" scans and upsampling them to match the quality of high-powered research scanners.

Key Findings: * Accuracy Boost: The best model (ESPCN-RN4) reduced the Root Mean Squared Error (RMSE) by 13% compared to the previous state-of-the-art. Statistical significance was confirmed with a Wilcoxon signed-rank test ($p=0.0117$). * Memory Efficiency: The augmented deep network used only 541 MB of VRAM, compared to 523 MB for the much shallower baseline. In contrast, a "naive" deep version would have required 1091 MB. * Anatomical Fidelity: Qualitatively, the deeper models produced sharper boundaries between white and gray matter in the brain, demonstrating that increased capacity leads to better preservation of structural details. * Computational Trade-off: The memory-efficient deep model took about 309 seconds per epoch, compared to 20 seconds for the shallow baseline, illustrating the trade-off between training time and memory capacity.

Conclusion

This paper proves that the "depth = accuracy" trend seen in 2D image recognition holds true for 3D medical tasks when memory constraints are bypassed. While the computational overhead is higher, the ability to train deeper models unlocks higher predictive power and better exploitation of large datasets. Future work may extend these techniques to other memory-intensive 3D tasks like image segmentation and registration.

Summary updated

BibTeX
@inproceedings{blumberg2018deeper,
  author = {Stefano B. Blumberg and Ryutaro Tanno and Iasonas Kokkinos and Daniel C. Alexander},
  title = {{Deeper Image Quality Transfer: Training Low-Memory Neural Networks for 3D Images}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2018},
  url = {https://openreview.net/forum?id=3hlBTF3YTT},
}
Figure