mlsanityData to 7 Oct 2026

Robust and Scalable Model Editing for Large Language Models

arXiv 2403.17431 ↗First posted 26 Mar 2024cs.CL cs.LGcited by 2

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  9. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  11. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  12. 2022Locating and Editing Factual Associations in GPTcited by 2,609
37 more
  1. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  2. 2019Language Models as Knowledge Bases?cited by 1,922
  3. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  4. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  5. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  6. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
  7. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  8. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
  9. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  10. 2023In-Context Retrieval-Augmented Language Modelscited by 694
  11. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
  12. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  13. 2021Editing Factual Knowledge in Language Modelscited by 548
  14. 2022Memory-Based Model Editing at Scalecited by 443
  15. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
  16. 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Contextcited by 364
  17. 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
  18. 2021Time-Aware Language Models as Temporal Knowledge Basescited by 290
  19. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
  20. 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
  21. 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
  22. 2022Prompting GPT-3 To Be Reliablecited by 258
  23. 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
  24. 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 198
  25. 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
  26. 2020Generation-Augmented Retrieval for Open-domain Question Answeringcited by 186
  27. 2022Large Language Models with Controllable Working Memorycited by 169
  28. 2020Editable Neural Networkscited by 154
  29. 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
  30. 2015Yara Parser: A Fast and Accurate Dependency Parsercited by 110
  31. 2021Decontextualization: Making Sentences Stand-Alonecited by 101
  32. 2018Transforming Question Answering Datasets Into Natural Language Inference Datasetscited by 99
  33. 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 92
  34. 2020How do Decisions Emerge across Layers in Neural Models? Interpretation with Differentiable Maskingcited by 63
  35. 2021Can NLI Models Verify QA Systems' Predictions?cited by 46
  36. 2021MixQG: Neural Question Generation with Mixed Answer Typescited by 28
  37. 2021CrossAug: A Contrastive Data Augmentation Method for Debiasing Fact Verification Modelscited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.