Towards Unified Multimodal Editing with Enhanced Knowledge Collaboration

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}.

Paper

References (51)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer 4G2a6/10 · confidence 4/52024-07-06

Summary

The paper introduces UniKE, a novel multimodal editing method that addresses challenges in knowledge editing for Multimodal Large Language Models. UniKE unifies intrinsic knowledge editing and external knowledge resorting by vectorized key-value memories. By disentangling knowledge representations into semantic and truthfulness spaces, UniKE promotes collaboration between intrinsic and external knowledge editing, enhancing the post-edit MLLM's reliability, generality, and locality. Extensive experiments validate UniKE's effectiveness.

Strengths

1. UniKE establishes a unified framework for intrinsic knowledge editing and external knowledge resorting. 2. Extensive experiments demonstrate that UniKE consistently maintains excellent reliability, generality, and locality

Weaknesses

1. The presentation is confusing. For example, in intrinsic knowledge editing, how do you actual edit the intrinsic knowledge in FFN. Do you follow the same pipeline as T-Patcher or adding an additional neural network? Although intrinsic knowledge is considered as key-value pairs but they are different in the end. 2. The unified framework and disentanglement of knowledge representations into semantic and truthfulness spaces introduces additional complexity to the editing process. If I understand correctly from the implementation details, it requires more than 15k additional triplets to train the encoders. 3. In the experiments, I think /beta is another hyperparameter, but I did not find an experiment discussing it.

Questions

Why would you add extra 10 key-value pairs in the FFN of the last four transformer layers in intrinsic knowledge editing? It seems that \zeta is quite sensitive. Could you explain that?

Rating

6

Confidence

4

Soundness

3

Presentation

2

Contribution

3

Limitations

N/A

Authorsrebuttal2024-08-07

Tables 7, 10 and Figure 1 in the Rebuttal PDF

To facilitate your reading, we also paste our additional experimental results here, **which are consistent with the tables / figures in the rebuttal PDF**.   **Table 7:** The computational speed, resource utilization and performance of each method. We use the average results of five metrics (Reliability, T-Generality, M-Generality, T-Locality, and M-Locality) as the performance measure. | Method | GPU memory | Editing time for each sample | Avg performance | |:----------|:----------:|:----------------------------:|:---------------:| | FT | 22G | 6.1s | 60.6 | | KE | 24G | 5.8s | 74.7 | | T-Patcher | 18G | 4.7s | 80.4 | | MEND | 36G | 5.2s | 90.3 | | IKE | 20G | 1.6s | 65.5 | | SERAC | 49G | 3.6s | 76.4 | | **UniKE** | 18G | 5.0s | **95.2** |   **Table 10:** Editing time cost and performance with/without encoders for UniKE. The time refers to the average editing or inference time for one sample. Gen is the average result of T-Generality and M-Generality; while Loc is the average result of T-Locality and M-Locality. | Method | GPU Memory | Editing time | Inference time | Rel. | Gen. | Loc. | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | w/o encoders | 17.7GB | 4.92s | 0.212s | 96.2 | 91.2 | 90.3 | | UniKE | 17.8GB | 5.04s | 0.217s | **97.4** | **94.6** | **93.5** |   **Table corresponding to Figure 1 in Rebuttal PDF:** Editing Performance on Different Value of $\beta$. Generality is the average result of T-Generality and M-Generality; while Locality is the average result of T-Locality and M-Locality. | $\beta$ | 0.0 | 0.4 | 0.8 | 1.0 | 1.2 | 1.6 | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | Rel. | 97.0 | 97.7 | 97.8 | 98.0 | 97.5 | 97.9 | | Gen. | 91.7 | 93.3 | 95.0 | 95.1 | 94.8 | 94.7 | | Loc. | 91.6 | 93.0 | 93.6 | 93.8 | 93.2 | 93.5 |   We hope we have effectively addressed your concerns. Discussions are always open. Thank you once again for your time and insightful comments!

Reviewer V1xr9/10 · confidence 5/52024-07-07

Summary

