EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) usually suffer from knowledge cutoff or fallacy issues, which means they are unaware of unseen events or generate text with incorrect facts owing to outdated/noisy data. To this end, many knowledge editing approaches for LLMs have emerged -- aiming to subtly inject/edit updated knowledge or adjust undesired behavior while minimizing the impact on unrelated inputs. Nevertheless, due to significant differences among various knowledge editing methods and the variations in task setups, there is no standard implementation framework available for the community, which hinders practitioners from applying knowledge editing to applications. To address these issues, we propose EasyEdit, an easy-to-use knowledge editing framework for LLMs. It supports various cutting-edge knowledge editing approaches and can be readily applied to many well-known LLMs such as T5, GPT-J, LlaMA, etc. Empirically, we report the knowledge editing results on LlaMA-2 with EasyEdit, demonstrating that knowledge editing surpasses traditional fine-tuning in terms of reliability and generalization. We have released the source code on GitHub, along with Google Colab tutorials and comprehensive documentation for beginners to get started. Besides, we present an online system for real-time knowledge editing, and a demo video.
Key facts. Cited by 97 papers in the map (data through 7 Oct 2026). Builds on 45 of its 70 references that are in the map. First posted on arXiv 14 Aug 2023.
Builds on
45 of 70 references.
References · 45
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023A Survey of Large Language Modelscited by 2,537
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
33 more
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2023PaLM 2 Technical Reportcited by 1,154
- 2022Mass-Editing Memory in a Transformercited by 976
- 2019How Can We Know What Language Models Know?cited by 953
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2022Memory-Based Model Editing at Scalecited by 443
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
- 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
- 2022Reasoning with Language Model Prompting: A Surveycited by 251
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Evaluating the Ripple Effects of Knowledge Editing in Language Modelscited by 238
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2023Secrets of RLHF in Large Language Models Part I: PPOcited by 226
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2021KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extractioncited by 180
- 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
- 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
- 2018Generating Informative and Diverse Conversational Responses via Adversarial Information Maximizationcited by 114
- 2022Retrieval Augmentation for Commonsense Reasoning: A Unified Approachcited by 14
- 2023AsdKB: A Chinese Knowledge Base for the Early Screening and Diagnosis of Autism Spectrum Disordercited by 2
Built on by
Citing papers per year: 2023: 7; 2024: 28; 2025: 35; 2026: 27.
97 papers.
Sort:
By area:
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
- 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
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 83
- 2024Knowledge Circuits in Pretrained Transformerscited by 60
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 54
- 2024Larimar: Large Language Models with Episodic Memory Controlcited by 53
- 2023Can Language Models be Instructed to Protect Personal Information?cited by 46
- 2023Can We Edit Multimodal Large Language Models?cited by 44
- 2024WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editingcited by 40
- 2024Decoding by Contrasting Knowledge: Enhancing LLMs' Confidence on Edited Factscited by 36
- 2023Evaluating the Reversal Curse in Model Editingcited by 34
38 more
- 2024VLKEB: A Large Vision-Language Model Knowledge Editing Benchmarkcited by 30
- 2024Perturbation-Restrained Sequential Model Editingcited by 27
- 2024Knowledge Editing through Chain-of-Thoughtcited by 26
- 2024Fundamental Problems With Model Editing: How Should Rational Belief Revision Work in LLMs?cited by 24
- 2025The Mirage of Model Editing: Revisiting Evaluation in the Wildcited by 24
- 2023Editing Personality for Large Language Modelscited by 22
- 2024Can Editing LLMs Inject Harm?cited by 22
- 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
- 2024Locking Down the Finetuned LLMs Safetycited by 22
- 2024Everything is Editable: Extend Knowledge Editing to Unstructured Data in Large Language Modelscited by 18
- 2024InstructEdit: Instruction-based Knowledge Editing for Large Language Modelscited by 17
- 2025Unlocking Efficient, Scalable, and Continual Knowledge Editing with Basis-Level Representation Fine-Tuningcited by 17
- 2025Position: Editing Large Language Models Poses Serious Safety Riskscited by 15
- 2023Large Knowledge Model: Perspectives and Challengescited by 12
- 2024AmoebaLLM: Constructing Any-Shape Large Language Models for Efficient and Instant Deploymentcited by 12
- 2023Cross-Lingual Knowledge Editing in Large Language Modelscited by 11
- 2024MLaKE: Multilingual Knowledge Editing Benchmark for Large Language Modelscited by 11
- 2024Neighboring Perturbations of Knowledge Editing on Large Language Modelscited by 10
- 2025Related Knowledge Perturbation Matters: Rethinking Multiple Pieces of Knowledge Editing in Same-Subjectcited by 10
- 2025MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMscited by 10
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Modelscited by 9
- 2025Fine-tuning Done Right in Model Editingcited by 9
- 2024Model Editing for LLMs4Code: How Far are We?cited by 8
- 2025Knowledge Fusion of Large Language Models Via Modular SkillPackscited by 8
- 2024ChroKnowledge: Unveiling Chronological Knowledge of Language Models in Multiple Domainscited by 7
- 2025Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injectioncited by 7
- 2025Tracing and Reversing Edits in LLMscited by 7
- 2025Edit Less, Achieve More: Dynamic Sparse Neuron Masking for Lifelong Knowledge Editing in LLMscited by 7
- 2024Towards Trustable Language Models: Investigating Information Quality of Large Language Modelscited by 6
- 2025Mitigating Heterogeneous Token Overfitting in LLM Knowledge Editingcited by 6
- 2025Do Role-Playing Agents Practice What They Preach? Belief-Behavior Consistency in LLM-Based Simulations of Human Trustcited by 6
- 2025Is Model Editing Built on Sand? Revealing Its Illusory Success and Fragile Foundationcited by 6
- 2024Can LLMs be Fooled? Investigating Vulnerabilities in LLMscited by 5
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Modelscited by 5
- 2025SAKE: Towards Editing Auditory Attribute Knowledge of Large Audio-Language Modelscited by 5
- 2024Composable Interventions for Language Modelscited by 4
- 2024Resolving Lexical Bias in Model Editingcited by 4
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QAcited by 4
50 most cited of 97 All 97 (JSON)
- 2026LadderEdit: Edit-Level Residual Compression for Memory-Efficient Lifelong Editing of LLMs8 Oct 2026
- 2026ALOE: Semantically Addressed Low-Rank Operators for Knowledge Editing24 Sep 2026
- 2026CACHE-UK: A Stability-Aware Memory Editor for Sequentially Updated Quantized LLMs in Finance30 Jul 2026
- 2026Weight-Adjusted Gradients Reveal Parameter Importance and Failure Modes in LLMs12 Jul 2026
- 2026Exposing the Illusion of Erasure in Knowledge Editing for LLMs22 Jun 2026
- 2026LOKI: Memory-Free Null-Space Constrained Lifelong Knowledge Editing18 Jun 2026
- 2026When to Write and When to Suppress: Route-Specialized Dual Adapters for Memory-Assisted Knowledge Editing12 Jun 2026
- 2026xMIx: High-Performance Serving-Time Platform for Mechanistic Interpretability Apps11 Jun 2026
- 2026On the Persistent Effects of Lexicality in Large Language Models1 Jun 2026
- 2026LLM Pretraining Shapes a Generalizable Manifold: Insights into Cross-Modal Transfer to Time Series19 May 2026
- 2026MixSD: Mixed Contextual Self-Distillation for Knowledge Injection16 May 2026
- 2026EVA: Editing for Versatile Alignment against Jailbreaks14 May 2026
38 more
- 2026Moir: Let the Model Direct Its Own Story for Robust Cross-Domain Knowledge Editing10 May 2026
- 2026Uncovering Entity Identity Confusion in Multimodal Knowledge Editing7 May 2026
- 2026EditPropBench: Measuring Factual Edit Propagation in Scientific Manuscripts3 May 2026
- 2026From Backward Spreading to Forward Replay: Revisiting Target Construction in LLM Parameter Editing1 May 2026
- 2026FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing14 Apr 2026
- 2026Distributed Multi-Layer Editing for Rule-Level Knowledge in Large Language Models9 Apr 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
- 2026SCAN: Sparse Circuit Anchor Interpretable Neuron for Lifelong Knowledge Editing16 Mar 2026
- 2026Golden Layers and Where to Find Them: Improved Knowledge Editing for Large Language Models Via Layer Gradient Analysis22 Feb 2026
- 2026CrispEdit: Low-Curvature Projections for Scalable Non-Destructive LLM Editing17 Feb 2026
- 2026GSS: Gated Subspace Steering for Selective Memorization Mitigation in LLMs9 Feb 2026
- 2026Conflict-Resolving and Sharpness-Aware Minimization for Generalized Knowledge Editing with Multiple Updates3 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
- 2026Hierarchical Orthogonal Residual Spread for Precise Massive Editing in Large Language Models16 Jan 2026
- 2025Investigating Model Editing for Unlearning in Large Language Models23 Dec 2025
- 2025An Information-Theoretic Framework for Robust Large Language Model Editing18 Dec 2025
- 2025EnchTable: Unified Safety Alignment Transfer in Fine-tuned Large Language Models13 Nov 2025
- 2025Understanding Robustness of Model Editing in Code LLMs5 Nov 2025
- 2025MemEIC: A Step Toward Continual and Compositional Knowledge Editing29 Oct 2025
- 2025Edit Less, Achieve More: Dynamic Sparse Neuron Masking for Lifelong Knowledge Editing in LLMs25 Oct 2025
- 2025SAKE: Towards Editing Auditory Attribute Knowledge of Large Audio-Language Models19 Oct 2025
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testing13 Oct 2025
- 2025Is Model Editing Built on Sand? Revealing Its Illusory Success and Fragile Foundation1 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
- 2025Diagnosing Model Editing via Knowledge Spectrum22 Sep 2025
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QA1 Sep 2025
- 2025FPEdit: Robust LLM Fingerprinting through Localized Parameter Editing4 Aug 2025
- 2025Latent Knowledge Scalpel: Precise and Massive Knowledge Editing for Large Language Models1 Aug 2025
- 2025Do Role-Playing Agents Practice What They Preach? Belief-Behavior Consistency in LLM-Based Simulations of Human Trust2 Jul 2025
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasures24 Jun 2025
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Models16 Jun 2025
- 2025PropMEND: Hypernetworks for Knowledge Propagation in LLMs10 Jun 2025
- 2025MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs9 Jun 2025
- 2025On the Adaptive Psychological Persuasion of Large Language Models7 Jun 2025
- 2025InComeS: Integrating Compression and Selection Mechanisms into LLMs for Efficient Model Editing28 May 2025
50 newest of 97 All 97 (JSON)
- 2023Can Language Models be Instructed to Protect Personal Information?cited by 46
- 2023Can We Edit Multimodal Large Language Models?cited by 44
- 2024VLKEB: A Large Vision-Language Model Knowledge Editing Benchmarkcited by 30
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Modelscited by 9
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Modelscited by 5
- 2025MemEIC: A Step Toward Continual and Compositional Knowledge Editingcited by 2
- 2026Generalizable Multimodal Large Language Model Editing via Invariant Trajectory Learningcited by 1
- 2026Uncovering Entity Identity Confusion in Multimodal Knowledge Editingcited by 0
- 2026EVA: Editing for Versatile Alignment against Jailbreakscited by 0
- 2026EVA: Editing for Versatile Alignment against Jailbreaks14 May 2026
- 2026Uncovering Entity Identity Confusion in Multimodal Knowledge Editing7 May 2026
- 2026Generalizable Multimodal Large Language Model Editing via Invariant Trajectory Learning27 Jan 2026
- 2025MemEIC: A Step Toward Continual and Compositional Knowledge Editing29 Oct 2025
- 2025DualEdit: Dual Editing for Knowledge Updating in Vision-Language Models16 Jun 2025
- 2024Visual-Oriented Fine-Grained Knowledge Editing for MultiModal Large Language Models19 Nov 2024
- 2024VLKEB: A Large Vision-Language Model Knowledge Editing Benchmark12 Mar 2024
- 2023Can We Edit Multimodal Large Language Models?12 Oct 2023
- 2023Can Language Models be Instructed to Protect Personal Information?3 Oct 2023
- 2024Can Editing LLMs Inject Harm?cited by 22
- 2024Composable Interventions for Language Modelscited by 4
- 2025Investigating Model Editing for Unlearning in Large Language Modelscited by 4
- 2025Concept Concentration for Faithful Representation Interventioncited by 0
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testingcited by 0
- 2026xMIx: High-Performance Serving-Time Platform for Mechanistic Interpretability Appscited by 0
- 2026xMIx: High-Performance Serving-Time Platform for Mechanistic Interpretability Apps11 Jun 2026
- 2025Investigating Model Editing for Unlearning in Large Language Models23 Dec 2025
- 2025BlackIce: A Containerized Red Teaming Toolkit for AI Security Testing13 Oct 2025
- 2025Concept Concentration for Faithful Representation Intervention24 May 2025
- 2024Can Editing LLMs Inject Harm?29 Jul 2024
- 2024Composable Interventions for Language Models9 Jul 2024
- 2024Knowledge Editing through Chain-of-Thoughtcited by 26
- 2025Related Knowledge Perturbation Matters: Rethinking Multiple Pieces of Knowledge Editing in Same-Subjectcited by 10
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QAcited by 4
- 2025CaseEdit: Enhancing Localized Commonsense Reasoning via Null-Space Constrained Knowledge Editing in Small Parameter Language Modelscited by 0
- 2025Robust Knowledge Editing via Explicit Reasoning Chains for Distractor-Resilient Multi-Hop QA1 Sep 2025
- 2025CaseEdit: Enhancing Localized Commonsense Reasoning via Null-Space Constrained Knowledge Editing in Small Parameter Language Models26 May 2025
- 2025Related Knowledge Perturbation Matters: Rethinking Multiple Pieces of Knowledge Editing in Same-Subject8 Feb 2025
- 2024Knowledge Editing through Chain-of-Thought23 Dec 2024
- 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
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 83
- 2024Knowledge Circuits in Pretrained Transformerscited by 60
- 2024Larimar: Large Language Models with Episodic Memory Controlcited by 53
- 2024WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editingcited by 40
- 2024Decoding by Contrasting Knowledge: Enhancing LLMs' Confidence on Edited Factscited by 36
- 2023Evaluating the Reversal Curse in Model Editingcited by 34
- 2024Perturbation-Restrained Sequential Model Editingcited by 27
- 2024Fundamental Problems With Model Editing: How Should Rational Belief Revision Work in LLMs?cited by 24
- 2025The Mirage of Model Editing: Revisiting Evaluation in the Wildcited by 24
- 2023Editing Personality for Large Language Modelscited by 22
12 most cited of 73 All 73 (JSON)
- 2026LadderEdit: Edit-Level Residual Compression for Memory-Efficient Lifelong Editing of LLMs8 Oct 2026
- 2026ALOE: Semantically Addressed Low-Rank Operators for Knowledge Editing24 Sep 2026
- 2026CACHE-UK: A Stability-Aware Memory Editor for Sequentially Updated Quantized LLMs in Finance30 Jul 2026
- 2026Weight-Adjusted Gradients Reveal Parameter Importance and Failure Modes in LLMs12 Jul 2026
- 2026Exposing the Illusion of Erasure in Knowledge Editing for LLMs22 Jun 2026
- 2026LOKI: Memory-Free Null-Space Constrained Lifelong Knowledge Editing18 Jun 2026
- 2026When to Write and When to Suppress: Route-Specialized Dual Adapters for Memory-Assisted Knowledge Editing12 Jun 2026
- 2026On the Persistent Effects of Lexicality in Large Language Models1 Jun 2026
- 2026LLM Pretraining Shapes a Generalizable Manifold: Insights into Cross-Modal Transfer to Time Series19 May 2026
- 2026MixSD: Mixed Contextual Self-Distillation for Knowledge Injection16 May 2026
- 2026Moir: Let the Model Direct Its Own Story for Robust Cross-Domain Knowledge Editing10 May 2026
- 2026EditPropBench: Measuring Factual Edit Propagation in Scientific Manuscripts3 May 2026
12 newest of 73 All 73 (JSON)