{"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/semantic-aware-domain-generalized","title":"Semantic-Aware Domain Generalized Segmentation","arxiv_id":"2204.00822","date":"2022-04-02","proceeding":"CVPR 2022 1","authors":["Duo Peng","Yinjie Lei","Munawar Hayat","Yulan Guo","Wen Li"],"abstract":"Deep models trained on source domain lack generalization when evaluated on unseen target domains with different data distributions. The problem becomes even more pronounced when we have no access to target domain samples for adaptation. In this paper, we address domain generalized semantic segmentation, where a segmentation model is trained to be domain-invariant without using any target domain data. Existing approaches to tackle this problem standardize data into a unified distribution. We argue that while such a standardization promotes global normalization, the resulting features are not discriminative enough to get clear segmentation boundaries. To enhance separation between categories while simultaneously promoting domain invariance, we propose a framework including two novel modules: Semantic-Aware Normalization (SAN) and Semantic-Aware Whitening (SAW). Specifically, SAN focuses on category-level center alignment between features from different image styles, while SAW enforces distributed alignment for the already center-aligned features. With the help of SAN and SAW, we encourage both intra-category compactness and inter-category separability. We validate our approach through extensive experiments on widely-used datasets (i.e. GTAV, SYNTHIA, Cityscapes, Mapillary and BDDS). Our approach shows significant improvements over existing state-of-the-art on various backbone networks. Code is available at https://github.com/leolyj/SAN-SAW","url_abs":"https://arxiv.org/abs/2204.00822v1","url_pdf":"https://arxiv.org/pdf/2204.00822v1.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":"semantic-aware-domain-generalized","repo_url":"https://github.com/leolyj/san-saw","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"domain-generalization","task_name":"Domain Generalization"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/domain-generalization-on-gta-to-avg","task":"Domain Generalization","dataset":"GTA-to-Avg(Cityscapes,BDD,Mapillary)","model":"SAN-SAW","rank_in_archive_order":17,"of":24,"metrics":{"mIoU":"42.43"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.00822","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.00822"}},"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/leolyj/san-saw","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"ran":0,"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":"fbdbb83c523792c8","entry":"Deeplab50_bn","repo":"leolyj/san-saw","repo_kind":"official","path":"graphs/models/deeplab50_bn.py","file_url":"https://github.com/leolyj/san-saw/blob/HEAD/graphs/models/deeplab50_bn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fbdbb83c523792c8"}},{"code_sha256_prefix":"c37c2c07062a7463","entry":"Deeplab50_bn_","repo":"leolyj/san-saw","repo_kind":"official","path":"graphs/models/deeplab50_bn.py","file_url":"https://github.com/leolyj/san-saw/blob/HEAD/graphs/models/deeplab50_bn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c37c2c07062a7463"}},{"code_sha256_prefix":"65256c47d00bdb78","entry":"DeeplabMulti101_IN","repo":"leolyj/san-saw","repo_kind":"official","path":"graphs/models/deeplab101_IN.py","file_url":"https://github.com/leolyj/san-saw/blob/HEAD/graphs/models/deeplab101_IN.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65256c47d00bdb78"}},{"code_sha256_prefix":"179ca1de45175a10","entry":"flip","repo":"leolyj/san-saw","repo_kind":"official","path":"datasets/cityscapes_Dataset.py","file_url":"https://github.com/leolyj/san-saw/blob/HEAD/datasets/cityscapes_Dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"179ca1de45175a10"}},{"code_sha256_prefix":"27c66fe50ac9565f","entry":"inv_preprocess","repo":"leolyj/san-saw","repo_kind":"official","path":"datasets/cityscapes_Dataset.py","file_url":"https://github.com/leolyj/san-saw/blob/HEAD/datasets/cityscapes_Dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"27c66fe50ac9565f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}