{"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/federated-class-incremental-learning-with-1","title":"PILoRA: Prototype Guided Incremental LoRA for Federated Class-Incremental Learning","arxiv_id":"2401.02094","date":"2024-01-04","proceeding":null,"authors":["Haiyang Guo","Fei Zhu","Wenzhuo LIU","Xu-Yao Zhang","Cheng-Lin Liu"],"abstract":"Existing federated learning methods have effectively dealt with decentralized learning in scenarios involving data privacy and non-IID data. However, in real-world situations, each client dynamically learns new classes, requiring the global model to classify all seen classes. To effectively mitigate catastrophic forgetting and data heterogeneity under low communication costs, we propose a simple and effective method named PILoRA. On the one hand, we adopt prototype learning to learn better feature representations and leverage the heuristic information between prototypes and class features to design a prototype re-weight module to solve the classifier bias caused by data heterogeneity without retraining the classifier. On the other hand, we view incremental learning as the process of learning distinct task vectors and encoding them within different LoRA parameters. Accordingly, we propose Incremental LoRA to mitigate catastrophic forgetting. Experimental results on standard datasets indicate that our method outperforms the state-of-the-art approaches significantly. More importantly, our method exhibits strong robustness and superiority in different settings and degrees of data heterogeneity. The code is available at \\url{https://github.com/Ghy0501/PILoRA}.","url_abs":"https://arxiv.org/abs/2401.02094v2","url_pdf":"https://arxiv.org/pdf/2401.02094v2.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":"federated-class-incremental-learning-with-1","repo_url":"https://github.com/ghy0501/pilora","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"class-incremental-learning","task_name":"Class Incremental Learning"},{"task_slug":"federated-learning","task_name":"Federated Learning"},{"task_slug":"incremental-learning","task_name":"Incremental Learning"},{"task_slug":"class-incremental-learning-1","task_name":"class-incremental learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2401.02094","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2401.02094"}},"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/ghy0501/pilora","reach":{"status":"ok"}}],"summary":{"ran":8,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":10,"ran":9,"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":10,"samples":[{"code_sha256_prefix":"94934f63765e8841","entry":"build_continual_dataset","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/utils.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/utils.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":"94934f63765e8841"}},{"code_sha256_prefix":"c29db2c2b5697607","entry":"cifar_iid","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/sampling.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/sampling.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":"c29db2c2b5697607"}},{"code_sha256_prefix":"ca4998fc119fd95d","entry":"compute_distance","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/CPN.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/CPN.py","link_basis":"first_harvest_node","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":"ca4998fc119fd95d"}},{"code_sha256_prefix":"9c3940778c47f945","entry":"get_frozen_param_names","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/utils.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/utils.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":"9c3940778c47f945"}},{"code_sha256_prefix":"99c7a1f4f4df8c30","entry":"get_trainable_param_names","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/utils.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/utils.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":"99c7a1f4f4df8c30"}},{"code_sha256_prefix":"7695191bcaf75612","entry":"l2_loss","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/CPN.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/CPN.py","link_basis":"first_harvest_node","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":"7695191bcaf75612"}},{"code_sha256_prefix":"d9107114749c3e49","entry":"mnist_iid","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/sampling.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/sampling.py","link_basis":"plan_row","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":"d9107114749c3e49"}},{"code_sha256_prefix":"fd6f79a5672c6b90","entry":"mnist_noniid","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/sampling.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/sampling.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":"fd6f79a5672c6b90"}},{"code_sha256_prefix":"44a28f1715855a4b","entry":"pl_loss","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/CPN.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/CPN.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":"44a28f1715855a4b"}},{"code_sha256_prefix":"45d03fd9925ee949","entry":"inference","repo":"ghy0501/pilora","repo_kind":"official","path":"PILoRA-cifar/federated_main.py","file_url":"https://github.com/ghy0501/pilora/blob/HEAD/PILoRA-cifar/federated_main.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":"45d03fd9925ee949"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}