Modifying Memories in Transformer Models
Not on the map. Why?
Abstract (arXiv)
Large Transformer models have achieved impressive performance in many natural language tasks. In particular, Transformer based language models have been shown to have great capabilities in encoding factual knowledge in their vast amount of parameters. While the tasks of improving the memorization and generalization of Transformers have been widely studied, it is not well known how to make transformers forget specific old facts and memorize new ones. In this paper, we propose a new task of explicitly modifying specific factual knowledge in Transformer models while ensuring the model performance does not degrade on the unmodified facts. This task is useful in many scenarios, such as updating stale knowledge, protecting privacy, and eliminating unintended biases stored in the models. We benchmarked several approaches that provide natural baseline performances on this task. This leads to the discovery of key components of a Transformer model that are especially effective for knowledge modifications. The work also provides insights into the role that different training phases (such as pretraining and fine-tuning) play towards memorization and knowledge modification.
Key facts. Cited by 222 papers in the map (data through 13 Oct 2026). First posted on arXiv 1 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 19; 2023: 39; 2024: 78; 2025: 55; 2026: 24.
222 papers.
Sort:
By area:
- 2022Locating and Editing Factual Associations in GPTcited by 2,650
- 2022Editing Models with Task Arithmeticcited by 1,101
- 2022Mass-Editing Memory in a Transformercited by 990
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 841
- 2021Editing Factual Knowledge in Language Modelscited by 551
- 2021Fast Model Editing at Scalecited by 493
- 2022Memory-Based Model Editing at Scalecited by 446
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 404
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 370
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 297
- 2022Post-hoc Concept Bottleneck Modelscited by 292
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 291
38 more
- 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 270
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 240
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 232
- 2024Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?cited by 229
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 197
- 2023Knowledge Editing for Large Language Models: A Surveycited by 193
- 2021Towards Continual Knowledge Learning of Language Modelscited by 173
- 2022Large Language Models with Controllable Working Memorycited by 169
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 158
- 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 157
- 2022A Review on Language Models as Knowledge Basescited by 156
- 2023Taken out of context: On measuring situational awareness in LLMscited by 137
- 2023Editing Implicit Assumptions in Text-to-Image Diffusion Modelscited by 129
- 2022DisentQA: Disentangling Parametric and Contextual Knowledge with Counterfactual Question Answeringcited by 94
- 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 92
- 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 91
- 2023Red teaming ChatGPT via Jailbreaking: Bias, Robustness, Reliability and Toxicitycited by 88
- 2021Do Language Models Have Beliefs? Methods for Detecting, Updating, and Visualizing Model Beliefscited by 79
- 2023Context-faithful Prompting for Large Language Modelscited by 79
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 79
- 2023DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Modelscited by 77
- 2025Self-Adapting Language Modelscited by 77
- 2025AnyEdit: Edit Any Knowledge Encoded in Language Modelscited by 76
- 2023Can Neural Network Memorization Be Localized?cited by 68
- 2023Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledgecited by 67
- 2024SelfIE: Self-Interpretation of Large Language Model Embeddingscited by 65
- 2023Parameter Efficient Multi-task Model Fusion with Partial Linearizationcited by 64
- 2023Detecting Edit Failures In Large Language Models: An Improved Specificity Benchmarkcited by 62
- 2024Synthetic continued pretrainingcited by 58
- 2022Entity Cloze By Date: What LMs Know About Unseen Entitiescited by 55
- 2024Larimar: Large Language Models with Episodic Memory Controlcited by 53
- 2024Context-DPO: Aligning Language Models for Context-Faithfulnesscited by 50
- 2023Learning from models beyond fine-tuningcited by 48
- 2024Understanding Information Storage and Transfer in Multi-modal Large Language Modelscited by 48
- 2023Can Language Models be Instructed to Protect Personal Information?cited by 46
- 2024Knowledge Graph Enhanced Large Language Model Editingcited by 39
- 2024IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neuronscited by 37
50 most cited of 222 All 222 (JSON)
- 2026EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory7 Oct 2026
- 2026Generalizable Lifelong Model Editing via Preference Optimization29 Sep 2026
- 2026Popular Knowledge Propagates More Errors in LLM Knowledge Updating8 Sep 2026
- 2026Selective Knowledge Edit Reversal via Gated Singular Vector Shrinkage2 Sep 2026
- 2026Leveraging Association Context Retrieval in Knowledge Edit- ing to Build White-Box Attacks on LLMs18 Aug 2026
- 2026Can a Language Model Learn Facts Continually in Its Weights?13 Jul 2026
- 2026Exposing the Illusion of Erasure in Knowledge Editing for LLMs22 Jun 2026
- 2026When to Write and When to Suppress: Route-Specialized Dual Adapters for Memory-Assisted Knowledge Editing12 Jun 2026
- 2026Benchmarking Knowledge Editing using Logical Rules9 Jun 2026
- 2026Knowledge Editing for Masked Diffusion Language Models2 Jun 2026
- 2026Patcher: Post-Hoc Patching of Backdoored Large Language Models2 Jun 2026
- 2026Towards Localized and Disentangled Knowledge Editing for Multimodal Large Language Models28 May 2026
38 more
- 2026ZeroUnlearn: Few-Shot Knowledge Unlearning in Large Language Models16 May 2026
- 2026Scalable Knowledge Editing for Mixture-of-Experts LLMs via Tensor-Structured Updates15 May 2026
- 2026EVA: Editing for Versatile Alignment against Jailbreaks14 May 2026
- 2026SCAN: Sparse Circuit Anchor Interpretable Neuron for Lifelong Knowledge Editing16 Mar 2026
- 2026Uncovering Context Reliance in Unstructured Knowledge Editing22 Feb 2026
- 2026CrispEdit: Low-Curvature Projections for Scalable Non-Destructive LLM Editing17 Feb 2026
- 2026MoEEdit: Efficient and Routing-Stable Knowledge Editing for Mixture-of-Experts LLMs11 Feb 2026
- 2026Edit Knowledge, Not Just Facts via Multi-Step Reasoning over Background Stories2 Feb 2026
- 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Models1 Feb 2026
- 2026Norm Anchors Make Model Edits Last30 Jan 2026
- 2026Beyond Hard Writes and Rigid Preservation: Soft Recursive Least-Squares for Lifelong LLM Editing22 Jan 2026
- 2026FG-OrIU: Towards Better Forgetting via Feature-Gradient Orthogonality for Incremental Unlearning20 Jan 2026
- 2025Making Large Language Models Efficient Dense Retrievers23 Dec 2025
- 2025EtCon: Edit-then-Consolidate for Reliable Knowledge Editing4 Dec 2025
- 2025Hybrid-DMKG: A Hybrid Reasoning Framework over Dynamic Multimodal Knowledge Graphs for Multimodal Multihop QA with Knowledge Editing30 Nov 2025
- 2025Representation Interventions Enable Lifelong Knowledge Memory Control in LLMs25 Nov 2025
- 2025Reason-KE++: Aligning the Process, Not Just the Outcome, for Faithful LLM Knowledge Editing16 Nov 2025
- 2025Understanding Robustness of Model Editing in Code LLMs5 Nov 2025
- 2025Edit Less, Achieve More: Dynamic Sparse Neuron Masking for Lifelong Knowledge Editing in LLMs25 Oct 2025
- 2025KnowledgeSmith: Uncovering Knowledge Updating in LLMs with Model Editing and Unlearning1 Oct 2025
- 2025Energy-Regularized Sequential Model Editing on Hyperspheres1 Oct 2025
- 2025SUIT: Knowledge Editing with Subspace-Aware Key-Value Mappings29 Sep 2025
- 2025Fine-tuning Done Right in Model Editing26 Sep 2025
- 2025Bilinear representation mitigates reversal curse and enables consistent model editing26 Sep 2025
- 2025Consistency-Aware Parameter-Preserving Knowledge Editing Framework for Multi-Hop Question Answering23 Sep 2025
- 2025Diagnosing Model Editing via Knowledge Spectrum22 Sep 2025
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QA1 Sep 2025
- 2025Comparing Knowledge Injection Methods for LLMs in a Low-Resource Regime8 Aug 2025
- 2025EMSEdit: Efficient Multi-Step Meta-Learning-based Model Editing6 Aug 2025
- 2025Potemkin Understanding in Large Language Models26 Jun 2025
- 2025Can Gradient Descent Simulate Prompting?26 Jun 2025
- 2025Dynamic Weight Grafting: Localizing Finetuned Factual Knowledge in Transformers25 Jun 2025
- 2025Model Editing as a Double-Edged Sword: Steering Agent Ethical Behavior Toward Beneficence or Harm25 Jun 2025
- 2025Self-Adapting Language Models12 Jun 2025
- 2025Beyond Memorization: A Rigorous Evaluation Framework for Medical Knowledge Editing4 Jun 2025
- 2025ScEdit: Script-based Assessment of Knowledge Editing29 May 2025
- 2025REACT: Representation Extraction And Controllable Tuning to Overcome Overfitting in LLM Knowledge Editing25 May 2025
- 2025Disentangling Knowledge Representations for Large Language Model Editing24 May 2025
50 newest of 222 All 222 (JSON)
- 2023Red teaming ChatGPT via Jailbreaking: Bias, Robustness, Reliability and Toxicitycited by 88
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 79
- 2024Can Editing LLMs Inject Harm?cited by 22
- 2024Large Scale Knowledge Washingcited by 16
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Spacecited by 12
- 2024Mitigating Memorization In Language Modelscited by 12
- 2025CoME: An Unlearning-based Approach to Conflict-free Model Editingcited by 12
- 2025DELMAN: Dynamic Defense Against Large Language Model Jailbreaking with Model Editingcited by 10
- 2024Mitigating Social Biases in Language Models through Unlearningcited by 7
- 2026FG-OrIU: Towards Better Forgetting via Feature-Gradient Orthogonality for Incremental Unlearningcited by 6
- 2024Mudjacking: Patching Backdoor Vulnerabilities in Foundation Modelscited by 4
- 2025KnowledgeSmith: Uncovering Knowledge Updating in LLMs with Model Editing and Unlearningcited by 3
12 most cited of 14 All 14 (JSON)
- 2026ZeroUnlearn: Few-Shot Knowledge Unlearning in Large Language Models16 May 2026
- 2026FG-OrIU: Towards Better Forgetting via Feature-Gradient Orthogonality for Incremental Unlearning20 Jan 2026
- 2025KnowledgeSmith: Uncovering Knowledge Updating in LLMs with Model Editing and Unlearning1 Oct 2025
- 2025CoME: An Unlearning-based Approach to Conflict-free Model Editing20 Feb 2025
- 2025DELMAN: Dynamic Defense Against Large Language Model Jailbreaking with Model Editing17 Feb 2025
- 2024Mitigating Memorization In Language Models3 Oct 2024
- 2024Can Editing LLMs Inject Harm?29 Jul 2024
- 2024Purification Of Contaminated Convolutional Neural Networks Via Robust Recovery: An Approach with Theoretical Guarantee in One-Hidden-Layer Case4 Jul 2024
- 2024Mitigating Social Biases in Language Models through Unlearning19 Jun 2024
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Space13 Jun 2024
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing28 May 2024
- 2024Large Scale Knowledge Washing26 May 2024
12 newest of 14 All 14 (JSON)
- 2023Knowledge Editing for Large Language Models: A Surveycited by 193
- 2024DeepEdit: Knowledge Editing as Decoding with Constraintscited by 33
- 2023PokeMQA: Programmable knowledge editing for Multi-hop Question Answeringcited by 23
- 2024Enhancing Multi-hop Reasoning through Knowledge Erasure in Large Language Model Editingcited by 9
- 2025Exploiting Edited Large Language Models as General Scientific Optimizerscited by 7
- 2024Relation Also Knows: Rethinking the Recall and Editing of Factual Associations in Auto-Regressive Transformer Language Modelscited by 4
- 2025Rethinking Residual Distribution in Locate-then-Edit Model Editingcited by 4
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QAcited by 4
- 2025Hybrid-DMKG: A Hybrid Reasoning Framework over Dynamic Multimodal Knowledge Graphs for Multimodal Multihop QA with Knowledge Editingcited by 2
- 2025Reason-KE++: Aligning the Process, Not Just the Outcome, for Faithful LLM Knowledge Editingcited by 1
- 2026Edit Knowledge, Not Just Facts via Multi-Step Reasoning over Background Storiescited by 0
- 2026Edit Knowledge, Not Just Facts via Multi-Step Reasoning over Background Stories2 Feb 2026
- 2025Hybrid-DMKG: A Hybrid Reasoning Framework over Dynamic Multimodal Knowledge Graphs for Multimodal Multihop QA with Knowledge Editing30 Nov 2025
- 2025Reason-KE++: Aligning the Process, Not Just the Outcome, for Faithful LLM Knowledge Editing16 Nov 2025
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QA1 Sep 2025
- 2025Exploiting Edited Large Language Models as General Scientific Optimizers8 Mar 2025
- 2025Rethinking Residual Distribution in Locate-then-Edit Model Editing6 Feb 2025
- 2024Relation Also Knows: Rethinking the Recall and Editing of Factual Associations in Auto-Regressive Transformer Language Models27 Aug 2024
- 2024Enhancing Multi-hop Reasoning through Knowledge Erasure in Large Language Model Editing22 Aug 2024
- 2024DeepEdit: Knowledge Editing as Decoding with Constraints19 Jan 2024
- 2023PokeMQA: Programmable knowledge editing for Multi-hop Question Answering23 Dec 2023
- 2023Knowledge Editing for Large Language Models: A Survey24 Oct 2023
- 2024Understanding Information Storage and Transfer in Multi-modal Large Language Modelscited by 48
- 2023Can Language Models be Instructed to Protect Personal Information?cited by 46
- 2024MIKE: A New Benchmark for Fine-grained Multimodal Entity Knowledge Editingcited by 25
- 2024MC-MKE: A Fine-Grained Multimodal Knowledge Editing Benchmark Emphasizing Modality Consistencycited by 22
- 2025Unlearning Sensitive Information in Multimodal LLMs: Benchmark and Attack-Defense Evaluationcited by 11
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Modelscited by 9
- 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Modelscited by 2
- 2026EVA: Editing for Versatile Alignment against Jailbreakscited by 0
- 2026Towards Localized and Disentangled Knowledge Editing for Multimodal Large Language Modelscited by 0
- 2026Towards Localized and Disentangled Knowledge Editing for Multimodal Large Language Models28 May 2026
- 2026EVA: Editing for Versatile Alignment against Jailbreaks14 May 2026
- 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Models1 Feb 2026
- 2025Unlearning Sensitive Information in Multimodal LLMs: Benchmark and Attack-Defense Evaluation1 May 2025
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Models19 Nov 2024
- 2024MC-MKE: A Fine-Grained Multimodal Knowledge Editing Benchmark Emphasizing Modality Consistency19 Jun 2024
- 2024Understanding Information Storage and Transfer in Multi-modal Large Language Models6 Jun 2024
- 2024MIKE: A New Benchmark for Fine-grained Multimodal Entity Knowledge Editing18 Feb 2024
- 2023Can Language Models be Instructed to Protect Personal Information?3 Oct 2023
- 2024Context-DPO: Aligning Language Models for Context-Faithfulnesscited by 50
- 2026CrispEdit: Low-Curvature Projections for Scalable Non-Destructive LLM Editingcited by 5
- 2026Patcher: Post-Hoc Patching of Backdoored Large Language Modelscited by 2
- 2026Generalizable Lifelong Model Editing via Preference Optimizationcited by 0
- 2026Generalizable Lifelong Model Editing via Preference Optimization29 Sep 2026
- 2026Patcher: Post-Hoc Patching of Backdoored Large Language Models2 Jun 2026
- 2026CrispEdit: Low-Curvature Projections for Scalable Non-Destructive LLM Editing17 Feb 2026
- 2024Context-DPO: Aligning Language Models for Context-Faithfulness18 Dec 2024
- 2022Locating and Editing Factual Associations in GPTcited by 2,650
- 2022Editing Models with Task Arithmeticcited by 1,101
- 2022Mass-Editing Memory in a Transformercited by 990
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 841
- 2021Editing Factual Knowledge in Language Modelscited by 551
- 2021Fast Model Editing at Scalecited by 493
- 2022Memory-Based Model Editing at Scalecited by 446
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 404
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 370
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 297
- 2022Post-hoc Concept Bottleneck Modelscited by 292
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 291
12 most cited of 175 All 175 (JSON)
- 2026EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory7 Oct 2026
- 2026Popular Knowledge Propagates More Errors in LLM Knowledge Updating8 Sep 2026
- 2026Selective Knowledge Edit Reversal via Gated Singular Vector Shrinkage2 Sep 2026
- 2026Leveraging Association Context Retrieval in Knowledge Edit- ing to Build White-Box Attacks on LLMs18 Aug 2026
- 2026Can a Language Model Learn Facts Continually in Its Weights?13 Jul 2026
- 2026Exposing the Illusion of Erasure in Knowledge Editing for LLMs22 Jun 2026
- 2026When to Write and When to Suppress: Route-Specialized Dual Adapters for Memory-Assisted Knowledge Editing12 Jun 2026
- 2026Benchmarking Knowledge Editing using Logical Rules9 Jun 2026
- 2026SCAN: Sparse Circuit Anchor Interpretable Neuron for Lifelong Knowledge Editing16 Mar 2026
- 2026Uncovering Context Reliance in Unstructured Knowledge Editing22 Feb 2026
- 2026Norm Anchors Make Model Edits Last30 Jan 2026
- 2026Beyond Hard Writes and Rigid Preservation: Soft Recursive Least-Squares for Lifelong LLM Editing22 Jan 2026
12 newest of 175 All 175 (JSON)