Skip to main content
QUICK REVIEW

[Paper Review] LAMP: Large Deep Nets with Automated Model Parallelism for Image Segmentation

Wentao Zhu, Can Zhao|arXiv (Cornell University)|Jun 22, 2020
Advanced Neural Network ApplicationsComputer Science29 references6 citations
TL;DR

LAMP introduces automated model parallelism to train large 3D U-Net and SEU-Net architectures with whole-image inputs, enabling significant improvements in segmentation accuracy and inference speed. By leveraging parallel U-Net design based on GPipe, the method achieves state-of-the-art performance on medical image segmentation tasks without requiring model architecture changes.

ABSTRACT

Deep Learning (DL) models are becoming larger, because the increase in model size might offer significant accuracy gain. To enable the training of large deep networks, data parallelism and model parallelism are two well-known approaches for parallel training. However, data parallelism does not help reduce memory footprint per device. In this work, we introduce Large deep 3D ConvNets with Automated Model Parallelism (LAMP) and investigate the impact of both input's and deep 3D ConvNets' size on segmentation accuracy. Through automated model parallelism, it is feasible to train large deep 3D ConvNets with a large input patch, even the whole image. Extensive experiments demonstrate that, facilitated by the automated model parallelism, the segmentation accuracy can be improved through increasing model size and input context size, and large input yields significant inference speedup compared with sliding window of small patches in the inference. Code is available\footnote{https://monai.io/research/lamp-automated-model-parallelism}.

Motivation & Objective

  • To investigate the impact of increasing model size and input context size on 3D medical image segmentation accuracy.
  • To address GPU memory limitations that prevent training large 3D ConvNets and whole-image inputs in medical imaging.
  • To develop an automated model parallelism framework compatible with standard U-Net architectures, which are widely used in medical image analysis.
  • To reduce inference time by replacing sliding-window inference with single-pass whole-image inference using large receptive fields.
  • To validate the effectiveness of curriculum training and adaptive weighted loss in handling class imbalance in medical image segmentation.

Proposed method

  • Design a parallel U-Net architecture based on GPipe’s pipeline parallelism to distribute large 3D ConvNet layers across multiple GPUs.
  • Implement automated model parallelism that partitions the network across devices without requiring manual layer partitioning or architectural changes.
  • Use a curriculum training strategy that sequentially trains on small, medium, and large input patches to stabilize learning for large models.
  • Apply adaptive weighted loss combining dice and focal loss to address class imbalance in medical images with small organs or lesions.
  • Employ RMSProp optimizer with learning rate scheduling and batch normalization to stabilize training of large models.
  • Enable whole-image inference by using large input patches (up to 512×512×704), eliminating the need for sliding-window inference.

Experimental results

Research questions

  • RQ1How does increasing the size of 3D ConvNets affect segmentation accuracy on medical image datasets?
  • RQ2What is the impact of using large input context (whole image or large patches) on inference speed and accuracy compared to sliding-window inference?
  • RQ3Can automated model parallelism enable training of large 3D U-Net and SEU-Net models on standard medical imaging datasets without architectural modifications?
  • RQ4How does curriculum training with increasing input size improve model convergence and performance on large models?
  • RQ5To what extent does combining adaptive weighted loss with large models and inputs mitigate class imbalance in small-structure segmentation?

Key findings

  • The SEU-Net-128 model with whole-image input achieved superior performance compared to AnatomyNet, demonstrating that large models and large context improve accuracy.
  • Using whole-image input reduced inference time to 1.52 seconds per image (U-Net-32 at 256³), a 5.8x speedup over sliding-window inference with 64³ patches.
  • Larger models (e.g., U-Net-128) with large inputs achieved Dice scores of 90.99% on liver segmentation and 56.48% on tumor segmentation, significantly outperforming smaller configurations.
  • The inference time for the largest input (256³) was reduced to 4.39 seconds for U-Net-128, showing that large input enables faster inference by reducing the number of forward passes.
  • The curriculum training strategy enabled stable training of large models, with higher accuracy achieved when training on progressively larger patches.
  • The automated model parallelism framework successfully trained models with up to 128 filters per block and input sizes up to 512×512×704, overcoming GPU memory limits.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.