Robust and Scalable Model Editing for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) can make predictions using parametric knowledge--knowledge encoded in the model weights--or contextual knowledge--knowledge presented in the context. In many scenarios, a desirable behavior is that LLMs give precedence to contextual knowledge when it conflicts with the parametric knowledge, and fall back to using their parametric knowledge when the context is irrelevant. This enables updating and correcting the model's knowledge by in-context editing instead of retraining. Previous works have shown that LLMs are inclined to ignore contextual knowledge and fail to reliably fall back to parametric knowledge when presented with irrelevant context. In this work, we discover that, with proper prompting methods, instruction-finetuned LLMs can be highly controllable by contextual knowledge and robust to irrelevant context. Utilizing this feature, we propose EREN (Edit models by REading Notes) to improve the scalability and robustness of LLM editing. To better evaluate the robustness of model editors, we collect a new dataset, that contains irrelevant questions that are more challenging than the ones in existing datasets. Empirical results show that our method outperforms current state-of-the-art methods by a large margin. Unlike existing techniques, it can integrate knowledge from multiple edits, and correctly respond to syntactically similar but semantically unrelated inputs (and vice versa). The source code can be found at https://github.com/thunlp/EREN.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 49 of its 76 references that are in the map. First posted on arXiv 26 Mar 2024.
Builds on
49 of 76 references.
References · 49
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
37 more
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2023In-Context Retrieval-Augmented Language Modelscited by 694
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2022Memory-Based Model Editing at Scalecited by 443
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Contextcited by 364
- 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 290
- 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 198
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2020Generation-Augmented Retrieval for Open-domain Question Answeringcited by 186
- 2022Large Language Models with Controllable Working Memorycited by 169
- 2020Editable Neural Networkscited by 154
- 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
- 2015Yara Parser: A Fast and Accurate Dependency Parsercited by 110
- 2021Decontextualization: Making Sentences Stand-Alonecited by 101
- 2018Transforming Question Answering Datasets Into Natural Language Inference Datasetscited by 99
- 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 92
- 2020How do Decisions Emerge across Layers in Neural Models? Interpretation with Differentiable Maskingcited by 63
- 2021Can NLI Models Verify QA Systems' Predictions?cited by 46
- 2021MixQG: Neural Question Generation with Mixed Answer Typescited by 28
- 2021CrossAug: A Contrastive Data Augmentation Method for Debiasing Fact Verification Modelscited by 23
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.
- 2026Implicit Reasoning Steering via Concept Chaining15 Jul 2026
- 2024In-Context Editing: Learning Knowledge from Self-Induced Distributions17 Jun 2024