Combinatorial CNN-Transformer Learning with Manifold Constraints for Semi-supervised Medical Image Segmentation

Huimin Huang, Yawen Huang, Shiao Xie, Lanfen Lin, Ruofeng Tong, Yen-Wei Chen, Yuexiang Li, Yefeng Zheng

Introduction: The Annotation Dilemma in Medical Imaging

Accurate medical image segmentation is a cornerstone of modern computer-aided diagnosis, treatment planning, and disease monitoring. However, the success of deep learning in this domain is often tethered to the availability of large-scale, pixel-level annotated datasets. Generating such labels is a labor-intensive process requiring significant time from expert radiologists, creating a "bottleneck" in clinical AI development.

Semi-supervised learning (SSL) offers a promising path forward by leveraging a small amount of labeled data alongside a vast pool of unlabeled images. Despite its potential, current SSL methods often struggle with two core issues: the architectural gap between local feature extraction (CNNs) and global context modeling (Transformers), and the failure to account for the complex topological structures—or manifolds—inherent in medical data.

Bridging the Local-Global Gap: The M-CnT Framework

To address these challenges, the authors propose M-CnT (Manifold-constrained CNN-Transformer), a dual-student architecture designed for robust semi-supervised segmentation. M-CnT employs a hybrid approach, utilizing a CNN branch (based on U-Net) for precise local spatial awareness and a Transformer branch (based on Swin-UNet) for capturing long-range dependencies.

Unlike standard dual-student models that simply average predictions, M-CnT enforces explicit alignment between these two fundamentally different learners. This ensures that the Transformer benefits from the CNN's inductive bias for spatial hierarchy, while the CNN gains a broader understanding of global organ relationships.

Manifold-Constrained Learning Objectives

The core innovation of M-CnT lies in its manifold-based constraints, which move beyond simple Euclidean distances to better represent the geometry of anatomical features:

  1. Intra-student Class-wise Consistency ($L_{intra}$): This module utilizes a Memory Bank to store high-quality feature prototypes from labeled data. During training, features from unlabeled data are encouraged to cluster around these prototypes (Intra-class Aggregation) while simultaneously being pushed away from prototypes of different classes (Inter-class Elimination). This reduces semantic confusion, particularly at organ boundaries.
  2. Inter-student Knowledge Transfer ($L_{inter}$): To align the CNN and Transformer branches, the model treats class-wise feature distributions as points on a Symmetric Positive Definite (SPD) manifold. By minimizing the distance between the covariance matrices of the two students, the framework ensures they share a consistent statistical understanding of the data.
  3. Uncertainty-aware Consistency: The model employs an entropy-based filtering mechanism. For unlabeled pixels, it prioritizes the "pseudo-label" from the student that exhibits higher confidence (lower entropy), preventing the propagation of noisy or uncertain predictions.

Experimental Evaluation

The M-CnT framework was rigorously evaluated on three benchmark datasets representing different imaging modalities and anatomical challenges:

  • ACDC (Automated Cardiac Diagnosis Challenge): MRI scans focused on cardiac structures.
  • ISIC (International Skin Imaging Collaboration): Dermoscopy images for skin lesion detection.
  • Synapse: A complex multi-organ CT dataset involving eight abdominal organs with varying sizes and overlapping intensities.

The model's robustness was tested under extremely low-data regimes, including labeling ratios as low as 3%.

Results and Qualitative Analysis

M-CnT consistently established new state-of-the-art results across all tested scenarios, outperforming 12 other competitive semi-supervised methods. On the ACDC dataset with only 3% labeled data, it achieved a Dice Similarity Coefficient (DSC) of 0.753, a nearly 5% improvement over the next best method. On the challenging Synapse dataset, it showed a +4.9% DSC improvement over the runner-up at a 15% labeling ratio.

Visualization of feature maps and confusion matrices comparing M-CnT with MT and DCT methods.

Qualitative analysis highlights the impact of these manifold constraints. The feature map visualizations demonstrate that M-CnT activates entire organ regions more cohesively than baseline methods like Mean-Teacher (MT) or Dual-Consistency Training (DCT). Furthermore, the confusion matrices illustrate a marked reduction in misclassifications for difficult organs like the pancreas (labeled '6'), which is often confused with surrounding tissue in standard models.

Conclusion and Future Work

The M-CnT framework demonstrates that incorporating manifold constraints into a hybrid CNN-Transformer architecture significantly enhances semi-supervised medical image segmentation. By enforcing intra-class compactness and inter-student alignment, the model effectively bridges the gap between local and global representations. Future research directions include optimizing the computational overhead of the dual-branch system and extending these manifold-based constraints to 3D volumetric data to further improve spatial consistency in clinical applications.

Summary updated

BibTeX
@inproceedings{huang2024combinatorial,
  author = {Huimin Huang and Yawen Huang and Shiao Xie and Lanfen Lin and Ruofeng Tong and Yen-Wei Chen and Yuexiang Li and Yefeng Zheng},
  title = {{Combinatorial CNN-Transformer Learning with Manifold Constraints for Semi-supervised Medical Image Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i3.28007},
}
Figure