Costal Cartilage Segmentation with Topology Guided Deformable Mamba: Method and Benchmark

Senmao Wang, Haifan Gong, Runmeng Cui, Boyao Wan, Yicheng Liu, Zhonglin Hu, Haiqing Yang, Jingyang Zhou, Bo Pan, Lin Lin, Haiyue JiangarXiv 2024

TL;DR

This paper introduces a novel deep learning approach, Topology-Guided Deformable Mamba (TGDM), for segmenting costal cartilage (CC) in CT scans. By integrating topological priors and a deformable Mamba-based architecture, TGDM achieves state-of-the-art accuracy and robustness. The authors also release a comprehensive benchmark dataset (CCSeg) to advance research in this critical area.

What Problem Does This Paper Address?

Accurate segmentation of costal cartilage (CC) is vital for numerous medical applications, including diagnosing thoracic deformities, planning reconstructive surgeries (like ear reconstruction), and studying age-related changes. However, segmenting CC is challenging due to its complex, long, and thin anatomical structure, which often has low contrast with surrounding tissues in CT scans. Existing deep learning methods, particularly those relying on local receptive fields (like standard CNNs), struggle to capture the intricate long-range relationships within the CC. Furthermore, the field has lacked a large-scale, publicly available benchmark dataset for rigorous evaluation of CC segmentation techniques.

Methods

The proposed method, Topology-Guided Deformable Mamba (TGDM), employs a two-stage approach:

  1. Stage 1: Coarse Segmentation with Light-weight U-Net: A lightweight U-Net is used to obtain a low-resolution bounding box prediction of the CC. This stage helps establish a rough but reliable initial localization, improving the robustness of subsequent high-resolution segmentation. It uses a combination of Dice and Cross-Entropy losses.
  2. Stage 2: Topology-Guided Deformable Mamba: This stage refines the segmentation using a novel architecture that leverages topological priors. It consists of two key modules:
  3. Position Shifting Mamba (PSM): This module takes manually initiated coordinates (derived from the ground truth centerline) and high-dimensional features to predict more accurate 3D coordinates for CC landmarks. It uses Mamba's ability to model long-range dependencies with linear complexity. A bipartite graph matching loss is used to align predicted and ground truth centerline points.
  4. Grouped Deformable Mamba (GDM): This module utilizes the predicted coordinates from PSM to model long-range relationships within the CC structure. It employs 20 distinct Mamba modules, each dedicated to a specific CC segment, allowing the network to better understand the morphology and topology of individual cartilages. Features are extracted and processed through Mamba, then integrated back into the backbone via a residual connection.

The overall loss for Stage 2 combines segmentation losses (Dice and Cross-Entropy) with the alignment loss from PSM.

Datasets

The authors introduce CCSeg, a new benchmark dataset for costal cartilage segmentation.

  • Size: 165 cases with voxel-wise annotations.
  • Demographics: The dataset is categorized into four age groups, reflecting varying degrees of CC calcification (from minimal in children to extensive in adults and harvested cartilage).
  • Data Source: Primarily from the Plastic Surgery Hospital of Chinese Academic of Medical Sciences and Peking Union Medical College.
  • Out-of-Domain (OOD) Testset: An additional dataset of 10 patients from the Second Hospital of Hebei Medical University was prepared to evaluate the model's generalization capabilities under different scanner conditions and patient demographics.

Key Insights and Ideas

  • Mamba for Long-Range Dependencies: The paper effectively demonstrates the utility of Mamba, a state-space model, in capturing the long, thin structures of costal cartilage. Its linear time complexity makes it efficient for modeling these long-range dependencies, which is a significant advantage over traditional attention mechanisms.
  • Topology as a Prior: Integrating topological information (specifically, the centerline and landmark coordinates) as a prior significantly guides the segmentation process. This helps overcome the low-contrast issue by providing structural context.
  • Deformable Modeling: The "deformable" aspect of the Mamba module allows it to adapt to the natural variations and curves of the costal cartilage, enhancing accuracy and robustness.
  • Benchmark Importance: The creation of the CCSeg benchmark addresses a critical gap in the field, providing a standardized resource for future research and method comparison.

Key Results

  • State-of-the-Art Performance: The proposed TGDM method achieved the highest Dice Similarity Coefficient (DSC) of 78.5% and Normalized Surface Dice (NSD) of 74.7% on the CCSeg test set, outperforming various CNN and Transformer-based methods.
  • Robustness: The model demonstrated superior performance on both in-domain and out-of-domain test sets, indicating good generalization capabilities.
  • Efficiency: TGDM has a relatively low number of parameters (16.3 million) and FLOPs (159.9 gigaflops), making it more efficient than some comparable methods like nnUNet.
  • Ablation Study: The ablation study confirmed the effectiveness of each component, with the full TGDM model (including bounding box prediction, topology guidance, and variable point number for centerline sampling) yielding the best results.

Limitations and Future Work

  • Limitations: While the paper highlights the method's superiority, it acknowledges that CC segmentation remains challenging, especially for severely calcified cases or poor imaging quality. The authors also note that the model's performance can be impacted by imaging conditions.
  • Future Work: The authors plan to extend this method to other anatomical structures and further enhance its DSC and NSD scores and generalizability. They aim to contribute to improved clinical outcomes in medical imaging applications.

Summary updated

Abstract

Costal cartilage segmentation is crucial to various medical applications, necessitating precise and reliable techniques due to its complex anatomy and the importance of accurate diagnosis and surgical planning. We propose a novel deep learning-based approach called topology-guided deformable Mamba (TGDM) for costal cartilage segmentation. The TGDM is tailored to capture the intricate long-range costal cartilage relationships. Our method leverages a deformable model that integrates topological priors to enhance the adaptability and accuracy of the segmentation process. Furthermore, we developed a comprehensive benchmark that contains 165 cases for costal cartilage segmentation. This benchmark sets a new standard for evaluating costal cartilage segmentation techniques and provides a valuable resource for future research. Extensive experiments conducted on both in-domain benchmarks and out-of domain test sets demonstrate the superiority of our approach over existing methods, showing significant improvements in segmentation precision and robustness.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CCSeg state-of-the-art method comparisonnnUNetFLOPs525.7 gigaflopsMedical Image Segmentation
Source quote
L216: Furthermore, our method achieves this superior DSC and NSD scores while maintaining a relatively low number of parameters and FLOPs. Specifically, our model has only 16.3 million parameters and requires 159.9 gigaflops, which is more efficient compared to nnUNet's 30.8 million parameters and 525.7 gigaflops. This efficiency, combined with high accuracy, makes our approach highly suitable for practical applications where computational resources are limited. Overall, the results clearly demonstrate the effectiveness and efficiency of our proposed method in medical image segmentation tasks. We also provide the visualization results in Table~\ref{fig:quali}.
BibTeX
@misc{wang2024costal,
  author = {Senmao Wang and Haifan Gong and Runmeng Cui and Boyao Wan and Yicheng Liu and Zhonglin Hu and Haiqing Yang and Jingyang Zhou and Bo Pan and Lin Lin and Haiyue Jiang},
  title = {{Costal Cartilage Segmentation with Topology Guided Deformable Mamba: Method and Benchmark}},
  year = {2024},
  eprint = {2408.07444},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.07444},
}
Figure