This paper proposes UniKE, a novel multimodal editing method that establishes a unified perspective for intrinsic knowledge editing and external knowledge resorting. On this basis, the authors combine both types of knowledge editing methods, executing them in the latent space with a unified paradigm. Furthermore, this paper proposes to disentangle the knowledge representations into the semantic and truthfulness spaces, effectively enhancing the collaboration between intrinsic knowledge and external knowledge resorting. Extensive experimental results show that UniKE achieves promising results under various settings, ensuring that the post-edit MLLM maintains excellent reliability, generality, and locality.

Strengths

(1) I think knowledge editing for MLLMs is a relatively new topic. Previously, a few studies merely adapted existing knowledge editing methods from the NLP field into multimodal domain. To the best of my knowledge, this paper is the first to conduct a detailed and systematic analysis of the strengths and weaknesses of existing methods when applied to editing multimodal LLMs. (2) The proposed method is very novel and effective. Previous efforts in knowledge editing show significant differences between intrinsic knowledge editing methods and external knowledge resorting methods. In this work, the authors ingeniously convert in-context editing into the format of feature shifting, achieving a unification of the editing paradigms that can operate simultaneously within the same transformer layer with synergistic correlation. I find this to be a very inspiring design. Moreover, the design of knowledge collaboration is closely integrated with this unified paradigm. (3) The experiments are very solid and thorough, clearly demonstrating that UniKE effectively addresses multimodal knowledge editing tasks under various setups. Meanwhile, the authors have also provided the implementation code for the experiments. (4) I commend the authors for conducting an extensive set of ablations and analyses, which are very helpful in understanding the impact of each component within UniKE. (5) Additionally, I believe that the method proposed by the authors is not only applicable to knowledge editing tasks. By converting in-context learning into the representation space and avoiding the need to increase the context window space, it better synergizes with parameter update learning. I consider this to have significant implications for further studies on how to construct more powerful MLLMs.

Weaknesses

(1) In the NLP community, some studies will discuss the resilience to overediting [1] of knowledge editing methods by adopting the contrastive knowledge assessment [2] (CKA). Unlike the locality property that measures whether LLMs forget previous knowledge, overediting can be understood as excessive generalized to seemingly similar but unrelated samples. Although there may be no current work on multimodal editing that discusses the phenomenon of overediting, I encourage authors to add relevant experiments for a straightforward comparison of the resilience to overediting among each method (UniKE, MEND, T-Patcher, and IKE). (2) A more challenging task of knowledge editing is counterfactual editing, where the edited answer $y$ to the question $x$ can sometimes be counterfactual to the real world. A typical counterfactual editing dataset in the NLP community is called COUNTERFACT [3], which more accurately reflects the true effectiveness of knowledge editing methods by avoiding the effects of LLMs knowing this knowledge before editing. I encourage authors to construct multimodal counterfactual editing datasets and conduct more experiments to verify whether UniKE performs better in counterfactual editing scenarios compared to MEND, T-Patcher and IKE. [1] Zheng, Ce, et al. "Can we edit factual knowledge by in-context learning?." arXiv preprint arXiv:2305.12740 (2023). [2] Dong, Qingxiu, et al. "Calibrating factual knowledge in pretrained language models." arXiv preprint arXiv:2210.03329 (2022). [3] Meng, Kevin, et al. "Locating and editing factual associations in GPT." Advances in Neural Information Processing Systems 35 (2022): 17359-17372.

Questions

See the weaknesses.

Rating

9

Confidence

5

Soundness

4

Presentation

4

Contribution

4

Limitations

The authors have adequately discussed the limitations and potential negative societal impact.

Reviewer V1xr2024-08-10

Thank you for your rebuttal response. I think that over-editing evaluation and counterfactual editing are critical tasks that can reflect whether a model truly possesses the capabilities of knowledge cognitive learning in knowledge editing scenarios. It's impressive to see that UniKE performs well on these two challenging tasks. I consider UniKE to be a strong contribution, and I will raise my score to 9.

Authorsrebuttal2024-08-10

Thank you for raising the score. We deeply appreciate your recognition of our work and the constructive advice you've offered!

Reviewer w8aR6/10 · confidence 3/52024-07-07

Summary

