Abstract
In 3D medical image segmentation, extreme class imbalance and high computational costs present significant challenges. This paper introduces a memory-efficient 3D convolutional neural network (CNN) and a novel Exponential Logarithmic Loss function specifically designed to improve the segmentation of small, clinically vital structures. The proposed model achieves an 82% average Dice coefficient across 20 brain structures—including those comprising only 0.14% of the total volume—while maintaining an inference speed twice as fast as the industry-standard V-Net.
Introduction
Accurate segmentation of 3D medical images, such as brain MRIs, is hindered by two primary factors. First, extreme class imbalance occurs when large structures (e.g., cerebral grey matter) coexist with tiny ones (e.g., the nucleus accumbens). Standard loss functions like Dice or Cross-Entropy often neglect these small regions because their contribution to the overall loss is minimal. Second, the computational cost of 3D CNNs is substantial; processing $128^3$ volumes typically requires significant VRAM, limiting network depth. This work addresses these issues by handling 20 labels accurately and efficiently.
Methodology
Network Architecture
The proposed architecture follows an encoder-decoder (U-Net) paradigm with several key optimizations for efficiency. To reduce memory consumption, feature maps from the encoder are added to the decoder rather than concatenated. The blocks utilize $1 \times 1 \times 1$ convolutional skip connections to facilitate gradient flow. Furthermore, deep supervision is applied at multiple scales, though it is omitted in the most memory-intensive layers to preserve resources.
Exponential Logarithmic Loss ($L_{Exp}$)
The core innovation is the Exponential Logarithmic Loss, which combines Logarithmic Dice Loss and Exponential Cross-Entropy. Unlike linear Dice loss, the logarithmic variant prioritizes labels with poor current performance. The exponential component, inspired by Focal Loss, uses a parameter $\gamma$ to balance task difficulty. Empirical results showed that $\gamma = 0.3$ is optimal for 3D segmentation, creating an "inflection point" that prevents the loss from plateauing and encourages the model to refine boundaries even for relatively accurate structures.
Experimental Results
The model was evaluated on a dataset of 43 3D brain MRIs with 20 labels. The background accounts for 93.5% of the image, and the smallest structure is only 0.14% the size of the largest.
Quantitative and Qualitative Performance
The system achieved an average Dice coefficient of 82% across all labels. Inference for a full $128^3$ volume takes just 0.4 seconds on a TITAN X GPU, making it highly suitable for clinical environments.
As shown in the qualitative results, the Exponential Logarithmic Loss significantly outperforms standard linear Dice loss in segmenting small, low-contrast structures. While linear Dice loss often fails to identify tiny regions like the amygdala, the proposed $L_{Exp}$ maintains high spatial consistency and relative accuracy across all structure sizes.
Conclusion
By combining a memory-efficient architecture with a loss function that accounts for relative structure size, this work demonstrates that high-accuracy multi-label 3D segmentation is possible even with limited computational resources. Future work will explore non-rigid data augmentation and scaling the architecture for higher-resolution clinical scans.
Summary updated