Transformer-Patcher: One Mistake worth One Neuron
Not on the map. Why?
Abstract (arXiv)
Large Transformer-based Pretrained Language Models (PLMs) dominate almost all Natural Language Processing (NLP) tasks. Nevertheless, they still make mistakes from time to time. For a model deployed in an industrial environment, fixing these mistakes quickly and robustly is vital to improve user experiences. Previous works formalize such problems as Model Editing (ME) and mostly focus on fixing one mistake. However, the one-mistake-fixing scenario is not an accurate abstraction of the real-world challenge. In the deployment of AI services, there are ever-emerging mistakes, and the same mistake may recur if not corrected in time. Thus a preferable solution is to rectify the mistakes as soon as they appear nonstop. Therefore, we extend the existing ME into Sequential Model Editing (SME) to help develop more practical editing methods. Our study shows that most current ME methods could yield unsatisfying results in this scenario. We then introduce Transformer-Patcher, a novel model editor that can shift the behavior of transformer-based models by simply adding and training a few neurons in the last Feed-Forward Network layer. Experimental results on both classification and generation tasks show that Transformer-Patcher can successively correct up to thousands of errors (Reliability) and generalize to their equivalent inputs (Generality) while retaining the model's accuracy on irrelevant inputs (Locality). Our method outperforms previous fine-tuning and HyperNetwork-based methods and achieves state-of-the-art performance for Sequential Model Editing (SME). The code is available at https://github.com/ZeroYuHuang/Transformer-Patcher.
Key facts. Cited by 196 papers in the map (data through 7 Oct 2026). Builds on 26 of its 33 references that are in the map. First posted on arXiv 24 Jan 2023.
Builds on
26 of 33 references.
References · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2016Learning without Forgettingcited by 2,465
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2016Progressive Neural Networkscited by 1,332
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
14 more
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2021Fast Model Editing at Scalecited by 491
- 2022Memory-Based Model Editing at Scalecited by 443
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2020Supermasks in Superpositioncited by 223
- 2020Modifying Memories in Transformer Modelscited by 222
- 2019Gender Bias in Contextualized Word Embeddingscited by 203
- 2019Episodic Memory in Lifelong Language Learningcited by 188
- 2020Editable Neural Networkscited by 154
- 2019Hello, It's GPT-2 -- How Can I Help You? Towards the Use of Pretrained Language Models for Task-Oriented Dialogue Systemscited by 110
- 2020A Wholistic View of Continual Learning with Deep Neural Networks: Forgotten Lessons and the Bridge to Active and Open World Learningcited by 86
- 2021Provable Repair of Deep Neural Networkscited by 39
- 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 28
- 2020Towards Interpreting BERT for Reading Comprehension Based QAcited by 13
Built on by
Citing papers per year: 2023: 26; 2024: 97; 2025: 46; 2026: 27.
196 papers.
Sort:
By area:
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
- 2025Memory in the Age of AI Agentscited by 285
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 224
- 2023Survey on Factuality in Large Language Models: Knowledge, Retrieval and Domain-Specificitycited by 204
- 2023Knowledge Editing for Large Language Models: A Surveycited by 189
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Eraserscited by 118
38 more
- 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 101
- 2023EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Modelscited by 97
- 2024From Matching to Generation: A Survey on Generative Information Retrievalcited by 89
- 2024Detoxifying Large Language Models via Knowledge Editingcited by 86
- 2024BadEdit: Backdooring large language models by model editingcited by 84
- 2023MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRAcited by 80
- 2025AnyEdit: Edit Any Knowledge Encoded in Language Modelscited by 74
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agentscited by 72
- 2023Massive Editing for Large Language Models via Meta Learningcited by 62
- 2024Towards Lifelong Learning of Large Language Models: A Surveycited by 60
- 2024Larimar: Large Language Models with Episodic Memory Controlcited by 53
- 2024From Understanding to Utilization: A Survey on Explainability for Large Language Modelscited by 47
- 2024A Comprehensive Survey of Large Language Models and Multimodal Large Language Models in Medicinecited by 45
- 2023Can We Edit Multimodal Large Language Models?cited by 44
- 2024WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editingcited by 40
- 2024Lifelong Knowledge Editing for LLMs with Retrieval-Augmented Continuous Prompt Learningcited by 40
- 2024Uncovering Overfitting in Large Language Model Editingcited by 36
- 2024Knowledge Boundary of Large Language Models: A Surveycited by 36
- 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
- 2023Evaluating the Reversal Curse in Model Editingcited by 34
- 2023A Survey on Knowledge Editing of Neural Networkscited by 34
- 2023How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advancescited by 33
- 2024DeepEdit: Knowledge Editing as Decoding with Constraintscited by 33
- 2024In-Context Editing: Learning Knowledge from Self-Induced Distributionscited by 33
- 2025Reinforced Lifelong Editing for Language Modelscited by 33
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2024VLKEB: A Large Vision-Language Model Knowledge Editing Benchmarkcited by 30
- 2023Trends in Integration of Knowledge and Large Language Models: A Survey and Taxonomy of Methods, Benchmarks, and Applicationscited by 28
- 2023DocTER: Evaluating Document-based Knowledge Editingcited by 26
- 2025The Mirage of Model Editing: Revisiting Evaluation in the Wildcited by 24
- 2024Long-form evaluation of model editingcited by 23
- 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
- 2023Memory Injections: Correcting Multi-Hop Reasoning Failures during Inference in Transformer-Based Language Modelscited by 21
- 2024Editing Conceptual Knowledge for Large Language Modelscited by 21
- 2024Self-Updatable Large Language Models by Integrating Context into Model Parameterscited by 21
- 2024Ethos: Rectifying Language Models in Orthogonal Parameter Spacecited by 20
- 2024RoseLoRA: Row and Column-wise Sparse Low-rank Adaptation of Pre-trained Language Model for Knowledge Editing and Fine-tuningcited by 20
- 2024InfuserKI: Enhancing Large Language Models with Knowledge Graphs via Infuser-Guided Knowledge Integrationcited by 19
50 most cited of 196 All 196 (JSON)
- 2026ManiEdit: Sequential Unstructured Knowledge Editing for Language Models from a Manifold Perspective27 Sep 2026
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearning24 Sep 2026
- 2026Selective Knowledge Edit Reversal via Gated Singular Vector Shrinkage2 Sep 2026
- 2026Hallucinations in LLMs: A Lifecycle-Based Survey of Causes, Detection, Mitigation, and Prevention20 Jul 2026
- 2026Multimodal Knowledge Edit-Scoped Generalization for Online Recursive MLLM Editing2 Jul 2026
- 2026Orthogonal Representation Editing: Decoupling Semantic Entanglement in Batch Knowledge Editing of LLMs21 Jun 2026
- 2026AnyEdit++: Adaptive Long-Form Knowledge Editing via Bayesian Surprise31 May 2026
- 2026Towards Localized and Disentangled Knowledge Editing for Multimodal Large Language Models28 May 2026
- 2026Beyond Binary Edits Robust Multimodal Knowledge Editing with Adversarial Subspace Alignment22 May 2026
- 2026Modality-Decoupled Online Recursive Editing19 May 2026
- 2026ZeroUnlearn: Few-Shot Knowledge Unlearning in Large Language Models16 May 2026
- 2026BetaEdit: Null-Space Constrained Sequential Model Editing10 May 2026
38 more
- 2026Neuron-Anchored Rule Extraction for Large Language Models via Contrastive Hierarchical Ablation4 May 2026
- 2026From Backward Spreading to Forward Replay: Revisiting Target Construction in LLM Parameter Editing1 May 2026
- 2026The Override Gap: A Magnitude Account of Knowledge Conflict Failure in Hypernetwork-Based Instant LLM Adaptation26 Apr 2026
- 2026Towards Scalable Lifelong Knowledge Editing with Selective Knowledge Suppression21 Apr 2026
- 2026FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing14 Apr 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
- 2026CLaRE-ty Amid Chaos: Quantifying Representational Entanglement to Predict Ripple Effects in LLM Editing11 Mar 2026
- 2026Uncovering Context Reliance in Unstructured Knowledge Editing22 Feb 2026
- 2026Let's Split Up: Zero-Shot Classifier Edits for Fine-Grained Video Understanding18 Feb 2026
- 2026Reverse-Engineering Model Editing on Language Models7 Feb 2026
- 2026Beyond Local Edits: Embedding-Virtualized Knowledge for Broader Evaluation and Preservation of Model Editing2 Feb 2026
- 2026Generalizable Multimodal Large Language Model Editing via Invariant Trajectory Learning27 Jan 2026
- 2026Are We Evaluating the Edit Locality of LLM Model Editing Properly?24 Jan 2026
- 2026Spectral Characterization and Mitigation of Sequential Knowledge Editing Collapse16 Jan 2026
- 2026Multiplicative Orthogonal Sequential Editing for Language Models11 Jan 2026
- 2025Look Closer! An Adversarial Parametric Editing Framework for Hallucination Mitigation in VLMs26 Dec 2025
- 2025An Information-Theoretic Framework for Robust Large Language Model Editing18 Dec 2025
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025Uncovering and Mitigating Transient Blindness in Multimodal Model Editing17 Nov 2025
- 2025MedREK: Retrieval-Based Editing for Medical LLMs with Key-Aware Prompts15 Oct 2025
- 2025DSCD: Large Language Model Detoxification with Self-Constrained Decoding15 Oct 2025
- 2025POME: Post Optimization Model Edit via Muon-style Projection8 Oct 2025
- 2025Is Model Editing Built on Sand? Revealing Its Illusory Success and Fragile Foundation1 Oct 2025
- 2025Fine-tuning Done Right in Model Editing26 Sep 2025
- 2025Consistency-Aware Parameter-Preserving Knowledge Editing Framework for Multi-Hop Question Answering23 Sep 2025
- 2025Towards Meta-Cognitive Knowledge Editing for Multimodal LLMs6 Sep 2025
- 2025A Dual-Axis Taxonomy of Knowledge Editing for LLMs: From Mechanisms to Functions12 Aug 2025
- 2025Aligning Language Models with Real-time Knowledge Editing2 Aug 2025
- 2025NeuralDB: Scaling Knowledge Editing in LLMs to 100,000 Facts with Neural KV Database24 Jul 2025
- 2025LayerCake: Token-Aware Contrastive Decoding within Large Language Model Layers6 Jul 2025
- 2025QueueEDIT: Structural Self-Correction for Sequential Model Editing in LLMs22 Jun 2025
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Models16 Jun 2025
- 2025DualEdit: Mitigating Safety Fallback in LLM Backdoor Editing via Affirmation-Refusal Regulation16 Jun 2025
- 2025MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs9 Jun 2025
- 2025Do LLMs Really Forget? Evaluating Unlearning with Knowledge Correlation and Confidence Awareness6 Jun 2025
- 2025Expanding before Inferring: Enhancing Factuality in Large Language Models through Premature Layers Interpolation3 Jun 2025
- 2025ThinkEval: Practical Evaluation of Knowledge Leakage in LLM Editing using Thought-based Knowledge Graphs2 Jun 2025
- 2025COMPKE: Complex Question Answering under Knowledge Editing1 Jun 2025
50 newest of 196 All 196 (JSON)
- 2024A Comprehensive Survey of Large Language Models and Multimodal Large Language Models in Medicinecited by 45
- 2023Can We Edit Multimodal Large Language Models?cited by 44
- 2024VLKEB: A Large Vision-Language Model Knowledge Editing Benchmarkcited by 30
- 2024Towards Unified Multimodal Editing with Enhanced Knowledge Collaborationcited by 18
- 2024Attribution Analysis Meets Model Editing: Advancing Knowledge Correction in Vision Language Models with VisEditcited by 14
- 2024Lifelong Knowledge Editing for Vision Language Models with Low-Rank Mixture-of-Expertscited by 14
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Modelscited by 9
- 2025BalancEdit: Dynamically Balancing the Generality-Locality Trade-off in Multi-modal Model Editingcited by 7
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Modelscited by 5
- 2024ComprehendEdit: A Comprehensive Dataset and Evaluation Framework for Multimodal Knowledge Editingcited by 4
- 2025Towards Meta-Cognitive Knowledge Editing for Multimodal LLMscited by 1
- 2026Generalizable Multimodal Large Language Model Editing via Invariant Trajectory Learningcited by 1
12 most cited of 17 All 17 (JSON)
- 2026Multimodal Knowledge Edit-Scoped Generalization for Online Recursive MLLM Editing2 Jul 2026
- 2026Towards Localized and Disentangled Knowledge Editing for Multimodal Large Language Models28 May 2026
- 2026Beyond Binary Edits Robust Multimodal Knowledge Editing with Adversarial Subspace Alignment22 May 2026
- 2026Modality-Decoupled Online Recursive Editing19 May 2026
- 2026Generalizable Multimodal Large Language Model Editing via Invariant Trajectory Learning27 Jan 2026
- 2025Look Closer! An Adversarial Parametric Editing Framework for Hallucination Mitigation in VLMs26 Dec 2025
- 2025Towards Meta-Cognitive Knowledge Editing for Multimodal LLMs6 Sep 2025
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Models16 Jun 2025
- 2025BalancEdit: Dynamically Balancing the Generality-Locality Trade-off in Multi-modal Model Editing2 May 2025
- 2024ComprehendEdit: A Comprehensive Dataset and Evaluation Framework for Multimodal Knowledge Editing17 Dec 2024
- 2024Lifelong Knowledge Editing for Vision Language Models with Low-Rank Mixture-of-Experts23 Nov 2024
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Models19 Nov 2024
12 newest of 17 All 17 (JSON)
- 2024BadEdit: Backdooring large language models by model editingcited by 84
- 2024Large Scale Knowledge Washingcited by 16
- 2025Do LLMs Really Forget? Evaluating Unlearning with Knowledge Correlation and Confidence Awarenesscited by 13
- 2024MEGen: Generative Backdoor into Large Language Models via Model Editingcited by 5
- 2025Adaptive Detoxification: Safeguarding General Capabilities of LLMs through Toxicity-Aware Knowledge Editingcited by 5
- 2024Composable Interventions for Language Modelscited by 4
- 2026Neuron-Anchored Rule Extraction for Large Language Models via Contrastive Hierarchical Ablationcited by 2
- 2026ZeroUnlearn: Few-Shot Knowledge Unlearning in Large Language Modelscited by 0
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearningcited by 0
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearning24 Sep 2026
- 2026ZeroUnlearn: Few-Shot Knowledge Unlearning in Large Language Models16 May 2026
- 2026Neuron-Anchored Rule Extraction for Large Language Models via Contrastive Hierarchical Ablation4 May 2026
- 2025Do LLMs Really Forget? Evaluating Unlearning with Knowledge Correlation and Confidence Awareness6 Jun 2025
- 2025Adaptive Detoxification: Safeguarding General Capabilities of LLMs through Toxicity-Aware Knowledge Editing28 May 2025
- 2024MEGen: Generative Backdoor into Large Language Models via Model Editing20 Aug 2024
- 2024Composable Interventions for Language Models9 Jul 2024
- 2024Large Scale Knowledge Washing26 May 2024
- 2024BadEdit: Backdooring large language models by model editing20 Mar 2024
- 2023Knowledge Editing for Large Language Models: A Surveycited by 189
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agentscited by 72
- 2024DeepEdit: Knowledge Editing as Decoding with Constraintscited by 33
- 2023Memory Injections: Correcting Multi-Hop Reasoning Failures during Inference in Transformer-Based Language Modelscited by 21
- 2024Investigating Multi-Hop Factual Shortcuts in Knowledge Editing of Large Language Modelscited by 14
- 2025ThinkEval: Practical Evaluation of Knowledge Leakage in LLM Editing using Thought-based Knowledge Graphscited by 4
- 2025Reasoning-Oriented and Analogy-Based Methods for Locating and Editing in Zero-Shot Event-Relational Reasoningcited by 0
- 2025ThinkEval: Practical Evaluation of Knowledge Leakage in LLM Editing using Thought-based Knowledge Graphs2 Jun 2025
- 2025Reasoning-Oriented and Analogy-Based Methods for Locating and Editing in Zero-Shot Event-Relational Reasoning1 Jan 2025
- 2024Investigating Multi-Hop Factual Shortcuts in Knowledge Editing of Large Language Models19 Feb 2024
- 2024DeepEdit: Knowledge Editing as Decoding with Constraints19 Jan 2024
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agents20 Nov 2023
- 2023Knowledge Editing for Large Language Models: A Survey24 Oct 2023
- 2023Memory Injections: Correcting Multi-Hop Reasoning Failures during Inference in Transformer-Based Language Models11 Sep 2023
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 224
- 2023Survey on Factuality in Large Language Models: Knowledge, Retrieval and Domain-Specificitycited by 204
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 101
- 2023EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Modelscited by 97
- 2024From Matching to Generation: A Survey on Generative Information Retrievalcited by 89
- 2024Detoxifying Large Language Models via Knowledge Editingcited by 86
12 most cited of 151 All 151 (JSON)
- 2026ManiEdit: Sequential Unstructured Knowledge Editing for Language Models from a Manifold Perspective27 Sep 2026
- 2026Selective Knowledge Edit Reversal via Gated Singular Vector Shrinkage2 Sep 2026
- 2026Hallucinations in LLMs: A Lifecycle-Based Survey of Causes, Detection, Mitigation, and Prevention20 Jul 2026
- 2026Orthogonal Representation Editing: Decoupling Semantic Entanglement in Batch Knowledge Editing of LLMs21 Jun 2026
- 2026AnyEdit++: Adaptive Long-Form Knowledge Editing via Bayesian Surprise31 May 2026
- 2026BetaEdit: Null-Space Constrained Sequential Model Editing10 May 2026
- 2026From Backward Spreading to Forward Replay: Revisiting Target Construction in LLM Parameter Editing1 May 2026
- 2026The Override Gap: A Magnitude Account of Knowledge Conflict Failure in Hypernetwork-Based Instant LLM Adaptation26 Apr 2026
- 2026Towards Scalable Lifelong Knowledge Editing with Selective Knowledge Suppression21 Apr 2026
- 2026FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing14 Apr 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
- 2026CLaRE-ty Amid Chaos: Quantifying Representational Entanglement to Predict Ripple Effects in LLM Editing11 Mar 2026
12 newest of 151 All 151 (JSON)