MetaSSL: A General Heterogeneous Loss for Semi-Supervised Medical Image Segmentation

Weiren Zhao, Lanfeng Zhong, Xin Liao, Wenjun Liao, Sichuan Zhang +2 more
9/1/2025
cs.CV

Official code: HiLab-git/MetaSSL (12 stars, last commit 2025-09-08).

Abstract

Semi-Supervised Learning (SSL) is important for reducing the annotation cost for medical image segmentation models. State-of-the-art SSL methods such as Mean Teacher, FixMatch and Cross Pseudo Supervision (CPS) are mainly based on consistency regularization or pseudo-label supervision between a reference prediction and a supervised prediction. Despite the effectiveness, they have overlooked the potential noise in the labeled data, and mainly focus on strategies to generate the reference prediction, while ignoring the heterogeneous values of different unlabeled pixels. We argue that effectively mining the rich information contained by the two predictions in the loss function, instead of the specific strategy to obtain a reference prediction, is more essential for SSL, and propose a universal framework MetaSSL based on a spatially heterogeneous loss that assigns different weights to pixels by simultaneously leveraging the uncertainty and consistency information between the reference and supervised predictions. Specifically, we split the predictions on unlabeled data into four regions with decreasing weights in the loss: Unanimous and Confident (UC), Unanimous and Suspicious (US), Discrepant and Confident (DC), and Discrepant and Suspicious (DS), where an adaptive threshold is proposed to distinguish confident predictions from suspicious ones. The heterogeneous loss is also applied to labeled images for robust learning considering the potential annotation noise. Our method is plug-and-play and general to most existing SSL methods. The experimental results showed that it improved the segmentation performance significantly when integrated with existing SSL frameworks on different datasets. Code is available at https://github.com/HiLab-git/MetaSSL.

View on arXivView PDF

Code Implementations(1)

HiLab-git/MetaSSLOfficial100%

MetaSSL: A General Heterogeneous Loss for Semi-Supervised Medical Image Segmentation

120PythonJul 17, 20251 years ago

Similar Papers

Cite this paper

@article{zhao2025metassl,
  title  = {MetaSSL: A General Heterogeneous Loss for Semi-Supervised Medical Image Segmentation},
  author = {Weiren Zhao and Lanfeng Zhong and Xin Liao and Wenjun Liao and Sichuan Zhang and Shaoting Zhang and Guotai Wang},
  year   = {2025},
  eprint = {2509.01144},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.01144v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.01144.svg)](https://codeofpaper.com/paper/2509.01144)

Discussion