{"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/do-we-really-need-to-access-the-source-data","title":"Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation","arxiv_id":"2002.08546","date":"2020-02-20","proceeding":"ICML 2020 1","authors":["Jian Liang","Dapeng Hu","Jiashi Feng"],"abstract":"Unsupervised domain adaptation (UDA) aims to leverage the knowledge learned from a labeled source dataset to solve similar tasks in a new unlabeled domain. Prior UDA methods typically require to access the source data when learning to adapt the model, making them risky and inefficient for decentralized private data. This work tackles a practical setting where only a trained source model is available and investigates how we can effectively utilize such a model without source data to solve UDA problems. We propose a simple yet generic representation learning framework, named \\emph{Source HypOthesis Transfer} (SHOT). SHOT freezes the classifier module (hypothesis) of the source model and learns the target-specific feature extraction module by exploiting both information maximization and self-supervised pseudo-labeling to implicitly align representations from the target domains to the source hypothesis. To verify its versatility, we evaluate SHOT in a variety of adaptation cases including closed-set, partial-set, and open-set domain adaptation. Experiments indicate that SHOT yields state-of-the-art results among multiple domain adaptation benchmarks.","url_abs":"https://arxiv.org/abs/2002.08546v6","url_pdf":"https://arxiv.org/pdf/2002.08546v6.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":"do-we-really-need-to-access-the-source-data","repo_url":"https://github.com/tim-learn/SHOT","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"do-we-really-need-to-access-the-source-data","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},{"paper_slug":"do-we-really-need-to-access-the-source-data","repo_url":"https://github.com/Claydon-Wang/OFTTA","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":"partial-domain-adaptation","task_name":"Partial Domain Adaptation"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"source-free-domain-adaptation","task_name":"Source-Free Domain Adaptation"},{"task_slug":"universal-domain-adaptation","task_name":"Universal Domain Adaptation"},{"task_slug":"unsupervised-domain-adaptation","task_name":"Unsupervised Domain Adaptation"}],"methods":[{"method_slug":"source-hypothesis-transfer","method_name":"Source Hypothesis Transfer"}],"datasets_introduced":[],"methods_introduced":[{"slug":"source-hypothesis-transfer","name":"Source Hypothesis Transfer","full_name":"Source Hypothesis Transfer"}],"results":[{"leaderboard":"/sota/domain-adaptation-on-mnist-to-usps","task":"Domain Adaptation","dataset":"MNIST-to-USPS","model":"SHOT","rank_in_archive_order":6,"of":14,"metrics":{"Accuracy":"98.0"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-office-31","task":"Domain Adaptation","dataset":"Office-31","model":"SHOT","rank_in_archive_order":22,"of":40,"metrics":{"Average Accuracy":"88.6"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-office-home","task":"Domain Adaptation","dataset":"Office-Home","model":"SHOT","rank_in_archive_order":19,"of":29,"metrics":{"Accuracy":"71.8"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-svhn-to-mnist","task":"Domain Adaptation","dataset":"SVHN-to-MNIST","model":"SHOT","rank_in_archive_order":2,"of":14,"metrics":{"Accuracy":"98.9"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-svnh-to-mnist","task":"Domain Adaptation","dataset":"SVNH-to-MNIST","model":"SHOT","rank_in_archive_order":2,"of":9,"metrics":{"Accuracy":"98.9"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-usps-to-mnist","task":"Domain Adaptation","dataset":"USPS-to-MNIST","model":"SHOT","rank_in_archive_order":3,"of":14,"metrics":{"Accuracy":"98.4"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-visda2017","task":"Domain Adaptation","dataset":"VisDA2017","model":"SHOT","rank_in_archive_order":19,"of":28,"metrics":{"Accuracy":"82.9"},"uses_additional_data":false},{"leaderboard":"/sota/partial-domain-adaptation-on-office-home","task":"Partial Domain Adaptation","dataset":"Office-Home","model":"SHOT","rank_in_archive_order":3,"of":11,"metrics":{"Accuracy (%)":"78.3"},"uses_additional_data":false},{"leaderboard":"/sota/source-free-domain-adaptation-on-visda-2017","task":"Source-Free Domain Adaptation","dataset":"VisDA-2017","model":"SHOT","rank_in_archive_order":10,"of":10,"metrics":{"Accuracy":"82.9"},"uses_additional_data":false},{"leaderboard":"/sota/universal-domain-adaptation-on-domainnet","task":"Universal Domain Adaptation","dataset":"DomainNet","model":"SHOT-O","rank_in_archive_order":12,"of":12,"metrics":{"H-Score":"32.6","Source-free":"no"},"uses_additional_data":false},{"leaderboard":"/sota/universal-domain-adaptation-on-office-home","task":"Universal Domain Adaptation","dataset":"Office-Home","model":"SHOT-O","rank_in_archive_order":14,"of":14,"metrics":{"H-Score":"40.7","Source-free":"yes","VLM":"no"},"uses_additional_data":false},{"leaderboard":"/sota/universal-domain-adaptation-on-visda2017","task":"Universal Domain Adaptation","dataset":"VisDA2017","model":"SHOT-O","rank_in_archive_order":11,"of":13,"metrics":{"H-score":"44.0","Source-free":"yes"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2002.08546","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.08546"}},"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/Claydon-Wang/OFTTA","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/AlexisGuichemerreCode/survey_hist_wsol_sfda","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tim-learn/SHOT","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2},"by_repo_kind":{},"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":2,"samples":[{"code_sha256_prefix":"0b7ffc9f8b77529c","entry":"lr_scheduler","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"0b7ffc9f8b77529c"}},{"code_sha256_prefix":"93a11f62e4a129f0","entry":"op_copy","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"93a11f62e4a129f0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}