The Truth Beneath the Tokens: Prompt-Space Recovery of Knowledge Edits in Language Models

Manit Baser, Rachel Yeo Hui Min, Aditya Nawal, Dinil Mon Divakaran, Mohan Gurusamy
11/7/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Model editing provides an efficient way to update factual knowledge in transformer models. Recent approaches reverse edits by modifying, masking, or decomposing model weights, but make recovery dependent on weight-space interventions.

Show full abstract

We instead show that pre-edit knowledge can be recovered through input-space interventions alone, without modifying the edited model's weights. We introduce Memento, a prompt-space mechanism for auditing residual knowledge that learns a reusable recovery signal to steer an edited model toward its pre-edit response. Memento supports both continuous recovery prefixes and discrete textual prompts for standard text interfaces. Across three LLMs and five editing techniques, Memento recovers 80.07% of held-out edited facts, achieving a 9.58% relative improvement over baselines, suggesting that editing may suppress the facts without fully eliminating their recoverability. We further investigate whether prompt-space recovery extends beyond model editing. On pristine, unedited LLMs, Memento improves average factual recall by 53.9% relative to standard inference. These results demonstrate the potential of prompt-space recovery for auditing residual knowledge in edited models and investigating the gap between factual knowledge and its accessibility during inference. We will release our source code.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{baser2026truth,
  title  = {The Truth Beneath the Tokens: Prompt-Space Recovery of Knowledge Edits in Language Models},
  author = {Manit Baser and Rachel Yeo Hui Min and Aditya Nawal and Dinil Mon Divakaran and Mohan Gurusamy},
  year   = {2026},
  eprint = {2611.10450},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.10450v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.10450.svg)](https://codeofpaper.com/paper/2611.10450)

Discussion