Holistic Modeling in Medical Image Segmentation Using Spatial Recurrence

João B. S. Carvalho, João Santinha, Đorđe Miladinović, Carlos Cotrini, Joachim M. BuhmannMIDL 2022

Abstract

In clinical practice, regions of interest in medical imaging (MI) often need to be identified through a process of precise image segmentation. For MI segmentation to generalize, we need two components: to identify local descriptions but at the same time to develop a holistic representation of the image that captures long-range spatial dependencies. Unfortunately, we demonstrate that the state of the art does not achieve the latter. In particular, it does not provide a modeling that yields a global, contextual model. To improve accuracy and enable holistic modeling, we introduce a novel deep neural network architecture endowed with spatial recurrence. The implementation relies on gated recurrent units that directionally traverse the feature map, greatly increasing each layer's receptive field and explicitly modeling non-adjacent relationships between pixels. Our method is evaluated in four different segmentation tasks: nuclei segmentation, colorectal polyp segmentation, liver segmentation, and aorta artery segmentation. Our experiments demonstrate an average increase in performance of 4.72 Dice points and 0.68 Hausdorff distance units compared to U-Net and U-Net++, and a performance better or on par when compared to transformer-based architectures.

Introduction

Precise image segmentation is a cornerstone of clinical diagnostics. Effective segmentation requires a dual capability: identifying fine-grained local textures (the "what") while maintaining a holistic understanding of global anatomical context (the "where"). While standard Convolutional Neural Networks (CNNs), such as the U-Net, excel at local feature extraction, they are fundamentally limited by their receptive field.

Spatial dependency modeling: The relationship between an input patch k and the output representation O.

As illustrated in Figure 5, the mapping from input space $I$ to output space $O$ in traditional architectures often fails to capture long-range dependencies. This "nearsightedness" leads to segmentation errors where local patterns are correctly identified but their global positioning is ignored, resulting in anatomically incorrect false positives.

Methods: Spatial Recurrence

To address these limitations, we propose Spatial Recurrence, a mechanism designed to explicitly model non-adjacent pixel relationships. We introduce Spatial Dependency Networks (SDNs), which are interleaved into the U-Net and U-Net++ architectures to create SDU-Net and SDNU-Net.

The core of the SDN is the Recurrent Sweep. Unlike standard convolutions that operate on local neighborhoods, the recurrent sweep traverses the feature map in four directions: Up, Down, Left, and Right. Using Gated Recurrent Units (GRUs), the network updates each pixel's representation based on its neighbors along the sweep path. This ensures that every pixel in the feature map eventually integrates information from every other pixel, facilitating a truly holistic representation. By placing these SDN layers at deeper, lower-resolution scales, the architecture achieves global context without the prohibitive computational cost of full-resolution recurrence.

Experimental Results

The proposed architectures were evaluated across four diverse datasets: microscopy (Nuclei), colonoscopy (Polyps), abdominal CT (Liver), and thoracic CT (Aorta).

Qualitative comparison of segmentation results across models for polyp (top) and liver (bottom) tasks. (a) Original, (b) U-Net, (c) U-Net++, (d) SDU-Net, (e) SDNU-Net.

As shown in Figure 2, the SDN-enhanced models (d, e) significantly reduce false positives and false negatives compared to standard U-Net (b) and U-Net++ (c). Quantitatively, our models achieved an average improvement of 4.72 Dice points over the baselines. The improvement was most pronounced in liver segmentation, where SDNU-Net reached 94.72 Dice points, compared to 86.34 for the standard U-Net. Furthermore, the performance of SDNU-Net was found to be better than or on par with state-of-the-art transformer-based models like Trans-Unet and Swin-Unet, while remaining easier to integrate into existing CNN-based pipelines.

Conclusion

Spatial recurrence provides a computationally efficient alternative to Transformers for capturing global context in medical imaging. By explicitly modeling spatial dependencies through directional sweeps, SDU-Net and SDNU-Net overcome the receptive field limitations of traditional CNNs. Future work will explore extending this 2D spatial recurrence into 3D volumes by incorporating forward and backward sweeps across image slices, further enhancing the model's ability to capture volumetric anatomical context.

Summary updated

BibTeX
@inproceedings{carvalho2022holistic,
  author = {João B. S. Carvalho and João Santinha and Đorđe Miladinović and Carlos Cotrini and Joachim M. Buhmann},
  title = {{Holistic Modeling in Medical Image Segmentation Using Spatial Recurrence}},
  booktitle = {MIDL},
  year = {2022},
  url = {https://openreview.net/forum?id=avqFDNyt0Dj},
}
Figure