{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/semi-supervised-semantic-segmentation-via-4","title":"Semi-Supervised Semantic Segmentation via Gentle Teaching Assistant","arxiv_id":"2301.07340","date":"2023-01-18","proceeding":"NIPS 2022 11","authors":["Ying Jin","Jiaqi Wang","Dahua Lin"],"abstract":"Semi-Supervised Semantic Segmentation aims at training the segmentation model with limited labeled data and a large amount of unlabeled data. To effectively leverage the unlabeled data, pseudo labeling, along with the teacher-student framework, is widely adopted in semi-supervised semantic segmentation. Though proved to be effective, this paradigm suffers from incorrect pseudo labels which inevitably exist and are taken as auxiliary training data. To alleviate the negative impact of incorrect pseudo labels, we delve into the current Semi-Supervised Semantic Segmentation frameworks. We argue that the unlabeled data with pseudo labels can facilitate the learning of representative features in the feature extractor, but it is unreliable to supervise the mask predictor. Motivated by this consideration, we propose a novel framework, Gentle Teaching Assistant (GTA-Seg) to disentangle the effects of pseudo labels on feature extractor and mask predictor of the student model. Specifically, in addition to the original teacher-student framework, our method introduces a teaching assistant network which directly learns from pseudo labels generated by the teacher network. The gentle teaching assistant (GTA) is coined gentle since it only transfers the beneficial feature representation knowledge in the feature extractor to the student model in an Exponential Moving Average (EMA) manner, protecting the student model from the negative influences caused by unreliable pseudo labels in the mask predictor. The student model is also supervised by reliable labeled data to train an accurate mask predictor, further facilitating feature representation. Extensive experiment results on benchmark datasets validate that our method shows competitive performance against previous methods. Code is available at https://github.com/Jin-Ying/GTA-Seg.","url_abs":"https://arxiv.org/abs/2301.07340v1","url_pdf":"https://arxiv.org/pdf/2301.07340v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"semi-supervised-semantic-segmentation-via-4","repo_url":"https://github.com/Jin-Ying/GTA-Seg","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"semi-supervised-semantic-segmentation","task_name":"Semi-Supervised Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2301.07340","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2301.07340"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Jin-Ying/GTA-Seg","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":1,"ran_fixture":1,"ran_draft_wrong":2,"unverified":9},"by_repo_kind":{"official":{"samples":13,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"ab90969959ef1daa","entry":"compute_rce_loss","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/utils/loss_helper.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/utils/loss_helper.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ab90969959ef1daa"}},{"code_sha256_prefix":"00f3224921ae6a19","entry":"compute_unsupervised_loss","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/utils/loss_helper.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/utils/loss_helper.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"00f3224921ae6a19"}},{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/models/resnet.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"160bb14bd76201b4","entry":"conv3x3","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/models/resnet.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"160bb14bd76201b4"}},{"code_sha256_prefix":"629f4c1332cce01e","entry":"build_coco_semi_loader","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/coco.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/coco.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"629f4c1332cce01e"}},{"code_sha256_prefix":"54d11fde9c12abd0","entry":"build_transfrom","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/coco.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/coco.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"54d11fde9c12abd0"}},{"code_sha256_prefix":"763f9c17ccbeb5ef","entry":"build_transfrom","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/cityscapes.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/cityscapes.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"763f9c17ccbeb5ef"}},{"code_sha256_prefix":"e6dac9d663788f54","entry":"compute_unsupervised_loss_conf","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/utils/loss_helper.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/utils/loss_helper.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e6dac9d663788f54"}},{"code_sha256_prefix":"eaeada2a036c97a0","entry":"generate_class_mask","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/augmentation.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/augmentation.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eaeada2a036c97a0"}},{"code_sha256_prefix":"d939e70ad62258fb","entry":"generate_cutout_mask","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/augmentation.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/augmentation.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d939e70ad62258fb"}},{"code_sha256_prefix":"d5923e5cf8631474","entry":"generate_unsup_data","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/augmentation.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/augmentation.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d5923e5cf8631474"}},{"code_sha256_prefix":"85056ce7849ad6da","entry":"get_loader","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/dataset/builder.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/dataset/builder.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"85056ce7849ad6da"}},{"code_sha256_prefix":"aa86d25496cd605b","entry":"resnet18","repo":"Jin-Ying/GTA-Seg","repo_kind":"official","path":"gta/models/resnet.py","file_url":"https://github.com/Jin-Ying/GTA-Seg/blob/HEAD/gta/models/resnet.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aa86d25496cd605b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}