{"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/collabedit-towards-non-destructive","title":"CollabEdit: Towards Non-destructive Collaborative Knowledge Editing","arxiv_id":"2410.09508","date":"2024-10-12","proceeding":null,"authors":["Jiamu Zheng","Jinghuai Zhang","Tianyu Du","Xuhong Zhang","Jianwei Yin","Tao Lin"],"abstract":"Collaborative learning of large language models (LLMs) has emerged as a new paradigm for utilizing private data from different parties to guarantee efficiency and privacy. Meanwhile, Knowledge Editing (KE) for LLMs has also garnered increased attention due to its ability to manipulate the behaviors of LLMs explicitly, yet leaves the collaborative KE case (in which knowledge edits of multiple parties are aggregated in a privacy-preserving and continual manner) unexamined. To this end, this manuscript dives into the first investigation of collaborative KE, in which we start by carefully identifying the unique three challenges therein, including knowledge overlap, knowledge conflict, and knowledge forgetting. We then propose a non-destructive collaborative KE framework, COLLABEDIT, which employs a novel model merging mechanism to mimic the global KE behavior while preventing the severe performance drop. Extensive experiments on two canonical datasets demonstrate the superiority of COLLABEDIT compared to other destructive baselines, and results shed light on addressing three collaborative KE challenges and future applications. Our code is available at https://github.com/LINs-lab/CollabEdit.","url_abs":"https://arxiv.org/abs/2410.09508v4","url_pdf":"https://arxiv.org/pdf/2410.09508v4.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":"collabedit-towards-non-destructive","repo_url":"https://github.com/lins-lab/collabedit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"privacy-preserving","task_name":"Privacy Preserving"},{"task_slug":"knowledge-editing","task_name":"knowledge editing"}],"methods":[{"method_slug":"attention","method_name":"Attention"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.09508","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.09508"}},"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/LINs-lab/CollabEdit","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lins-lab/collabedit","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"ran":4,"unverified":3},"by_repo_kind":{"official":{"samples":9,"ran":6,"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":"27659a9c234ffb11","entry":"binary_log_probs","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"baselines/mend/losses.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/baselines/mend/losses.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":"27659a9c234ffb11"}},{"code_sha256_prefix":"920b394e7ad80c53","entry":"hierarchical_subsequence","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"util/nethook.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/util/nethook.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"920b394e7ad80c53"}},{"code_sha256_prefix":"8b02eb3a3733d653","entry":"kl_loc_loss","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"baselines/mend/losses.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/baselines/mend/losses.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8b02eb3a3733d653"}},{"code_sha256_prefix":"8ccc8886c554a1ce","entry":"multiclass_log_probs","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"baselines/mend/losses.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/baselines/mend/losses.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ccc8886c554a1ce"}},{"code_sha256_prefix":"70f6ab8bde55420e","entry":"recursive_copy","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"util/nethook.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/util/nethook.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"70f6ab8bde55420e"}},{"code_sha256_prefix":"440ff98c2b1ae1aa","entry":"subsequence","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"util/nethook.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/util/nethook.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"440ff98c2b1ae1aa"}},{"code_sha256_prefix":"d9a5bcaef451668f","entry":"get_model","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"baselines/mend/models.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/baselines/mend/models.py","link_basis":"plan_row","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":"d9a5bcaef451668f"}},{"code_sha256_prefix":"87e77d8c9c3620e1","entry":"get_tokenizer","repo":"LINs-lab/CollabEdit","repo_kind":"official","path":"baselines/mend/models.py","file_url":"https://github.com/LINs-lab/CollabEdit/blob/HEAD/baselines/mend/models.py","link_basis":"plan_row","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":"87e77d8c9c3620e1"}},{"code_sha256_prefix":"3da2cb78951884b7","entry":"main","repo":"lins-lab/collabedit","repo_kind":"official","path":"experiments/CollabEdit_summarize.py","file_url":"https://github.com/lins-lab/collabedit/blob/HEAD/experiments/CollabEdit_summarize.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":"3da2cb78951884b7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}