UniKE is a unified framework for multi-modal knowledge editing that includes three main aspects: 1.Knowledge Separation: UniKE divides knowledge into factuality and semantic spaces to manage and coordinate different types of knowledge more effectively. 2.Knowledge Collaboration: In the factuality space, UniKE standardizes new knowledge based on a learned factuality distribution, enhancing reliability and generality. In the semantic space, it adjusts the integration of external knowledge based on relevance to the input samples, maintaining locality. 3.Multi-step Editing: UniKE supports single-step, multi-step sequence, and cross-task editing while maintaining high reliability, generality, and locality. Through these innovations, UniKE significantly improves performance in multi-modal knowledge editing tasks.

Strengths

1.The paper introduces UniKE, a novel framework that seamlessly integrates intrinsic and external knowledge editing, enhancing the model’s ability to handle complex multimodal information effectively. The motivation behind the work is clear, and the article is well structured, guiding the reader through the innovative approach and its benefits. 2.By disentangling knowledge into semantic and truthfulness spaces, the proposed method ensures robust collaboration between different types of knowledge, significantly improving the model's reliability, generality, and locality. The method's effectiveness is demonstrated through comprehensive experiments across various settings, consistently outperforming existing state-of-the-art methods. 3.UniKE's design allows for application across different multimodal models and editing scenarios, making it a versatile and robust solution for enhancing multimodal language models.

Weaknesses

1.The paper does compare UniKE with other intrinsic knowledge editing and external knowledge resorting methods and highlights its efficiency in several aspects. However, it lacks a detailed discussion on computational speed and resource utilization. 2.The reliance on fine-tuning for knowledge updates could lead to overfitting, especially if the model is frequently updated. This could impact the model’s generalization abilities, making it less effective in unforeseen or less frequent scenarios. 3.The paper lacks detailed explanations for the evaluation metrics in Line 240. In Table 2, across multiple experiments, it is unclear why there is little difference compared to the SERAC method in the T-Loc metric, but a significant difference in the M-Loc metric. 4.The paper lacks detailed information about the parameter "n" used in the contrastive learning formula, making it difficult to understand its impact on model performance, and does not discuss how different values of "n" might influence the results and effectiveness of the method.

Questions

Please address the comments in the weaknesses section.

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

The limitations of the article have been discussed by the authors

Authorsrebuttal2024-08-01

Dear Reviewer:  Thank you very much for your kind feedback and valuable comments. I have carefully read your comments. However, it appears that the content from the "Strengths" section may have been inadvertently pasted into the "Weaknesses" section. As a result, the weaknesses you mentioned still seem to describe the strengths of our work. This makes it challenging to identify and address the specific concerns you may have intended to highlight.   Could you please review your comments once more and provide additional clarification on the weaknesses you observed? Your insights are crucial for improving our paper, and I am keen to address all your concerns effectively.   Thank you again for your time and valuable feedback!

Reviewer w8aR2024-08-01

Clarification on Weakness

I apologize for the mistake in my previous feedback. I have reviewed my comments and provided the correct feedback on the weaknesses of your paper. I hope this clarifies my observations and helps you improve your paper.

Authorsrebuttal2024-08-07

Table 7 and Figure 2 in the Rebuttal PDF

To facilitate your reading, we also paste our additional experimental results here, **which are consistent with the tables / figures in the rebuttal PDF**.   **Table 7:** The computational speed, resource utilization and performance of each method. We use the average results of five metrics (Reliability, T-Generality, M-Generality, T-Locality, and M-Locality) as the performance measure. | Method | GPU memory | Editing time for each sample | Avg performance | |:----------|:----------:|:----------------------------:|:---------------:| | FT | 22G | 6.1s | 60.6 | | KE | 24G | 5.8s | 74.7 | | T-Patcher | 18G | 4.7s | 80.4 | | MEND | 36G | 5.2s | 90.3 | | IKE | 20G | 1.6s | 65.5 | | SERAC | 49G | 3.6s | 76.4 | | **UniKE** | 18G | 5.0s | **95.2** |   **Table corresponding to Figure 2 in Rebuttal PDF:** Editing performance on different value of $n$. Generality is the average result of T-Generality and M-Generality; while Locality is the average result of T-Locality and M-Locality. | $n$ | 0 | 4000 | 8000 | 12000 | 16000 | | :--- | :---: | :---: | :---: | :---: | :---: | | Rel. | 96.2 | 97.0 | 97.8 | 98.1 | 98.0 | | Gen. | 91.2 | 93.3 | 94.5 | 94.9 | 95.1 | | Loc. | 90.3 | 92.2 | 93.3 | 93.7 | 93.8 |   We hope we have addressed all of your concerns. Discussions are always open. Thank you once again for your constructive suggestions!

