{"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/coinseg-contrast-inter-and-intra-class-1","title":"CoinSeg: Contrast Inter- and Intra- Class Representations for Incremental Segmentation","arxiv_id":"2310.06368","date":"2023-10-10","proceeding":"ICCV 2023 1","authors":["Zekang Zhang","Guangyu Gao","Jianbo Jiao","Chi Harold Liu","Yunchao Wei"],"abstract":"Class incremental semantic segmentation aims to strike a balance between the model's stability and plasticity by maintaining old knowledge while adapting to new concepts. However, most state-of-the-art methods use the freeze strategy for stability, which compromises the model's plasticity.In contrast, releasing parameter training for plasticity could lead to the best performance for all categories, but this requires discriminative feature representation.Therefore, we prioritize the model's plasticity and propose the Contrast inter- and intra-class representations for Incremental Segmentation (CoinSeg), which pursues discriminative representations for flexible parameter tuning. Inspired by the Gaussian mixture model that samples from a mixture of Gaussian distributions, CoinSeg emphasizes intra-class diversity with multiple contrastive representation centroids. Specifically, we use mask proposals to identify regions with strong objectness that are likely to be diverse instances/centroids of a category. These mask proposals are then used for contrastive representations to reinforce intra-class diversity. Meanwhile, to avoid bias from intra-class diversity, we also apply category-level pseudo-labels to enhance category-level consistency and inter-category diversity. Additionally, CoinSeg ensures the model's stability and alleviates forgetting through a specific flexible tuning strategy. We validate CoinSeg on Pascal VOC 2012 and ADE20K datasets with multiple incremental scenarios and achieve superior results compared to previous state-of-the-art methods, especially in more challenging and realistic long-term scenarios. Code is available at https://github.com/zkzhang98/CoinSeg.","url_abs":"https://arxiv.org/abs/2310.06368v1","url_pdf":"https://arxiv.org/pdf/2310.06368v1.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":"coinseg-contrast-inter-and-intra-class-1","repo_url":"https://github.com/zkzhang98/coinseg","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"class-incremental-semantic-segmentation","task_name":"Class-Incremental Semantic Segmentation"},{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2310.06368","atlas_url":"https://app.syntology.ai/?focus=2310.06368","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.06368"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/zkzhang98/coinseg","reach":{"status":"ok"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":3,"ran_honours":1,"ran":5,"unverified":5},"by_repo_kind":{"official":{"samples":15,"ran":10,"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":15,"samples":[{"code_sha256_prefix":"144d10b49baeb8a6","entry":"window_partition","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/backbone/swin_transformer.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/backbone/swin_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"144d10b49baeb8a6"}},{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/backbone/resnet.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/backbone/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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"160bb14bd76201b4","entry":"conv3x3","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/backbone/resnet.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/backbone/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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"160bb14bd76201b4"}},{"code_sha256_prefix":"dd6bf6a43c8bc322","entry":"fixed_padding","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/backbone/mobilenetv2.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/backbone/mobilenetv2.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dd6bf6a43c8bc322"}},{"code_sha256_prefix":"4b9b1e0236811496","entry":"gen_bar_updater","repo":"zkzhang98/coinseg","repo_kind":"official","path":"datasets/utils.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/datasets/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4b9b1e0236811496"}},{"code_sha256_prefix":"c9157ee08c3b07bf","entry":"get_logger","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/swin_utils.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/swin_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c9157ee08c3b07bf"}},{"code_sha256_prefix":"8169cc07504a4e47","entry":"get_root_logger","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/swin_utils.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/swin_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8169cc07504a4e47"}},{"code_sha256_prefix":"0d8aca7e68b6e3c8","entry":"list_dir","repo":"zkzhang98/coinseg","repo_kind":"official","path":"datasets/utils.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/datasets/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0d8aca7e68b6e3c8"}},{"code_sha256_prefix":"8c804a6a3b70c7c6","entry":"voc_cmap","repo":"zkzhang98/coinseg","repo_kind":"official","path":"datasets/voc.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/datasets/voc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8c804a6a3b70c7c6"}},{"code_sha256_prefix":"61bf152e6a42a184","entry":"window_reverse","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/backbone/swin_transformer.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/backbone/swin_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"61bf152e6a42a184"}},{"code_sha256_prefix":"7345763c9b9300fb","entry":"check_integrity","repo":"zkzhang98/coinseg","repo_kind":"official","path":"datasets/utils.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/datasets/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7345763c9b9300fb"}},{"code_sha256_prefix":"ce942a958c0ae909","entry":"convert_to_separable_conv","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/_deeplab.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/_deeplab.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ce942a958c0ae909"}},{"code_sha256_prefix":"abba8305be15d643","entry":"deeplabv3_mobilenet","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/modeling.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/modeling.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"abba8305be15d643"}},{"code_sha256_prefix":"d9d0c6992a0adfcc","entry":"deeplabv3_resnet101","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/modeling.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/modeling.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d9d0c6992a0adfcc"}},{"code_sha256_prefix":"794a19642d0025e1","entry":"deeplabv3_resnet50","repo":"zkzhang98/coinseg","repo_kind":"official","path":"network/modeling.py","file_url":"https://github.com/zkzhang98/coinseg/blob/HEAD/network/modeling.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"794a19642d0025e1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}