Papers › Semi-Supervised Semantic Segmentation with Cross Pseudo Supervision

Semi-Supervised Semantic Segmentation with Cross Pseudo Supervision

2 Jun 2021CVPR 2021 1arXiv:2106.01226archive 2025-07-28

Xiaokang Chen, Yuhui Yuan, Gang Zeng, Jingdong Wang

In this paper, we study the semi-supervised semantic segmentation problem via exploring both labeled data and extra unlabeled data. We propose a novel consistency regularization approach, called cross pseudo supervision (CPS). Our approach imposes the consistency on two segmentation networks perturbed with different initialization for the same input image. The pseudo one-hot label map, output from one perturbed segmentation network, is used to supervise the other segmentation network with the standard cross-entropy loss, and vice versa. The CPS consistency has two roles: encourage high similarity between the predictions of two perturbed networks for the same input image, and expand training data by using the unlabeled data with pseudo labels. Experiment results show that our approach achieves the state-of-the-art semi-supervised segmentation performance on Cityscapes and PASCAL VOC 2012. Code is available at https://git.io/CPS.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2106.01226")

Code

Syntology Ran 22 of 39 code samples harvested from 3 repositories linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 3 ran · our draft was wrong; 6 ran · fixture could not drive it; 10 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 1 ran; community (archive-listed): 32 samples from 2 repositories, 21 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

charlesCXK/TorchSemiSeg officialmentioned on GitHubpytorchMIT report
harshm121/m3l mentioned on GitHubpytorch report
yhuang1997/3D-CPS mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

39 samples harvested; 22 ran; 1 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
3ran · our draft was wrong
6ran · fixture could not drive it
10ran
17unverified

Licence: 28 of the 39 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv3x3 charlesCXK/TorchSemiSeg/furnace/base_model/hrnet.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
bce2d charlesCXK/TorchSemiSeg/furnace/seg_opr/loss_opr.py official repository unverified MIT (permissive) · 3bcf2f021ec54810 · report
get_seg_hrnet_w18s charlesCXK/TorchSemiSeg/furnace/base_model/hrnet.py official repository unverified MIT (permissive) · 636b23389eba27a1 · report
get_seg_hrnet_w48 charlesCXK/TorchSemiSeg/furnace/base_model/hrnet.py official repository unverified MIT (permissive) · 835ca2564a9653a6 · report
log_det_by_cholesky charlesCXK/TorchSemiSeg/furnace/seg_opr/rmi_loss.py official repository unverified MIT (permissive) · c48d876b9a3ae27a · report
map_get_pairs charlesCXK/TorchSemiSeg/furnace/seg_opr/rmi_loss.py official repository unverified MIT (permissive) · 97f5e3b69f2c69ea · report
map_get_pairs_region charlesCXK/TorchSemiSeg/furnace/seg_opr/rmi_loss.py official repository unverified MIT (permissive) · 99b42d109e83351a · report
BaseLR harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · 43976b9c757e2931 · report
DepthTrainPre harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · 7376c94156eef50e · report
DepthValPre harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran fingerprinted no licence file found · pointer only · 0525b2902320166f · report
RGBDTrainPre harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · ee5ad1935ccce67d · report
RGBDValPre harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · fa35dd778049b33e · report
RGBTrainPre harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · aec285de0ab732b7 · report
RGBValPre harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · 8db3a8167f167a90 · report
WarmUpPolyLR harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran no licence file found · pointer only · f1fa2c7b643051a4 · report
_sliding_collate_fn harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · de4ac68ef98bebc8 · report
compute_metrics harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · honoured contract no licence file found · pointer only · e74fcb04fd589c71 · report
compute_score harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 203e73feddb57884 · report
convert_CT_seg yhuang1997/3D-CPS/nnunet/dataset_conversion/Task037_038_Chaos_Challenge.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · c6cd5ad91c3a2851 · report
convert_MR_seg yhuang1997/3D-CPS/nnunet/dataset_conversion/Task037_038_Chaos_Challenge.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 74dcea3d4dcc90a5 · report
hist_info harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 9e85fa995eda358a · report
normalize harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 17cb5b0dfa01b491 · report
normalizedepth harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 815e160273134736 · report
random_mirror harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 356686ea476b6ce4 · report
random_scale harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · ee31a169e3121523 · report
resizedepth harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · cdc6961513bc7352 · report
resizegt harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · f385fb867a898c19 · report
resizergb harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · b7dfd9cbf7eedacb · report
AbstractFramework harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 7c76a16e37d76d1d · report
CPSFramework harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · fbf76f33c68cc257 · report
convert_labels_back_to_BraTS yhuang1997/3D-CPS/nnunet/dataset_conversion/Task032_BraTS_2018.py community (archive-listed) unverified Apache-2.0 (permissive) · a2c8b38ba9393780 · report
generate_random_crop_pos harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 4f9f5a818fe83273 · report
get_2dshape harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · fabc41fbf8341410 · report
get_preprocessors harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 891adce76c9b1ef4 · report
get_train_loader harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 74ffeedbf2acc130 · report
get_val_loader harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 7dbd86b9ed974d1c · report
load_png_stack yhuang1997/3D-CPS/nnunet/dataset_conversion/Task037_038_Chaos_Challenge.py community (archive-listed) unverified Apache-2.0 (permissive) · 29176ca87f23c2d7 · report
pad_image_to_shape harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 17881896b84793bf · report
random_crop_pad_to_shape harshm121/m3l/src/semi_supervised/cps.py community (archive-listed) unverified no licence file found · pointer only · 35bbfab3ce7415bc · report

