{"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/addressing-imbalanced-domain-incremental","title":"Addressing Imbalanced Domain-Incremental Learning through Dual-Balance Collaborative Experts","arxiv_id":"2507.07100","date":"2025-07-09","proceeding":null,"authors":["Lan Li","Da-Wei Zhou","Han-Jia Ye","De-Chuan Zhan"],"abstract":"Domain-Incremental Learning (DIL) focuses on continual learning in non-stationary environments, requiring models to adjust to evolving domains while preserving historical knowledge. DIL faces two critical challenges in the context of imbalanced data: intra-domain class imbalance and cross-domain class distribution shifts. These challenges significantly hinder model performance, as intra-domain imbalance leads to underfitting of few-shot classes, while cross-domain shifts require maintaining well-learned many-shot classes and transferring knowledge to improve few-shot class performance in old domains. To overcome these challenges, we introduce the Dual-Balance Collaborative Experts (DCE) framework. DCE employs a frequency-aware expert group, where each expert is guided by specialized loss functions to learn features for specific frequency groups, effectively addressing intra-domain class imbalance. Subsequently, a dynamic expert selector is learned by synthesizing pseudo-features through balanced Gaussian sampling from historical class statistics. This mechanism navigates the trade-off between preserving many-shot knowledge of previous domains and leveraging new data to improve few-shot class performance in earlier tasks. Extensive experimental results on four benchmark datasets demonstrate DCE's state-of-the-art performance.","url_abs":"https://arxiv.org/abs/2507.07100v1","url_pdf":"https://arxiv.org/pdf/2507.07100v1.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":"addressing-imbalanced-domain-incremental","repo_url":"https://github.com/lain810/dce","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"continual-learning","task_name":"Continual Learning"},{"task_slug":"incremental-learning","task_name":"Incremental Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2507.07100","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2507.07100"}},"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":"deterministic:regex_extraction","url":"https://github.com/Lain810/DCE","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lain810/dce","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran_draft_wrong":3,"ran_fixture":1,"unverified":7},"by_repo_kind":{"official":{"samples":11,"ran":4,"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":"98f385d847636a3e","entry":"basic_clean","repo":"Lain810/DCE","repo_kind":"official","path":"models/clip/simple_tokenizer.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/clip/simple_tokenizer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"98f385d847636a3e"}},{"code_sha256_prefix":"d919ae32e5e4e616","entry":"get_pairs","repo":"Lain810/DCE","repo_kind":"official","path":"models/clip/simple_tokenizer.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/clip/simple_tokenizer.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":"d919ae32e5e4e616"}},{"code_sha256_prefix":"4072283c98270784","entry":"reduce_proxies","repo":"Lain810/DCE","repo_kind":"official","path":"models/linears.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/linears.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4072283c98270784"}},{"code_sha256_prefix":"9542161e9640b858","entry":"whitespace_clean","repo":"Lain810/DCE","repo_kind":"official","path":"models/clip/simple_tokenizer.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/clip/simple_tokenizer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9542161e9640b858"}},{"code_sha256_prefix":"59ef8345feead1c6","entry":"build_model","repo":"Lain810/DCE","repo_kind":"official","path":"models/clip/model.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/clip/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"59ef8345feead1c6"}},{"code_sha256_prefix":"92c6dea718013921","entry":"checkpoint_filter_fn","repo":"Lain810/DCE","repo_kind":"official","path":"models/vit.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"92c6dea718013921"}},{"code_sha256_prefix":"b142ce9e26ce9b4f","entry":"get_init_weights_vit","repo":"Lain810/DCE","repo_kind":"official","path":"models/vit.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b142ce9e26ce9b4f"}},{"code_sha256_prefix":"fbf8c0143d9c48e3","entry":"load","repo":"Lain810/DCE","repo_kind":"official","path":"models/clip/clip.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/clip/clip.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":"fbf8c0143d9c48e3"}},{"code_sha256_prefix":"693ee3fb0fdd5cc6","entry":"resize_pos_embed","repo":"Lain810/DCE","repo_kind":"official","path":"models/vit.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"693ee3fb0fdd5cc6"}},{"code_sha256_prefix":"becca2bf8583e455","entry":"vit_base_patch16_224_adapter","repo":"Lain810/DCE","repo_kind":"official","path":"models/adapter.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/adapter.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"becca2bf8583e455"}},{"code_sha256_prefix":"250af3792df24eaf","entry":"vit_base_patch16_224_in21k_adapter","repo":"Lain810/DCE","repo_kind":"official","path":"models/adapter.py","file_url":"https://github.com/Lain810/DCE/blob/HEAD/models/adapter.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"250af3792df24eaf"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}