{"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/label-propagation-with-augmented-anchors-a","title":"Label Propagation with Augmented Anchors: A Simple Semi-Supervised Learning baseline for Unsupervised Domain Adaptation","arxiv_id":"2007.07695","date":"2020-07-15","proceeding":"ECCV 2020 8","authors":["Yabin Zhang","Bin Deng","Kui Jia","Lei Zhang"],"abstract":"Motivated by the problem relatedness between unsupervised domain adaptation (UDA) and semi-supervised learning (SSL), many state-of-the-art UDA methods adopt SSL principles (e.g., the cluster assumption) as their learning ingredients. However, they tend to overlook the very domain-shift nature of UDA. In this work, we take a step further to study the proper extensions of SSL techniques for UDA. Taking the algorithm of label propagation (LP) as an example, we analyze the challenges of adopting LP to UDA and theoretically analyze the conditions of affinity graph/matrix construction in order to achieve better propagation of true labels to unlabeled instances. Our analysis suggests a new algorithm of Label Propagation with Augmented Anchors (A$^2$LP), which could potentially improve LP via generation of unlabeled virtual instances (i.e., the augmented anchors) with high-confidence label predictions. To make the proposed A$^2$LP useful for UDA, we propose empirical schemes to generate such virtual instances. The proposed schemes also tackle the domain-shift challenge of UDA by alternating between pseudo labeling via A$^2$LP and domain-invariant feature learning. Experiments show that such a simple SSL extension improves over representative UDA methods of domain-invariant feature learning, and could empower two state-of-the-art methods on benchmark UDA datasets. Our results show the value of further investigation on SSL techniques for UDA problems.","url_abs":"https://arxiv.org/abs/2007.07695v1","url_pdf":"https://arxiv.org/pdf/2007.07695v1.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":"label-propagation-with-augmented-anchors-a","repo_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"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":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2007.07695","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.07695"}},"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/YBZh/Label-Propagation-with-Augmented-Anchors","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":8},"by_repo_kind":{"official":{"samples":9,"ran":1,"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":"fac5364e2f53c6db","entry":"conv3x3","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"94115d21abaca47d","entry":"MMD","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/DomainConfusionLoss.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/DomainConfusionLoss.py","link_basis":"first_harvest_node","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":"94115d21abaca47d"}},{"code_sha256_prefix":"9e2db0e9c19ddabc","entry":"alexnet","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/alexnet.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/alexnet.py","link_basis":"first_harvest_node","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":"9e2db0e9c19ddabc"}},{"code_sha256_prefix":"491617531d40f138","entry":"guassian_kernel","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/DomainConfusionLoss.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/DomainConfusionLoss.py","link_basis":"first_harvest_node","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":"491617531d40f138"}},{"code_sha256_prefix":"8de6a5d0a61b8a5d","entry":"process_zero_value","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"trainer.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/trainer.py","link_basis":"first_harvest_node","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":"8de6a5d0a61b8a5d"}},{"code_sha256_prefix":"45aefd505deca2fc","entry":"resnet18","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/resnet.py","link_basis":"first_harvest_node","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":"45aefd505deca2fc"}},{"code_sha256_prefix":"a0c4e877fe59e30f","entry":"resnet18","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/resnet_dsbn.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/resnet_dsbn.py","link_basis":"first_harvest_node","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":"a0c4e877fe59e30f"}},{"code_sha256_prefix":"9e219a43ca972eda","entry":"resnet34","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/resnet.py","link_basis":"first_harvest_node","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":"9e219a43ca972eda"}},{"code_sha256_prefix":"75cf12815f6cf883","entry":"resnet34","repo":"YBZh/Label-Propagation-with-Augmented-Anchors","repo_kind":"official","path":"models/resnet_dsbn.py","file_url":"https://github.com/YBZh/Label-Propagation-with-Augmented-Anchors/blob/HEAD/models/resnet_dsbn.py","link_basis":"first_harvest_node","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":"75cf12815f6cf883"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}