mlsanityData to 7 Oct 2026

Has this Fact been Edited? Detecting Knowledge Edits in Language Models

arXiv 2405.02765 ↗First posted 4 May 2024cs.CL cs.AIcited by 14

Not on the map. Why?

Abstract (arXiv)

Knowledge editing methods (KEs) can update language models' obsolete or inaccurate knowledge learned from pre-training. However, KEs can be used for malicious applications, e.g., inserting misinformation and toxic content. Knowing whether a generated output is based on edited knowledge or first-hand knowledge from pre-training can increase users' trust in generative models and provide more transparency. Driven by this, we propose a novel task: detecting edited knowledge in language models. Given an edited model and a fact retrieved by a prompt from an edited model, the objective is to classify the knowledge as either unedited (based on the pre-training), or edited (based on subsequent editing). We instantiate the task with four KEs, two LLMs, and two datasets. Additionally, we propose using the hidden state representations and the probability distributions as features for the detection. Our results reveal that, using these features as inputs to a simple AdaBoost classifiers establishes a strong baseline. This classifier requires only a limited amount of data and maintains its performance even in cross-domain settings. Last, we find it more challenging to distinguish edited knowledge from unedited but related knowledge, highlighting the need for further research. Our work lays the groundwork for addressing malicious model editing, which is a critical challenge associated with the strong generative capabilities of LLMs.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 40 of its 61 references that are in the map. First posted on arXiv 4 May 2024.

Builds on

40 of 61 references.

References · 40

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  4. 2019Language Models as Knowledge Bases?cited by 1,922
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  6. 2022Mass-Editing Memory in a Transformercited by 976
  7. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  8. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  9. 2021Editing Factual Knowledge in Language Modelscited by 548
  10. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  11. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
  12. 2022Memory-Based Model Editing at Scalecited by 443
28 more
  1. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
  2. 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
  3. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
  4. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
  5. 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
  6. 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
  7. 2023Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedbackcited by 189
  8. 2023PMET: Precise Model Editing in a Transformercited by 170
  9. 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 156
  10. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
  11. 2023On the Risk of Misinformation Pollution with Large Language Modelscited by 124
  12. 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
  13. 2023LLM360: Towards Fully Transparent Open-Source LLMscited by 100
  14. 2024Universal Neurons in GPT2 Language Modelscited by 100
  15. 2024BadEdit: Backdooring large language models by model editingcited by 84
  16. 2023MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRAcited by 80
  17. 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
  18. 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPTcited by 70
  19. 2024What does the Knowledge Neuron Thesis Have to do with Knowledge?cited by 49
  20. 2023Stealthy and Persistent Unalignment on Large Language Models via Backdoor Injectionscited by 37
  21. 2023A Survey on Knowledge Editing of Neural Networkscited by 34
  22. 2023How Trustworthy are Open-Source LLMs? An Assessment under Malicious Demonstrations Shows their Vulnerabilitiescited by 33
  23. 2023Give Me the Facts! A Survey on Factual Knowledge Probing in Pre-trained Language Modelscited by 32
  24. 2022Controllable Text Generation via Probability Density Estimation in the Latent Spacecited by 27
  25. 2024Long-form evaluation of model editingcited by 23
  26. 2023Exploiting Large Language Models (LLMs) through Deception Techniques and Persuasion Principlescited by 17
  27. 2024The Queen of England is not England's Queen: On the Lack of Factual Coherency in PLMscited by 7
  28. 2024"Flex Tape Can't Fix That": Bias and Misinformation in Edited Language Modelscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 8.

14 papers.

Sort:

By area: