TL;DR
This paper introduces Med-NCA, a novel segmentation method for medical images that leverages Neural Cellular Automata (NCA) to achieve state-of-the-art performance with significantly reduced computational resources. Med-NCA is designed to be lightweight, robust to image variations and artefacts, and deployable on low-power devices, addressing the critical need for accessible medical imaging tools.
What Problem Does This Paper Address?
Deep learning models, particularly UNet-style architectures, have become the standard for medical image segmentation. However, these models often require substantial computational resources, including high-end GPUs and significant VRAM, making them inaccessible in resource-constrained environments like rural healthcare facilities or during crises. Furthermore, these models can be sensitive to variations in image scale, shape, translation, and acquisition artefacts, often necessitating extensive data augmentation. The paper aims to bridge this gap by developing a segmentation method that is both highly performant and computationally efficient, enabling deployment on low-power hardware while maintaining robustness.
Methods
The core innovation is Med-NCA, a two-step training pipeline for NCAs adapted for high-resolution medical image segmentation. Unlike traditional NCAs that can be VRAM-intensive for large images, Med-NCA addresses this by:
- Downscaling and Global Knowledge Propagation: The input image is first downscaled, and a "backbone NCA" model is applied iteratively to propagate global information across the image.
- Patch-Based Refinement: The output from the first step is upscaled, and its first channel (containing the low-resolution information) is replaced with the original high-resolution image. A second, identical backbone NCA model then refines the segmentation using patches from the high-resolution image.
This two-step process significantly reduces VRAM requirements during training, making it feasible to train on high-resolution images. For inference, Med-NCA can be applied directly to the full image without the need for patchification, leveraging the inherent asynchronous and iterative nature of NCAs. The backbone NCA itself is a lightweight architecture consisting of convolutional layers and a dense layer, designed to learn local interactions that collectively build global understanding.
Datasets
The paper evaluates Med-NCA on two medical imaging datasets:
- Hippocampus: Data from the Medical Segmentation Decathlon (MSD).
- Prostate: A mixture of data from the MSD and the ISBI 2013 challenge.
The prostate images were scaled to a training size of 256x256, allowing for out-of-distribution experiments with smaller and higher-resolution scales.
Key Insights and Ideas
- NCAs as Lightweight Segmentation Models: The paper demonstrates that NCAs, traditionally known for image generation, can be effectively adapted for medical image segmentation, offering a compelling alternative to resource-intensive UNet architectures.
- Two-Step Training for High-Resolution: The proposed Med-NCA pipeline is crucial for overcoming the VRAM limitations of NCAs when dealing with high-resolution medical images, enabling their practical application.
- Inherent Robustness and Invariance: The local, cell-to-cell communication mechanism of NCAs inherently leads to robustness against image scale, shape, and translation variations, a significant advantage over UNet-style models.
- Deployability on Edge Devices: The lightweight nature of Med-NCA makes it suitable for deployment on low-power devices like the Raspberry Pi B+, opening doors for medical imaging in remote or resource-limited settings.
Key Results
- Performance: Med-NCA outperforms classic UNet by 2% Dice for hippocampus segmentation and 3% for prostate segmentation.
- Model Size: Med-NCA is remarkably smaller, being 500 times lighter than UNet in terms of trainable parameters.
- Input Invariance: Med-NCA exhibits superior robustness to scale, shape, and translation variations compared to UNet. For instance, it shows only a 3% Dice drop for strong vertical shape shifts, while UNet drops by 13%.
- Robustness to Artefacts: Med-NCA demonstrates comparable or slightly better robustness to common MRI artefacts like ghosting, anisotropy, and bias field compared to UNet.
- Low-Power Deployment: The paper successfully demonstrates Med-NCA inference on a Raspberry Pi B+, showcasing its potential for edge computing in healthcare.
Limitations and Future Work
- 2D Limitation: The current Med-NCA approach is limited to 2D image slices. The authors suggest future work could involve adapting the perceptive field and integrating VRAM improvements for 3D inputs, which would broaden its applicability to more datasets and potentially improve performance.
- Performance Gap: While Med-NCA achieves near state-of-the-art results, there remains a 10% performance difference compared to the auto ML pipeline nnUNet on the prostate task.
- Improving Robustness: Although Med-NCA is robust, performance degradation occurs with severe acquisition artefacts. Future work could involve developing a training pipeline similar to nnUNet, incorporating data augmentations and post-processing steps, to further enhance robustness.
Summary updated