{"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/boosting-consistency-in-dual-training-for","title":"Boosting Consistency in Dual Training for Long-Tailed Semi-Supervised Learning","arxiv_id":"2406.13187","date":"2024-06-19","proceeding":null,"authors":["Kai Gan","Tong Wei","Min-Ling Zhang"],"abstract":"While long-tailed semi-supervised learning (LTSSL) has received tremendous attention in many real-world classification problems, existing LTSSL algorithms typically assume that the class distributions of labeled and unlabeled data are almost identical. Those LTSSL algorithms built upon the assumption can severely suffer when the class distributions of labeled and unlabeled data are mismatched since they utilize biased pseudo-labels from the model. To alleviate this problem, we propose a new simple method that can effectively utilize unlabeled data from unknown class distributions through Boosting cOnsistency in duAl Training (BOAT). Specifically, we construct the standard and balanced branch to ensure the performance of the head and tail classes, respectively. Throughout the training process, the two branches incrementally converge and interact with each other, eventually resulting in commendable performance across all classes. Despite its simplicity, we show that BOAT achieves state-of-the-art performance on a variety of standard LTSSL benchmarks, e.g., an averaged 2.7% absolute increase in test accuracy against existing algorithms when the class distributions of labeled and unlabeled data are mismatched. Even when the class distributions are identical, BOAT consistently outperforms many sophisticated LTSSL algorithms. We carry out extensive ablation studies to tease apart the factors that are the most important to the success of BOAT. The source code is available at https://github.com/Gank0078/BOAT.","url_abs":"https://arxiv.org/abs/2406.13187v1","url_pdf":"https://arxiv.org/pdf/2406.13187v1.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":"boosting-consistency-in-dual-training-for","repo_url":"https://github.com/gank0078/boat","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[{"method_slug":"attention","method_name":"Attention"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2406.13187","atlas_url":"https://app.syntology.ai/?focus=2406.13187","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.13187"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gank0078/boat","reach":{"status":"ok"}}],"summary":{"ran":8,"ran_fixture":1,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":11,"ran":10,"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":11,"samples":[{"code_sha256_prefix":"c6e7c3451c85404f","entry":"AutoContrast","repo":"gank0078/boat","repo_kind":"official","path":"dataset/randaugment.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/dataset/randaugment.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6e7c3451c85404f"}},{"code_sha256_prefix":"0d1a8d6ce2015fc7","entry":"Brightness","repo":"gank0078/boat","repo_kind":"official","path":"dataset/randaugment.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/dataset/randaugment.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0d1a8d6ce2015fc7"}},{"code_sha256_prefix":"32cb3f5760fa593e","entry":"Color","repo":"gank0078/boat","repo_kind":"official","path":"dataset/randaugment.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/dataset/randaugment.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"32cb3f5760fa593e"}},{"code_sha256_prefix":"18badd533b52adb3","entry":"accuracy","repo":"gank0078/boat","repo_kind":"official","path":"utils/misc.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/utils/misc.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"18badd533b52adb3"}},{"code_sha256_prefix":"805ac5f0718023de","entry":"build_wideresnet","repo":"gank0078/boat","repo_kind":"official","path":"models/wideresnet.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/models/wideresnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"805ac5f0718023de"}},{"code_sha256_prefix":"fb866335bba20e2b","entry":"compute_adjustment_list","repo":"gank0078/boat","repo_kind":"official","path":"dataset/data.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/dataset/data.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fb866335bba20e2b"}},{"code_sha256_prefix":"8c82d522e7c85b05","entry":"get_mean_and_std","repo":"gank0078/boat","repo_kind":"official","path":"utils/misc.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/utils/misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8c82d522e7c85b05"}},{"code_sha256_prefix":"0a7c46eb67c0c21b","entry":"mish","repo":"gank0078/boat","repo_kind":"official","path":"models/wideresnet.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/models/wideresnet.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0a7c46eb67c0c21b"}},{"code_sha256_prefix":"50afa2863ffd9fde","entry":"plot_overlap","repo":"gank0078/boat","repo_kind":"official","path":"utils/logger.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/utils/logger.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"50afa2863ffd9fde"}},{"code_sha256_prefix":"cc3453757d036ce9","entry":"read_txt_as_list","repo":"gank0078/boat","repo_kind":"official","path":"dataset/data.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/dataset/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cc3453757d036ce9"}},{"code_sha256_prefix":"5479cd4eeee14d78","entry":"transpose","repo":"gank0078/boat","repo_kind":"official","path":"dataset/data.py","file_url":"https://github.com/gank0078/boat/blob/HEAD/dataset/data.py","link_basis":"harvester_set","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":"5479cd4eeee14d78"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}