Bidirectional Copy-Paste for Semi-Supervised Medical Image Segmentation

Yunhao Bai, Duowen Chen, Qingli Li, Wei-lei Shen, Yan Wang
2/14/2026

No official code found. Best implementation: HiLab-git/SSL4MIS (2,663 stars, MIT, last commit 2025-06-07). 1 more below.

Abstract

In semi-supervised medical image segmentation, there exist empirical mismatch problems between labeled and un-labeled data distribution. The knowledge learned from the labeled data may be largely discarded if treating labeled and unlabeled data separately or in an inconsistent manner. We propose a straightforward method for alleviating the problem-copy-pasting labeled and unlabeled data bidirectionally, in a simple Mean Teacher architecture. The method encourages unlabeled data to learn comprehensive common semantics from the labeled data in both inward and outward directions. More importantly, the consistent learning procedure for labeled and unlabeled data can largely reduce the empirical distribution gap. In detail, we copy-paste a random crop from a labeled image (foreground) onto an unlabeled image (background) and an unlabeled image (foreground) onto a labeled image (background), respectively. The two mixed images are fed into a Student network and supervised by the mixed supervisory signals of pseudo-labels and ground-truth. We reveal that the simple mechanism of copy-pasting bidirectionally between labeled and unlabeled data is good enough and the experiments show solid gains (e.g., over 21% Dice improvement on ACDC dataset with 5% labeled data) compared with other state-of-the-arts on various semi-supervised medical image segmentation datasets. Code is avaiable at https://github.com/DeepMed-Lab-ECNU/BCP.

View on arXivView PDF

Code Implementations(2)

HiLab-git/SSL4MISCommunity100%
MIT

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.

2,663424Shell, PythonSep 25, 20201 years agoMIT
semi-supervised-learning
MIT

Bidirectional Copy-Paste for Semi-Supervised Medical Image Segmentation (CVPR 2023)

22621PythonMar 17, 20232 years agoMIT

Similar Papers

Cite this paper

@article{bai2026bidirectional,
  title  = {Bidirectional Copy-Paste for Semi-Supervised Medical Image Segmentation},
  author = {Yunhao Bai and Duowen Chen and Qingli Li and Wei-lei Shen and Yan Wang},
  year   = {2026},
  eprint = {2305.00673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.00673},
  journal = {CVPR 2023 2023}
}

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/2305.00673.svg)](https://codeofpaper.com/paper/2305.00673)

Discussion