Reviewer mp357/10 · confidence 4/52024-07-13

Summary

This paper proposes UniKE, a novel multimodal editing method that establishes a unified perspective and paradigm for intrinsic knowledge editing and external knowledge resorting. Within such a unified framework, the authors further promote knowledge collaboration by disentangling the knowledge representations into the semantic and truthfulness spaces. Extensive experiments validate the effectiveness of UniKE, which ensures that the post-edit MLLM simultaneously maintains excellent reliability, generality, and locality.

Strengths

1. The paper is well-written and easy to follow and the motivation is clear and reasonable. 2. The paper gives a unified perspective on the intrinsic refinement of knowledge and the strategic reorganization of external knowledge, which can enhance subsequent research endeavors. 3. The experimental settings (one-step editing, sequential editing, cross-task editing) are fair.

Weaknesses

1. The authors only edit Qformer style MLLMs (MiniGPT4, BLIP2), more foundation models should be compared. e.g., LLava. Besides, the improvement on BLIP2 (Tab.1) seems incremental. 2. More recent model editing baselines should be compared to prove the effectiveness of the proposed methods. 3. The paper focuses on MLLM editing, what are the main differences between MLLM editing and LLM editing? What are the specific designs for multimodal models? I notice that some compared methods are proposed for LLM editing. Can the proposed methods be used on LLM editing? The authors should give some explanations and experimental results if possible.

Questions

Please refer to the weakness below.

Rating

7

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

The paper briefly mentioned limitations.

Authorsrebuttal2024-08-07

Tables 1-6 in the Rebuttal PDF

To facilitate your reading, we also paste our additional experimental results here, **which are consistent with the tables in the rebuttal PDF**.   **Table 1**: Performance of one-step editing on LLaVA1.5 (We average the results on E-IC and E-VQA). | Method | Rel. | T-Gen. | M-Gen. | T-Loc. | M-Loc. | **Avg** | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | FT | 67.4 | 57.9 | 54.8 | 67.1 | 63.2 | 62.1 | | KE | 72.7 | 65.4 | 55.3 | 82.2 | 67.3 | 68.4 | | T-Patcher | 89.0 | 76.5 | 69.0 | 81.2 | 81.3 | 79.6 | | MEND | 95.4 | 92.6 | 78.3 | 83.5 | 80.3 | 86.0 | | IKE | 93.4 | 85.1 | 77.9 | 27.7 | 3.2 | 57.5 | | SERAC | **96.3** | 92.4 | 85.5 | 83.3 | 7.7 | 73.0 | | **UniKE** | 95.7 | **92.8** | **88.4** | **86.0** | **86.4** | **89.9** |   **Table 2**: Performance of cross-task editing on LLaVA1.5. | Method | Rel. | T-Gen. | M-Gen. | T-Loc. | M-Loc. | Avg | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | FT | 66.9 | 57.2 | 51.0 | 62.3 | 54.4 | 56.4 | | KE | 69.8 | 60.3 | 52.5 | 79.3 | 62.1 | 64.8 | | T-Patcher | 81.2 | 60.0 | 57.4 | 77.4 | 76.5 | 70.5 | | MEND | 90.4 | 84.3 | 73.8 | 78.6 | 76.0 | 80.6 | | SERAC | 92.1 | 88.3 | 82.5 | 82.2 | 1.2 | 69.3 | | **UniKE** | **92.2** | **89.2** | **83.8** | **82.7** | **84.7** | **86.5** |   **Table 3**: Performance of cross-task editing on BLIP-2 OPT. | Method | Rel. | T-Gen. | M-Gen. | T-Loc. | M-Loc. | Avg | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | FT | 57.2 | 49.9 | 43.2 | 52.2 | 49.7 | 50.4 | | KE | 64.2 | 60.1 | 57.2 | 83.5 | 59.2 | 64.8 | | T-Patcher | 83.1 | 69.7 | 65.9 | 84.5 | 77.9 | 76.2 | | MEND | 84.2 | 82.4 | 74.9 | 91.4 | 80.2 | 82.6 | | SERAC | 90.8 | 89.2 | 84.1 | 90.0 | 1.7 | 71.2 | | **UniKE** | **91.1** | **90.6** | **88.2** | **91.7** | **85.6** | **89.4** |   **Table 4**: Comparison with recent baselines for one-step editing on MiniGPT-4 (We average the results on E-IC and E-VQA). | Method | Rel. | T-Gen. | M-Gen. | T-Loc. | M-Loc. | Avg | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | MENMET | 97.0 | 96.2 | 82.4 | 98.0 | 85.2 | 91.8 | | WISE | 97.2 | 92.2 | 88.7 | 98.4 | **88.2** | 93.0 | | **UniKE** | **97.4** | **96.6** | **92.6** | **98.8** | 88.1 | **94.7** |   **Table 5**: Comparison with recent baselines for cross-task editing on MiniGPT-4. | Method | Rel. | T-Gen. | M-Gen. | T-Loc. | M-Loc. | **Avg** | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | | MENMET | 88.4 | 87.2 | 78.0 | 86.1 | 82.5 | 84.4 | | WISE | 89.2 | 85.4 | 83.4 | 87.8 | 83.6 | 85.9 | | **UniKE** | **90.7** | **88.2** | **86.8** | **90.4** | **83.8** | **88.0** |   **Table 6**: Performance of each method on LLM editing task (ZsRE) for one-step editing and 200-step editing. | | ONE-STEP EDITING | | ||200-STEP EDITING | | | | | :--- | :---:| :---: | :---: | :---: | :---: | :---: | :---: | :---: | | **Method** |**Rel.** | **Gen.** | **Loc.** | **Avg.** | **Rel.** | **Gen.** | **Loc.** | **Avg.** | | FT | 77.4 | 76.7 | 35.5 | 63.2 | 19.5 | 17.2 | 5.4 | 14.0 | KE | 20.6 | 20.1 | 81.3 | 40.7 | 7.6 | 6.8 | 65.8 | 26.7 | T-Patcher | 97.1 | 95.0 | 96.2 | 96.1 | 81.4 | 70.6 | 91.3 | 81.1 | MEND | 98.2 | 97.7 | 97.4 | 97.8 | 0.0 | 0.0 | 0.0 | 0.0 | | In-Context Editing | 99.4 | 97.2 | 59.2 | 85.3 | - | - | - | - | | SERAC | 88.6 | 87.9 | 99.9 | 92.1 | 24.0 | 23.2 | **96.4** | 47.9 | MENMET | 99.1 | 86.8 | 97.4 | 94.4 | 82.9 | 73.6 | 90.2 | 82.2 | WISE | 98.8 | 96.3 | **99.9** | 98.3 | 82.8 | 74.7 | 95.5 | 84.3 | **UniKE** | **99.5** | **97.9** | 99.6 | **99.0** | **85.1** | **76.7** | 95.6 | **85.8** |   These experiments will be integrated into the main body or the appendix of our paper. We hope we have addressed all of your concerns. Discussions are always open. Thank you again for your time and valuable suggestions!

Reviewer mp352024-08-09

Official Comment

Thanks for your response. The Rebuttal addresses most of my concerns. I will raise my score to 7.

Authorsrebuttal2024-08-09

Thank you for raising the score. Your valuable suggestions greatly contribute to the quality of our manuscript. Thank you again for your precious time and valuable suggestions!

Reviewer 4G2a2024-08-09

The rebuttal have addressed most of my concerns. I will raise my score to 6.

Authorsrebuttal2024-08-10

Thank you for raising the score. Your valuable suggestions greatly contribute to the quality of our paper. And we are deeply grateful for your insightful suggestions on our work!

Program Chairsdecision2024-09-25

Decision

Accept (spotlight)

© 2026 NYSGPT2525 LLC