{"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/wildnet-learning-domain-generalized-semantic","title":"WildNet: Learning Domain Generalized Semantic Segmentation from the Wild","arxiv_id":"2204.01446","date":"2022-04-04","proceeding":"CVPR 2022 1","authors":["Suhyeon Lee","Hongje Seong","Seongwon Lee","Euntai Kim"],"abstract":"We present a new domain generalized semantic segmentation network named WildNet, which learns domain-generalized features by leveraging a variety of contents and styles from the wild. In domain generalization, the low generalization ability for unseen target domains is clearly due to overfitting to the source domain. To address this problem, previous works have focused on generalizing the domain by removing or diversifying the styles of the source domain. These alleviated overfitting to the source-style but overlooked overfitting to the source-content. In this paper, we propose to diversify both the content and style of the source domain with the help of the wild. Our main idea is for networks to naturally learn domain-generalized semantic information from the wild. To this end, we diversify styles by augmenting source features to resemble wild styles and enable networks to adapt to a variety of styles. Furthermore, we encourage networks to learn class-discriminant features by providing semantic variations borrowed from the wild to source contents in the feature space. Finally, we regularize networks to capture consistent semantic information even when both the content and style of the source domain are extended to the wild. Extensive experiments on five different datasets validate the effectiveness of our WildNet, and we significantly outperform state-of-the-art methods. The source code and model are available online: https://github.com/suhyeonlee/WildNet.","url_abs":"https://arxiv.org/abs/2204.01446v1","url_pdf":"https://arxiv.org/pdf/2204.01446v1.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":"wildnet-learning-domain-generalized-semantic","repo_url":"https://github.com/suhyeonlee/wildnet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"domain-generalization","task_name":"Domain Generalization"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.01446","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.01446"}},"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/suhyeonlee/wildnet","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/suhyeonlee/WildNet","reach":{"status":"ok"}}],"summary":{"ran_fixture":4,"unverified":9},"by_repo_kind":{"official":{"samples":12,"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":13,"samples":[{"code_sha256_prefix":"4112196d71217350","entry":"Upsample","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4112196d71217350"}},{"code_sha256_prefix":"c64b9f8d154957e3","entry":"concat_all_gather","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c64b9f8d154957e3"}},{"code_sha256_prefix":"433823b48f9ea265","entry":"exclude_unknown","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"433823b48f9ea265"}},{"code_sha256_prefix":"09292c568a6f69ba","entry":"include_unknown","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"09292c568a6f69ba"}},{"code_sha256_prefix":"5904b95e70b5177a","entry":"AttrDict","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"5904b95e70b5177a"}},{"code_sha256_prefix":"5c515b3ff5d96027","entry":"DeepV3Plus","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"5c515b3ff5d96027"}},{"code_sha256_prefix":"39bffb681ee77176","entry":"Norm2d","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"39bffb681ee77176"}},{"code_sha256_prefix":"4e9e64472a998b9a","entry":"_AtrousSpatialPyramidPoolingModule","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"4e9e64472a998b9a"}},{"code_sha256_prefix":"c4e3b2b919c3ab09","entry":"_dequeue_and_enqueue","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"c4e3b2b919c3ab09"}},{"code_sha256_prefix":"cb4236389aada2e6","entry":"get_content_extension_loss","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"cb4236389aada2e6"}},{"code_sha256_prefix":"68f02849ad3eb678","entry":"get_upsampling_weight","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"68f02849ad3eb678"}},{"code_sha256_prefix":"834002e19e40e1c4","entry":"initialize_weights","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"834002e19e40e1c4"}},{"code_sha256_prefix":"6bfd397debbdc195","entry":"varsize_tensor_all_gather","repo":"suhyeonlee/WildNet","repo_kind":"official","path":"network/deepv3.py","file_url":"https://github.com/suhyeonlee/WildNet/blob/HEAD/network/deepv3.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":"6bfd397debbdc195"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}