{"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/few-shot-domain-adaptation-by-causal","title":"Few-shot Domain Adaptation by Causal Mechanism Transfer","arxiv_id":"2002.03497","date":"2020-02-10","proceeding":"ICML 2020 1","authors":["Takeshi Teshima","Issei Sato","Masashi Sugiyama"],"abstract":"We study few-shot supervised domain adaptation (DA) for regression problems, where only a few labeled target domain data and many labeled source domain data are available. Many of the current DA methods base their transfer assumptions on either parametrized distribution shift or apparent distribution similarities, e.g., identical conditionals or small distributional discrepancies. However, these assumptions may preclude the possibility of adaptation from intricately shifted and apparently very different distributions. To overcome this problem, we propose mechanism transfer, a meta-distributional scenario in which a data generating mechanism is invariant among domains. This transfer assumption can accommodate nonparametric shifts resulting in apparently different distributions while providing a solid statistical basis for DA. We take the structural equations in causal modeling as an example and propose a novel DA method, which is shown to be useful both theoretically and experimentally. Our method can be seen as the first attempt to fully leverage the structural causal models for DA.","url_abs":"https://arxiv.org/abs/2002.03497v2","url_pdf":"https://arxiv.org/pdf/2002.03497v2.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":"few-shot-domain-adaptation-by-causal","repo_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"}],"methods":[{"method_slug":"mechanism-transfer","method_name":"Mechanism Transfer"}],"datasets_introduced":[],"methods_introduced":[{"slug":"mechanism-transfer","name":"Mechanism Transfer","full_name":"Mechanism Transfer"}],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2002.03497","atlas_url":"https://app.syntology.ai/?focus=2002.03497","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.03497"}},"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":"deterministic:regex_extraction","url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","reach":null}],"summary":{"ran":1,"ran_honours":1,"ran_draft_wrong":1,"ran_fixture":1,"unverified":6},"by_repo_kind":{"official":{"samples":10,"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":"9101be75b927bd4d","entry":"ICAAugmenter","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9101be75b927bd4d"}},{"code_sha256_prefix":"709f9edcb8e131c9","entry":"full_combination","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"709f9edcb8e131c9"}},{"code_sha256_prefix":"58a976f1c22cd06e","entry":"get_size","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"58a976f1c22cd06e"}},{"code_sha256_prefix":"e3038ef5fba780aa","entry":"stochastic_combination","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e3038ef5fba780aa"}},{"code_sha256_prefix":"32c2267a60392be1","entry":"AugmenterEvaluatorBase","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","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":"32c2267a60392be1"}},{"code_sha256_prefix":"4e9d8d53042c3a73","entry":"CausalMechanismTransfer","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","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":"4e9d8d53042c3a73"}},{"code_sha256_prefix":"80bcfbdeb754ae5e","entry":"DummyRunLogger","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","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":"80bcfbdeb754ae5e"}},{"code_sha256_prefix":"a2a050e16eb8fabc","entry":"EvaluatorBase","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","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":"a2a050e16eb8fabc"}},{"code_sha256_prefix":"c12fa9eb346e72d3","entry":"ICATransferAugmenter","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","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":"c12fa9eb346e72d3"}},{"code_sha256_prefix":"6cab6f4cbe44071e","entry":"RunLogger","repo":"takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer","repo_kind":"official","path":"causal_da/algorithm/api.py","file_url":"https://github.com/takeshi-teshima/few-shot-domain-adaptation-by-causal-mechanism-transfer/blob/HEAD/causal_da/algorithm/api.py","link_basis":"first_harvest_node","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":"6cab6f4cbe44071e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}