Rethinking Boundary Detection in Deep Learning Models for Medical Image Segmentation

Yi Lin, Dong Zhang, Xiao Fang, Yufan Chen, Kwang-Ting Cheng, Hao Chen · DOI

Introduction

Medical Image Segmentation (MISeg) is a cornerstone of computer-aided diagnosis, requiring the precise delineation of organs and lesions at the pixel level. Despite the success of deep learning, this task remains challenging due to blurry boundaries, significant variations in lesion size, and noisy backgrounds. Current methodologies typically rely on either Convolutional Neural Networks (CNNs), which excel at local texture extraction but lack global context, or Vision Transformers (ViTs), which capture long-range dependencies but often struggle with translation invariance and high data requirements.

Furthermore, most modern models treat boundary detection as an implicit byproduct of the segmentation process. The authors of this research argue that by ignoring explicit boundary information, models lose a vital structural cue necessary for clinical accuracy. To bridge this gap, they propose CTO (Convolution, Transformer, and Operator), a novel hybrid architecture that revitalizes traditional edge detection within a deep learning framework.

The CTO Framework

The CTO model follows a standard U-shaped encoder-decoder paradigm but introduces three specific innovations designed to harmonize local precision, global context, and structural awareness.

1. Dual-Stream Encoder

Instead of relying on a single backbone, CTO utilizes a dual-stream approach:

  • Mainstream CNN (Res2Net): This branch is responsible for extracting high-resolution local features and textures.
  • Assistant Lightweight ViT (LightViT): Rather than using a heavy Transformer backbone, CTO employs a lightweight ViT as an assistant stream. It processes patches at multiple scales (4, 8, 16, and 32) to capture long-range spatial relationships without the massive computational overhead typically associated with ViTs.

2. Boundary Enhanced Module (BEM)

In a departure from purely "end-to-end" learned features, the BEM incorporates a traditional Sobel operator. By using a fixed 3x3 convolutional kernel to calculate image gradients, the module explicitly identifies structural edges. This module fuses high-level and low-level features to generate a dedicated boundary-enhanced feature map, providing the network with a "purposeful objective" regarding the shape of the target.

3. Boundary Inject Module (BIM)

The BIM acts as a guide for the decoder. It uses a dual-path fusion scheme to "inject" the boundary information derived from the BEM into the decoding process. This helps the model more effectively distinguish between the foreground (the target organ or lesion) and the background, preventing the "bleeding" effect where segmentation masks spill over into adjacent tissues.

Experimental Results

The researchers evaluated CTO across six diverse medical imaging benchmarks, including skin lesion segmentation (ISIC 2016, 2018, PH2), cell nuclei identification (CoNIC), liver tumor segmentation (LiTS17), and multi-organ segmentation (BTCV).

Performance and Efficiency

CTO consistently outperformed established state-of-the-art (SOTA) models such as TransUNet and Swin-Unet:

  • High Accuracy: The model achieved a 91.89% Dice score on the ISIC 2016 and PH2 datasets.
  • Robustness on Blurry Boundaries: On the BTCV dataset, CTO showed significant improvements in segmenting organs with notoriously difficult boundaries, outperforming rivals by 4.70% on the pancreas and 3.60% on the stomach.
  • Computational Profile: Despite its dual-stream architecture, CTO remains efficient. On the CoNIC dataset, it utilized only 22.72 GFLOPs, maintaining a lower computational footprint than many heavy Transformer-based models while delivering superior accuracy.

Discussion and Future Work

The success of CTO highlights the value of "The Return of the Operator." In an era dominated by automated feature engineering, hard-coded mathematical operators like Sobel provide a powerful regularizer that helps neural networks converge on anatomically correct shapes. By treating the Transformer as an assistant rather than the primary lead, the model gains global context while remaining computationally viable for clinical settings.

Future research directions include extending the architecture from 2D to native 3D to capture more volumetric spatial context, exploring more flexible backbones for the assistant stream, and investigating second-order operators (such as the Laplacian) to further refine boundary detection in complex medical volumes.

Summary updated

BibTeX
@inproceedings{lin2023rethinking,
  author = {Yi Lin and Dong Zhang and Xiao Fang and Yufan Chen and Kwang-Ting Cheng and Hao Chen},
  title = {{Rethinking Boundary Detection in Deep Learning Models for Medical Image Segmentation}},
  booktitle = {IPMI},
  year = {2023},
  doi = {10.1007/978-3-031-34048-2\_56},
}
Figure