Out-of-Distribution Generalization via Invariant Trajectories for Multimodal Large Language Model Editing
Jiajie Su, Haoyuan Wang, Xiaohua Feng, Yunshan Ma, Xiaobo Xia, Yuyuan Li, Xiaolin Zheng, Jianmao Xiao, Chaochao Chen
TL;DR
This work reframes multimodal LLM editing as an out-of-distribution generalization problem, targeting invariant causal trajectories across cross-modal prompts. It introduces ODEdit, a plug-and-play framework that combines a tripartite OOD risk (reliability, locality, generality) with Edit Trajectory Invariant Learning (ETIL) and a total variation penalty to stabilize edit trajectories. The approach leverages IRM principles and a TV-$\ell_1$ regularizer to achieve robust, cross-environment knowledge edits across unimodal and multimodal backbones, validated on MMEdit benchmarks with consistent gains in reliability, locality, and generality. Empirical results show improved one-step and long-term editing performance and robustness to semantic-neighboring and out-of-distribution prompts, underscoring the method's practical potential for reliable MLLM knowledge updates.
Abstract
Knowledge editing emerges as a crucial technique for efficiently correcting incorrect or outdated knowledge in large language models (LLM). Existing editing methods for unimodal LLM rely on a rigid parameter-to-output mapping, which causes causal-underfit and causal-overfit in cascaded reasoning for Multimodal LLM (MLLM). In this paper, we reformulate MLLM editing as an out-of-distribution (OOD) generalization problem, where the goal is to discern semantic shift with factual shift and thus achieve robust editing among diverse cross-modal prompting. The key challenge of this OOD problem lies in identifying invariant causal trajectories that generalize accurately while suppressing spurious correlations. To address it, we propose ODEdit, a plug-and-play invariant learning based framework that optimizes the tripartite OOD risk objective to simultaneously enhance editing reliability, locality, and generality.We further introduce an edit trajectory invariant learning method, which integrates a total variation penalty into the risk minimization objective to stabilize edit trajectories against environmental variations. Theoretical analysis and extensive experiments demonstrate the effectiveness of ODEdit.
