# ShadowBench: Exposing Lexical Anchoring and the Illusion of Forgetting in Large Language Models

*Sujan Maharjan, Lu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139563) · [Open on the map](../papers.html#p139563)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Machine Unlearning](../pgroup/350.md) · Type: new method · Keywords: lexical anchoring, latent entity association, machine unlearning, benchmark design, AI safety

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Model Capability Diagnostics › Evaluation Benchmarks for Unlearning and Retrieval; [Benchmarks for LLMs & Agents](../areas/bench-llm-agents.md) › Agent Capability Benchmarks › Reasoning Benchmarks

## Summary
ShadowBench is a hardened benchmark that reveals LLMs' lexical anchoring and the illusion of forgetting in unlearning, showing large performance drops and residual knowledge leakage.

## Explained to a 5-year-old
Big computer brains called language models remember facts, but they only know them when you give them the name. We made a special test that hides the names and asks the models to guess anyway. The test shows the models get confused a lot when the names are hidden. Even when we try to make the models forget something, they still think about it secretly. This tells us we need better ways to truly erase what they know.

## Explained to a 5-year-old, longer
Language models are computer programs that can talk and write. They store lots of facts, like what a dog is or who the president is. Usually they can only remember these facts when you ask them using the exact name, like "Barack Obama". We wanted to see if they could remember things even when we don't say the name. So we built a tricky test that hides the names and asks the models to connect the idea to the person. The test is called ShadowBench and it makes sure the models can't cheat by looking for the name. When we ran the test, we saw that the models made many mistakes when the name was hidden. This gap between using names and not using names is called the "Shadow Gap". We also looked at whether we could make the models forget something, like a fact about a person. Even after trying to erase the fact, the models still brought up the hidden information when solving other problems. We measured how often this happened and found it happened in over 89% of cases. This shows that current ways of making models forget are not good enough and we need better methods.

## For a technical reader
The paper shows that large language models rely heavily on explicit entity names to retrieve factual knowledge, making them brittle when those names are omitted. To measure this, the authors created ShadowBench, a benchmark that forces models to associate latent entities without giving them the names, using a dual-trait association task. Evaluations reveal a consistent performance drop of over 20% across model scales when lexical anchors are removed. Applying ShadowBench to machine unlearning demonstrates that state-of-the-art algorithms only superficially erase knowledge, with residual traces resurfacing in over 89% of cases. The work underscores the need for more robust unlearning techniques that achieve true parametric erasure.

## Problem
Large language models rely heavily on explicit entity names to retrieve factual knowledge, making it difficult to access latent associations; additionally, current machine unlearning methods only superficially erase knowledge, leaving hidden residual traces.

## Method
The authors construct a shortcut-resistant benchmark that evaluates latent entity association via a dual-trait association task and propose a latent entity leakage rate metric to measure residual knowledge after unlearning.

## Results
Removing lexical anchors causes performance drops of over 20% across model scales, and unlearning methods leave residual knowledge in over 89% of cases according to the latent entity leakage rate metric.

## Contributions
The paper identifies lexical anchoring in LLM knowledge, introduces a hardened benchmark and a latent entity leakage rate metric, and shows that current unlearning methods create an illusion of forgetting.

## Practical relevance
The findings highlight a safety risk where models may retain hidden knowledge despite unlearning, urging more robust methods for reliable knowledge erasure.

## Research questions this paper is counted under

- [How can we remove specific knowledge from large language models while preserving their overall performance?](../q/51.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/139563)