Tasks

SegmentationSemantic SegmentationSemi-Supervised Semantic Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Semi-Supervised Semantic Segmentation Cityscapes 12.5% labeled CPS (DeepLab v3+ with ImageNet-pretrained ResNet-101, single scale inference) Validation mIoU 77.62% #11 of 33 Archive leaderboard report
Semi-Supervised Semantic Segmentation Cityscapes 25% labeled CPS (DeepLab v3+ with ImageNet-pretrained ResNet-101, single scale inference) Validation mIoU 79.21% #9 of 30 Archive leaderboard report
Semi-Supervised Semantic Segmentation Cityscapes 50% labeled CPS (DeepLab v3+ with ImageNet-pretrained ResNet-101, single scale inference) Validation mIoU 80.21% #7 of 23 Archive leaderboard report
Semi-Supervised Semantic Segmentation Cityscapes 6.25% labeled CPS (DeepLab v3+ with ResNet-101) Validation mIoU 69.8 #18 of 18 Archive leaderboard report
Semi-Supervised Semantic Segmentation PASCAL VOC 2012 183 labeled CPS (DeepLab v3+ with ResNet-101) Validation mIoU 67.4 #15 of 16 Archive leaderboard report
Semi-Supervised Semantic Segmentation PASCAL VOC 2012 25% labeled CPS (DeepLab v3+ with ImageNet-pretrained ResNet-101, single scale inference) Validation mIoU 77.68% #16 of 27 Archive leaderboard report
Semi-Supervised Semantic Segmentation PASCAL VOC 2012 366 labeled CPS (DeepLab v3+ with ResNet-101) Validation mIoU 71.7 #15 of 15 Archive leaderboard report
Semi-Supervised Semantic Segmentation PASCAL VOC 2012 732 labeled CPS (DeepLab v3+ with ResNet-101) Validation mIoU 75.9 #15 of 16 Archive leaderboard report
Semi-Supervised Semantic Segmentation PASCAL VOC 2012 92 labeled CPS (DeepLab v3+ with ResNet-101) Validation mIoU 64.1 #16 of 17 Archive leaderboard report
Semi-Supervised Semantic Segmentation Pascal VOC 2012 12.5% labeled CPS Validation mIoU 76.44% #15 of 38 Archive leaderboard report
Semi-Supervised Semantic Segmentation ScribbleKITTI CPS (Range View) mIoU (1% Labels) 33.7 #8 of 9 Archive leaderboard report
Semi-Supervised Semantic Segmentation ScribbleKITTI CPS (Range View) mIoU (10% Labels) 50.0 #8 of 9 Archive leaderboard report
Semi-Supervised Semantic Segmentation ScribbleKITTI CPS (Range View) mIoU (20% Labels) 52.8 #8 of 9 Archive leaderboard report
Semi-Supervised Semantic Segmentation ScribbleKITTI CPS (Range View) mIoU (50% Labels) 54.6 #8 of 9 Archive leaderboard report
Semi-Supervised Semantic Segmentation SemanticKITTI CPS (Range View) mIoU (1% Labels) 36.5 #12 of 12 Archive leaderboard report
Semi-Supervised Semantic Segmentation SemanticKITTI CPS (Range View) mIoU (10% Labels) 52.3 #12 of 12 Archive leaderboard report
Semi-Supervised Semantic Segmentation SemanticKITTI CPS (Range View) mIoU (20% Labels) 56.3 #12 of 12 Archive leaderboard report
Semi-Supervised Semantic Segmentation SemanticKITTI CPS (Range View) mIoU (50% Labels) 57.4 #12 of 12 Archive leaderboard report
Semi-Supervised Semantic Segmentation WoodScape CPS Mean IoU 62.87 #2 of 2 Archive leaderboard report
Semi-Supervised Semantic Segmentation nuScenes CPS (Range View) mIoU (1% Labels) 40.7 #10 of 11 Archive leaderboard report
Semi-Supervised Semantic Segmentation nuScenes CPS (Range View) mIoU (10% Labels) 60.8 #10 of 11 Archive leaderboard report
Semi-Supervised Semantic Segmentation nuScenes CPS (Range View) mIoU (20% Labels) 64.9 #10 of 11 Archive leaderboard report
Semi-Supervised Semantic Segmentation nuScenes CPS (Range View) mIoU (50% Labels) 68.0 #10 of 11 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections