{"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/towards-unified-multimodal-editing-with","title":"Towards Unified Multimodal Editing with Enhanced Knowledge Collaboration","arxiv_id":"2409.19872","date":"2024-09-30","proceeding":null,"authors":["Kaihang Pan","Zhaoyu Fan","Juncheng Li","Qifan Yu","Hao Fei","Siliang Tang","Richang Hong","Hanwang Zhang","Qianru Sun"],"abstract":"The swift advancement in Multimodal LLMs (MLLMs) also presents significant challenges for effective knowledge editing. Current methods, including intrinsic knowledge editing and external knowledge resorting, each possess strengths and weaknesses, struggling to balance the desired properties of reliability, generality, and locality when applied to MLLMs. In this paper, we propose UniKE, a novel multimodal editing method that establishes a unified perspective and paradigm for intrinsic knowledge editing and external knowledge resorting. Both types of knowledge are conceptualized as vectorized key-value memories, with the corresponding editing processes resembling the assimilation and accommodation phases of human cognition, conducted at the same semantic levels. Within such a unified framework, we further promote knowledge collaboration by disentangling the knowledge representations into the semantic and truthfulness spaces. Extensive experiments validate the effectiveness of our method, which ensures that the post-edit MLLM simultaneously maintains excellent reliability, generality, and locality. The code for UniKE is available at \\url{https://github.com/beepkh/UniKE}.","url_abs":"https://arxiv.org/abs/2409.19872v3","url_pdf":"https://arxiv.org/pdf/2409.19872v3.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":"towards-unified-multimodal-editing-with","repo_url":"https://github.com/beepkh/unike","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"knowledge-editing","task_name":"knowledge editing"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.19872","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.19872"}},"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/beepkh/unike","reach":null}],"summary":{"ran":3,"ran_honours":1,"ran_draft_wrong":3,"ran_fixture":1,"unverified":11},"by_repo_kind":{"official":{"samples":19,"ran":8,"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":19,"samples":[{"code_sha256_prefix":"3717ed2305bb8b9c","entry":"Encoder","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3717ed2305bb8b9c"}},{"code_sha256_prefix":"8943e2165f639f47","entry":"_get_base_weight","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8943e2165f639f47"}},{"code_sha256_prefix":"5b1873386cf1ed1f","entry":"calculate_act_loss","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.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":"5b1873386cf1ed1f"}},{"code_sha256_prefix":"8dba22ace195c6df","entry":"calculate_memory_loss","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.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":"8dba22ace195c6df"}},{"code_sha256_prefix":"f2d353335799ab77","entry":"dict_to","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f2d353335799ab77"}},{"code_sha256_prefix":"96b6713ff1c322ca","entry":"label_smoothed_nll_loss","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"96b6713ff1c322ca"}},{"code_sha256_prefix":"7ba48886f3a5f906","entry":"loss_func","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7ba48886f3a5f906"}},{"code_sha256_prefix":"2ca71dad76c3bb9a","entry":"top_k_loss_func","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2ca71dad76c3bb9a"}},{"code_sha256_prefix":"648995be6cb40f64","entry":"AdapterLayer","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"648995be6cb40f64"}},{"code_sha256_prefix":"51c187ed723da0d5","entry":"Editor","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"51c187ed723da0d5"}},{"code_sha256_prefix":"011035322343dea0","entry":"ModifyLinearInput","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"011035322343dea0"}},{"code_sha256_prefix":"fe21c00022ae8e87","entry":"ModifyLinearOutput","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"fe21c00022ae8e87"}},{"code_sha256_prefix":"29fd9e522a6956a9","entry":"ModifyMLPLayer","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"29fd9e522a6956a9"}},{"code_sha256_prefix":"daae636487798d58","entry":"ModuleDetector","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"daae636487798d58"}},{"code_sha256_prefix":"361411fa2c1fc795","entry":"UniKEHyperParams","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"361411fa2c1fc795"}},{"code_sha256_prefix":"02525b1d6294479b","entry":"_small_init_editing_params","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"02525b1d6294479b"}},{"code_sha256_prefix":"bdc0fef874d747c6","entry":"construct_mm_samples","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"bdc0fef874d747c6"}},{"code_sha256_prefix":"ee665e7116e379bd","entry":"cu_del","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"ee665e7116e379bd"}},{"code_sha256_prefix":"028048e51861cf58","entry":"execute_unike","repo":"beepkh/unike","repo_kind":"official","path":"easyeditor/models/unike/unike_main.py","file_url":"https://github.com/beepkh/unike/blob/HEAD/easyeditor/models/unike/unike_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":"028048e51861cf58"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}