{"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/gradual-domain-adaptation-via-normalizing","title":"Gradual Domain Adaptation via Normalizing Flows","arxiv_id":"2206.11492","date":"2022-06-23","proceeding":null,"authors":["Shogo Sagawa","Hideitsu Hino"],"abstract":"Standard domain adaptation methods do not work well when a large gap exists between the source and target domains. Gradual domain adaptation is one of the approaches used to address the problem. It involves leveraging the intermediate domain, which gradually shifts from the source domain to the target domain. In previous work, it is assumed that the number of intermediate domains is large and the distance between adjacent domains is small; hence, the gradual domain adaptation algorithm, involving self-training with unlabeled datasets, is applicable. In practice, however, gradual self-training will fail because the number of intermediate domains is limited and the distance between adjacent domains is large. We propose the use of normalizing flows to deal with this problem while maintaining the framework of unsupervised domain adaptation. The proposed method learns a transformation from the distribution of the target domain to the Gaussian mixture distribution via the source domain. We evaluate our proposed method by experiments using real-world datasets and confirm that it mitigates the above-explained problem and improves the classification performance.","url_abs":"https://arxiv.org/abs/2206.11492v4","url_pdf":"https://arxiv.org/pdf/2206.11492v4.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":"gradual-domain-adaptation-via-normalizing","repo_url":"https://github.com/ismhinolab/gda_via_cnf","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"unsupervised-domain-adaptation","task_name":"Unsupervised Domain Adaptation"}],"methods":[{"method_slug":"gradual-self-training","method_name":"Gradual Self-Training"},{"method_slug":"normalizing-flows","method_name":"Normalizing Flows"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2206.11492","atlas_url":"https://app.syntology.ai/?focus=2206.11492","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.11492"}},"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/ismhinolab/gda_via_cnf","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":6,"unverified":3},"by_repo_kind":{"official":{"samples":9,"ran":6,"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":"36a4053035e2ce17","entry":"estimate_k","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"FitKNN.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/FitKNN.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"36a4053035e2ce17"}},{"code_sha256_prefix":"accb9c276047f4a1","entry":"l1_regularzation_fn","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"lib/layers/wrappers/cnf_regularization.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/lib/layers/wrappers/cnf_regularization.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"accb9c276047f4a1"}},{"code_sha256_prefix":"419ec5b89e9f910c","entry":"l2_regularzation_fn","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"lib/layers/wrappers/cnf_regularization.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/lib/layers/wrappers/cnf_regularization.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"419ec5b89e9f910c"}},{"code_sha256_prefix":"da8d99e2fc7f7674","entry":"make_split_data","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"datasets2.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/datasets2.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da8d99e2fc7f7674"}},{"code_sha256_prefix":"f41ec054c8bc78c1","entry":"poly_reg_error","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"lib/layers/cnf.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/lib/layers/cnf.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f41ec054c8bc78c1"}},{"code_sha256_prefix":"0420106513b40e3a","entry":"sample_unique","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"lib/layers/cnf.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/lib/layers/cnf.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0420106513b40e3a"}},{"code_sha256_prefix":"483ebf5adff96ca4","entry":"directional_l2_regularization_fn","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"lib/layers/wrappers/cnf_regularization.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/lib/layers/wrappers/cnf_regularization.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":"483ebf5adff96ca4"}},{"code_sha256_prefix":"a99dd78e305c5df6","entry":"load_RotMNIST_for_generate","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"datasets2.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/datasets2.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":"a99dd78e305c5df6"}},{"code_sha256_prefix":"a5fb60bad7ab73c7","entry":"load_RotatedMNIST2","repo":"ismhinolab/gda_via_cnf","repo_kind":"official","path":"datasets2.py","file_url":"https://github.com/ismhinolab/gda_via_cnf/blob/HEAD/datasets2.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":"a5fb60bad7ab73c7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}