• Home
  • Search
  • Transformers and contrastive semi-supervised learning for medical image segmentation
  • https://doi.org/10.5525/gla.thesis.85734Copy DOI Icon

Transformers and contrastive semi-supervised learning for medical image segmentation

Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

Medical Image Semantic Segmentation (MISS), the process of assigning a semantic label to each pixel in an image, is a foundational task in computational medicine, critical for quantitative diagnostics and treatment planning. However, developing robust MISS models faces two intertwined challenges. First, there is an architectural dilemma: Convolutional Neural Networks (CNNs), like U-Net, excel at learning local features but are limited by their receptive fields, failing to capture global context essential for segmenting organs with large deformations. Conversely, Vision Transformers (ViTs) effectively model long-range dependencies but lack the inductive biases of CNNs, leading to poor generalization on the small datasets typical in medicine without extensive pre-training. Second, the prohibitive cost and expertise required for creating pixel-level annotations create a severe data scarcity bottleneck. While Semi-Supervised Learning (SSL) aims to mitigate this by leveraging unlabeled data, existing methods often fail to learn high-level semantic relations and are susceptible to confirmation bias from noisy pseudo-labels, class imbalance, and suboptimal contrastive sample selection. This thesis presents a comprehensive investigation to systematically address these challenges, delivering a cohesive suite of novel deep learning frameworks. The contributions are four-fold: First, to resolve the architectural trade-off, this work introduces CS-Unet, a pure Transformer network built upon a U-Net-like architecture. Its core innovation is the Convolutional Swin Transformer (CST) block, which integrates convolutions directly within the Multi-Head Self-Attention and Feed-Forward Network modules. This design imbues the Transformer with inherent localized spatial context and strong inductive biases, enabling it to efficiently learn both local and global features. Without pre-training, CS-Unet outperforms existing Transformer and CNN-based models on multi-organ and cardiac datasets, achieving state-of-the-art performance with fewer parameters. Second, to address data scarcity, a novel Multi-Scale Cross Supervised Contrastive Learning (MCSC) framework for SSL is developed. MCSC jointly trains CNN and Transformer models, using a cross-teaching paradigm where each network provides pseudo-labels for the other. Crucially, it moves beyond simple output consistency by applying a contrastive loss to feature maps at multiple scales, enforcing hierarchical semantic consistency. To handle the class imbalance endemic to medical imaging, a class-prevalence-aware loss is used to ensure features for infrequent classes are learned robustly. Third, to fortify SSL against noisy pseudo-labels, a certainty-guided contrastive learning strategy is proposed. This approach mitigates the impact of inaccurate pseudo-labels by using a certainty metric to guide the selection of samples for contrastive learning. The framework’s computational efficiency is enhanced through novel sampling strategies that select a few representative samples for contrasting, and a negative memory bank is used to increase sample diversity and eliminate dependence on batch size. Fourth, this thesis introduces a new paradigm for SSL by leveraging external anatomical priors through the Contrastive Cross-Teaching with Registration (CCT-R) framework. CCT-R is the first method to integrate spatial registration transforms into the learning process. It features two novel modules: a Registration Supervision Loss (RSL), which uses transforms between labeled and unlabeled volumes to generate an additional, highly reliable source of pseudo-labels, and Registration-Enhanced Positive Sampling (REPS), which uses registration to identify anatomically-corresponding positive pairs across volumes for contrastive learning. Overall, these contributions provide a powerful toolkit that significantly alleviates the annotation bottleneck in medical AI. The proposed methods demonstrate state-of-the-art performance on challenging segmentation benchmarks, delivering a pathway to develop accurate, data-efficient models for real-world clinical applications and opening new avenues for research into fusing geometric priors with semantic segmentation.

Similar Papers
  • Book Chapter
  • Citations2

Semi-supervised Learning for Medical Image Segmentation

  • Jan 01, 2021
  • Mikhail Kots +3
  • Book Chapter
  • Citations51

When CNN Meet with ViT: Towards Semi-supervised Learning for Multi-class Medical Image Semantic Segmentation

  • Jan 01, 2023
  • Ziyang Wang +3
  • Research Article

A Comparative Study of Swin Transformer and CNN Models for Crowd Counting

  • Nov 15, 2024
  • Applied and Computational Engineering
  • Jiayi Guo
  • Research Article
  • Citations289

Learning with limited annotations: A survey on deep semi-supervised learning for medical image segmentation

  • Dec 16, 2023
  • Computers in Biology and Medicine
  • Rushi Jiao +6
  • Research Article

Unsupervised Feature Selection-Driven Active Learning for Semi-Supervised Automatic ECG Analysis.

  • Jan 01, 2025
  • IEEE journal of biomedical and health informatics
  • Xiao Li +8
  • Research Article
  • Citations3

Transformers for colorectal cancer segmentation in CT imaging.

  • Jul 04, 2024
  • International journal of computer assisted radiology and surgery
  • Georg Hille +3
  • Research Article
  • Citations4

Lightweight and hybrid transformer-based solution for quick and reliable deepfake detection.

  • Apr 01, 2025
  • Frontiers in big data
  • Geeta Rani +5
  • Research Article

CIHM: context-insight hybrid Mamba for efficient medical image segmentation

  • Apr 21, 2026
  • Visual Intelligence
  • Yize Ma +6
  • Research Article
  • Citations2

Multi-stage framework using transformer models, feature fusion and ensemble learning for enhancing eye disease classification

  • Aug 19, 2025
  • Scientific Reports
  • Abdulaziz Almohimeed
  • Research Article
  • Citations5

Ischemic Stroke Segmentation by Transformer and Convolutional Neural Network Using Few-Shot Learning

  • Nov 25, 2024
  • ACM Transactions on Multimedia Computing, Communications, and Applications
  • Fatima Alshehri +1
  • Book Chapter
  • Citations1

Cross Task Temporal Consistency for Semi-supervised Medical Image Segmentation

  • Jan 01, 2022
  • Govind Jeevan +2
  • Conference Article
  • Citations19

Semi-Supervised Deep Adversarial Learning for Brain-Computer Interface

  • Feb 01, 2019
  • Wonjun Ko +3
  • Research Article
  • Citations7

Improving Handwritten Mathematical Expression Recognition via Integrating Convolutional Neural Network With Transformer and Diffusion-Based Data Augmentation

  • Jan 01, 2024
  • IEEE Access
  • Yibo Zhang +1
  • Research Article
  • Citations1

Dual Prototypical Self-Supervised Learning for One-shot Medical Image Segmentation.

  • Jul 15, 2024
  • Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Engineering in Medicine and Biology Society. Annual International Conference
  • Ziyuan Zhao +6
  • Conference Article

Trans CNN fusion network: a hybrid parallel architecture for fine medical image segmentation

  • Dec 05, 2025
  • Jinfeng Wu +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.