{"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/source-free-domain-adaptation-via","title":"Source-Free Domain Adaptation via Distribution Estimation","arxiv_id":"2204.11257","date":"2022-04-24","proceeding":"CVPR 2022 1","authors":["Ning Ding","Yixing Xu","Yehui Tang","Chao Xu","Yunhe Wang","DaCheng Tao"],"abstract":"Domain Adaptation aims to transfer the knowledge learned from a labeled source domain to an unlabeled target domain whose data distributions are different. However, the training data in source domain required by most of the existing methods is usually unavailable in real-world applications due to privacy preserving policies. Recently, Source-Free Domain Adaptation (SFDA) has drawn much attention, which tries to tackle domain adaptation problem without using source data. In this work, we propose a novel framework called SFDA-DE to address SFDA task via source Distribution Estimation. Firstly, we produce robust pseudo-labels for target data with spherical k-means clustering, whose initial class centers are the weight vectors (anchors) learned by the classifier of pretrained model. Furthermore, we propose to estimate the class-conditioned feature distribution of source domain by exploiting target data and corresponding anchors. Finally, we sample surrogate features from the estimated distribution, which are then utilized to align two domains by minimizing a contrastive adaptation loss function. Extensive experiments show that the proposed method achieves state-of-the-art performance on multiple DA benchmarks, and even outperforms traditional DA methods which require plenty of source data.","url_abs":"https://arxiv.org/abs/2204.11257v1","url_pdf":"https://arxiv.org/pdf/2204.11257v1.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":"source-free-domain-adaptation-via","repo_url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"privacy-preserving","task_name":"Privacy Preserving"},{"task_slug":"source-free-domain-adaptation","task_name":"Source-Free Domain Adaptation"}],"methods":[{"method_slug":"align","method_name":"ALIGN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.11257","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.11257"}},"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/AlexisGuichemerreCode/survey_hist_wsol_sfda","reach":null}],"summary":{"ran":1,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"listed":{"samples":5,"ran":2,"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":5,"samples":[{"code_sha256_prefix":"4e488abdea48d785","entry":"ELB","repo":"AlexisGuichemerreCode/survey_hist_wsol_sfda","repo_kind":"listed","path":"dlib/losses/sf_uda.py","file_url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda/blob/HEAD/dlib/losses/sf_uda.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"4e488abdea48d785"}},{"code_sha256_prefix":"3ffbeaffd0d80737","entry":"to_cuda","repo":"AlexisGuichemerreCode/survey_hist_wsol_sfda","repo_kind":"listed","path":"dlib/losses/sf_uda.py","file_url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda/blob/HEAD/dlib/losses/sf_uda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3ffbeaffd0d80737"}},{"code_sha256_prefix":"07fd25cfdf9dcf27","entry":"CDD","repo":"AlexisGuichemerreCode/survey_hist_wsol_sfda","repo_kind":"listed","path":"dlib/losses/sf_uda.py","file_url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda/blob/HEAD/dlib/losses/sf_uda.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"07fd25cfdf9dcf27"}},{"code_sha256_prefix":"1762bdb8c784bf2a","entry":"ElementaryLoss","repo":"AlexisGuichemerreCode/survey_hist_wsol_sfda","repo_kind":"listed","path":"dlib/losses/sf_uda.py","file_url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda/blob/HEAD/dlib/losses/sf_uda.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"1762bdb8c784bf2a"}},{"code_sha256_prefix":"7c675ae96cd062d9","entry":"UdaCdd","repo":"AlexisGuichemerreCode/survey_hist_wsol_sfda","repo_kind":"listed","path":"dlib/losses/sf_uda.py","file_url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda/blob/HEAD/dlib/losses/sf_uda.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7c675ae96cd062d9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}