Generalizable Model Editing Could Be More Than Direct Generalization
Organizations: University of Cambridge · NLPR, MAIS, Institute of Automation, Chinese Academy of Sciences · School of Advanced Interdisciplinary Sciences, University of the Chinese Academy of Sciences · HUST ·
Abstract
A central desideratum in model editing is generalization to complex tasks, which prior work formalizes under a direct generalization paradigm: treating and evaluating LLM behavior as an input-output mapping and expecting a factual update to alter outputs on reasoning tasks. Yet despite substantial empirical effort, the field consensus remains that such generalization is highly challenging and elusive. However, when we deploy the latest models in an in-the-wild chatbot-user setting, we surprisingly find that even classical editing methods exhibit remarkably fluent generalization behavior. This motivates us to revisit the obstacles to generalization and the limitations of the prevailing paradigm. We find that direct generalization is fundamentally constrained both theoretically and practically: theoretically, it suffers from an identifiability issue; and practically, existing approaches attempting to circumvent this are further hindered by the ambiguity of their constructed biases and by vulnerability to being overridden by other factors such as optimization dynamics. We instead identify compositional generalization, empowered by the increasingly strong reasoning and composition abilities of modern LLMs, as a theoretically grounded and empirically validated alternative. We validate this phenomenon across multiple models and editing methods, showing that such generalization behavior is widespread. Overall, we argue that generalizable model editing could be more than direct generalization, and call for a paradigm shift toward more generalizable and practically deployable knowledge update techniques.
Figures & tables
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Type | Total |
|---|---|
| Edit Requests | 1489 |
| Efficacy Prompts | 1489 |
| Paraphrase Prompts | 2062 |
| Subject Specificity Prompts | 458 |
| Relation Specificity Prompts | 10310 |
| Multihop Prompts | 822 |
| Task | Value |
|---|---|
| Edit Request | {Spike Hughes} originates from London Philadelphia |
| Efficacy | {Spike Hughes} originates from (answer: Philadelphia) |
| Paraphrase | Spike Hughes is native to (answer: Philadelphia) |
| Subject Specificity | The profession of Spike Hughes is (answer: musician) |
| Relation Specificity | Max Mosley originates from (answer: London) |
| Multi-hop Reasoning | What famous food is associated with the city where Spike Hughes originates from? (answer: Cheesesteaks) |
| Dimension | LLM Judge Avg. | Human Rater Avg. | Pearson | Pearson -value | Spearman | Spearman -value |
|---|---|---|---|---|---|---|
| Factuality | 3.21 | 3.17 | 0.884 | 0.855 | ||
| Fluency | 4.34 | 4.39 | 0.861 | 0.753 |
Model Editing
Model editing changes targeted facts or behaviors in trained models while aiming to preserve their other capabilities.
See all 63 papers