Reverse-Engineering Model Editing on Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are pretrained on corpora containing trillions of tokens and, therefore, inevitably memorize sensitive information. Locate-then-edit methods, as a mainstream paradigm of model editing, offer a promising solution by modifying model parameters without retraining. However, in this work, we reveal a critical vulnerability of this paradigm: the parameter updates inadvertently serve as a side channel, enabling attackers to recover the edited data. We propose a two-stage reverse-engineering attack named textitKSTER (KeySpaceReconsTruction-then-EntropyReduction) that leverages the low-rank structure of these updates. First, we theoretically show that the row space of the update matrix encodes a ``fingerprint" of the edited subjects, enabling accurate subject recovery via spectral analysis. Second, we introduce an entropy-based prompt recovery attack that reconstructs the semantic context of the edit. Extensive experiments on multiple LLMs demonstrate that our attacks can recover edited data with high success rates. Furthermore, we propose textitsubspace camouflage, a defense strategy that obfuscates the update fingerprint with semantic decoys. This approach effectively mitigates reconstruction risks without compromising editing utility. Our code is available at https://github.com/reanatom/EditingAttack.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 45 of its 54 references that are in the map. First posted on arXiv 7 Feb 2026.
Builds on
45 of 54 references.
References · 45
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2022Mass-Editing Memory in a Transformercited by 976
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
33 more
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2021Fast Model Editing at Scalecited by 491
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2022Memory-Based Model Editing at Scalecited by 443
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 402
- 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
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 224
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2023Knowledge Editing for Large Language Models: A Surveycited by 189
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 156
- 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 127
- 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 123
- 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 101
- 2023MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRAcited by 80
- 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPTcited by 70
- 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
- 2022LAMP: Extracting Text from Gradients with Language Model Priorscited by 52
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 32
- 2024Perturbation-Restrained Sequential Model Editingcited by 27
- 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignmentcited by 24
- 2024PII-Compass: Guiding LLM training data extraction prompts towards the target PII via groundingcited by 22
- 2024Sampling-based Pseudo-Likelihood for Membership Inference Attackscited by 18
- 2025Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?cited by 13
- 2025Tracing and Reversing Edits in LLMscited by 7
- 2025Investigating Model Editing for Unlearning in Large Language Modelscited by 4
- 2026Are We Evaluating the Edit Locality of LLM Model Editing Properly?cited by 4
Built on by
Citing papers per year: 2026: 2.
2 papers.