{"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/less-confusion-more-transferable-minimum","title":"Minimum Class Confusion for Versatile Domain Adaptation","arxiv_id":"1912.03699","date":"2019-12-08","proceeding":"ECCV 2020 8","authors":["Ying Jin","Ximei Wang","Mingsheng Long","Jian-Min Wang"],"abstract":"There are a variety of Domain Adaptation (DA) scenarios subject to label sets and domain configurations, including closed-set and partial-set DA, as well as multi-source and multi-target DA. It is notable that existing DA methods are generally designed only for a specific scenario, and may underperform for scenarios they are not tailored to. To this end, this paper studies Versatile Domain Adaptation (VDA), where one method can handle several different DA scenarios without any modification. Towards this goal, a more general inductive bias other than the domain alignment should be explored. We delve into a missing piece of existing methods: class confusion, the tendency that a classifier confuses the predictions between the correct and ambiguous classes for target examples, which is common in different DA scenarios. We uncover that reducing such pairwise class confusion leads to significant transfer gains. With this insight, we propose a general loss function: Minimum Class Confusion (MCC). It can be characterized as (1) a non-adversarial DA method without explicitly deploying domain alignment, enjoying faster convergence speed; (2) a versatile approach that can handle four existing scenarios: Closed-Set, Partial-Set, Multi-Source, and Multi-Target DA, outperforming the state-of-the-art methods in these scenarios, especially on one of the largest and hardest datasets to date (7.3% on DomainNet). Its versatility is further justified by two scenarios proposed in this paper: Multi-Source Partial DA and Multi-Target Partial DA. In addition, it can also be used as a general regularizer that is orthogonal and complementary to a variety of existing DA methods, accelerating convergence and pushing these readily competitive methods to stronger ones. Code is available at https://github.com/thuml/Versatile-Domain-Adaptation.","url_abs":"https://arxiv.org/abs/1912.03699v3","url_pdf":"https://arxiv.org/pdf/1912.03699v3.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":"less-confusion-more-transferable-minimum","repo_url":"https://github.com/thuml/Versatile-Domain-Adaptation","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"less-confusion-more-transferable-minimum","repo_url":"https://github.com/thuml/Transfer-Learning-Library","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"less-confusion-more-transferable-minimum","repo_url":"https://github.com/kevinmusgrave/pytorch-adapt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"inductive-bias","task_name":"Inductive Bias"},{"task_slug":"multi-target-domain-adaptation","task_name":"Multi-target Domain Adaptation"},{"task_slug":"partial-domain-adaptation","task_name":"Partial Domain Adaptation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/multi-target-domain-adaptation-on-domainnet","task":"Multi-target Domain Adaptation","dataset":"DomainNet","model":"MCC","rank_in_archive_order":3,"of":4,"metrics":{"Accuracy":"28.8"},"uses_additional_data":false},{"leaderboard":"/sota/partial-domain-adaptation-on-office-home","task":"Partial Domain Adaptation","dataset":"Office-Home","model":"MCC","rank_in_archive_order":8,"of":11,"metrics":{"Accuracy (%)":"75.1"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1912.03699","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1912.03699"}},"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/kevinmusgrave/pytorch-adapt","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/thuml/Transfer-Learning-Library","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/thuml/Versatile-Domain-Adaptation","reach":null}],"summary":{"ran_honours":1,"unverified":3},"by_repo_kind":{"official":{"samples":4,"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":4,"samples":[{"code_sha256_prefix":"0fe7ddf633d68234","entry":"EntropyLoss","repo":"thuml/Versatile-Domain-Adaptation","repo_kind":"official","path":"pytorch/train_image_visda.py","file_url":"https://github.com/thuml/Versatile-Domain-Adaptation/blob/HEAD/pytorch/train_image_visda.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0fe7ddf633d68234"}},{"code_sha256_prefix":"3a55299001ec8870","entry":"image_classification_test","repo":"thuml/Versatile-Domain-Adaptation","repo_kind":"official","path":"pytorch/train_image_office.py","file_url":"https://github.com/thuml/Versatile-Domain-Adaptation/blob/HEAD/pytorch/train_image_office.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3a55299001ec8870"}},{"code_sha256_prefix":"6fbf1ba21421577f","entry":"image_classification_test","repo":"thuml/Versatile-Domain-Adaptation","repo_kind":"official","path":"pytorch/train_image_visda.py","file_url":"https://github.com/thuml/Versatile-Domain-Adaptation/blob/HEAD/pytorch/train_image_visda.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6fbf1ba21421577f"}},{"code_sha256_prefix":"ae5032f3bc1e5adc","entry":"image_classification_val","repo":"thuml/Versatile-Domain-Adaptation","repo_kind":"official","path":"pytorch/train_image_visda.py","file_url":"https://github.com/thuml/Versatile-Domain-Adaptation/blob/HEAD/pytorch/train_image_visda.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ae5032f3bc1e5adc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}