Skip to content

ShadowBench: Revealing LLMs' lexical anchoring and forgetting hallucinationShadowBench: Exposing Lexical Anchoring and the Illusion of Forgetting in Large Language Models

arXiv: Alignment, Deception & Oversight· arXiv:2611.15925· NeurIPS 2026· Sujan Maharjan, Lu LiuDepartment of Computer Science, North Dakota State UniversityIndexed by this site · 10 days ago· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose the ShadowBench benchmark, stating that LLM knowledge depends on entity-name anchors, and find that after unlearning the model still reconstructs the target entity in its reasoning traces (popular entities LELR above 74%).

Questions
Existing knowledge evaluations almost all rely on explicit entity names to trigger retrieval, which the authors argue overestimates models' conceptual understanding; meanwhile, unlearning benchmarks only test queries by name, which may mask residual knowledge.
Methods
The authors build ShadowBench: using anonymized "shadow descriptions" (Trait A), the model must first identify the hidden entity and then associate a second attribute (Trait B); three rounds of hardening (v1–v3) eliminate pronoun, era and gender shortcuts, and the authors propose the LELR metric to measure identity reconstruction in reasoning traces after unlearning.
Experiments and results
Across the five models, accuracy generally drops after removing names, with GPT-5.4 dropping 20.63% on Entertainment-Lower; after unlearning, Qwen3-8B's direct recall is suppressed but LELR still exceeds 89%, which the authors call the "illusion of forgetting."
Limitations and future work
The authors note that the evaluation is limited to English and Wikipedia, that the popularity score is an external proxy for training frequency, and that LELR only covers models with visible reasoning traces; the experiments cover 5 models and 3 domains, and unlearning tested only three methods: GA, GD+KL, NPO+KL.
Experimental setupLlama-3-8B-Instruct、Qwen3-8B et al. · ShadowBench (v3)、Alpaca · Accuracy、Shadow Gap et al.
Threat model
The paper is not an attack paper and has no explicit threat model. In the unlearning application section, the risk the authors focus on is: although an unlearned model suppresses direct queries by name, an attacker can recover information about the target entity through deductive reasoning via anonymized attribute descriptions (shadow prompts); the authors state that implicit attribute associations can bypass name-based refusal mechanisms.
Evaluated models
Llama-3-8B-InstructQwen3-8BGPT-5.4-miniGPT-5.4Claude-Sonnet-4.6
Benchmarks
ShadowBench (v3)Alpaca
Metrics
AccuracyShadow GapLELRROUGEPPLPMSRaccUPPL
AI summarySujan Maharjan and Lu Liu propose the ShadowBench benchmark, which evaluates the latent entity association ability of LLMs when entity-name tokens are absent, through dual-trait association (DTA) tasks. The evaluation finds a prevalent Shadow Gap across models of all sizes up to frontier models GPT-5.4 and Claude-Sonnet-4.6, with removing lexical anchoring causing performance drops of more than 20%. When applying this benchmark to machine unlearning evaluation, the authors' proposed Latent Entity Leakage Rate (LELR) metric shows that state-of-the-art unlearning algorithms such as Gradient Difference and NPO achieve only surface-level lexical erasure; for popular entities, the model reconstructs the forgotten entity in its internal reasoning traces in more than 74% of cases; for niche entities, although LELR is 0%, the model still maintains 60-90% shadow accuracy through implicit attribute associations. The authors therefore argue that existing unlearning paradigms create an illusion of forgetting, being only surface-level output filtering, and cannot yet achieve true parameter-level erasure.

Sujan Maharjan and Lu Liu propose the ShadowBench benchmark, which evaluates the latent entity association ability of LLMs when entity-name tokens are absent, through dual-trait association (DTA) tasks. The evaluation finds a prevalent Shadow Gap across models of all sizes up to frontier models GPT-5.4 and Claude-Sonnet-4.6, with removing lexical anchoring causing performance drops of more than 20%. When applying this benchmark to machine unlearning evaluation, the authors' proposed Latent Entity Leakage Rate (LELR) metric shows that state-of-the-art unlearning algorithms such as Gradient Difference and NPO achieve only surface-level lexical erasure; for popular entities, the model reconstructs the forgotten entity in its internal reasoning traces in more than 74% of cases; for niche entities, although LELR is 0%, the model still maintains 60-90% shadow accuracy through implicit attribute associations. The authors therefore argue that existing unlearning paradigms create an illusion of forgetting, being only surface-level output filtering, and cannot yet achieve true parameter-level erasure.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors argue that LLM knowledge retrieval relies on entity-name anchors, and that existing evaluations and unlearning audits therefore overestimate models and mask residual knowledge.

    Core question: whether LLMs' factual knowledge can only be retrieved when the entity name is given, and whether existing machine unlearning evaluations mask residual knowledge.

    • Blind spot of the evaluation paradigm: The authors point out that existing benchmarks (MMLU, TriviaQA, HotpotQA, etc.) all adopt the Name-to-Fact paradigm, assuming by default that "if a model knows a fact, it can retrieve it under any phrasing"; the authors argue this assumption does not hold.
    • Core concepts: The authors propose "lexically anchored" and "Shadow Knowledge"—information that exists in the parameters but is difficult to retrieve without an explicit name token; the accuracy difference caused by removing the name is called the "Shadow Gap."
    • Impact on unlearning: The authors state that unlearning benchmarks such as TOFU, MUSE, RWKU, and ELUDe almost exclusively judge forgetting success using direct name-based queries, which may let methods perform only "surface-level output filtering" while shadow knowledge remains, which the authors call the "Illusion of Forgetting."
    • Contributions of the paper: Proposes the ShadowBench benchmark (Dual-Trait Association task, hardened through three rounds v1–v3) and the Latent Entity Leakage Rate (LELR) metric, and uses them to evaluate 5 models and 3 unlearning algorithms.
    • Threat model (unlearning application part): The paper does not define a threat model in the form of an attack paper; the risk scenario described by the authors is:
      • Victim system: an LLM that has undergone entity-level unlearning (e.g., Qwen3-8B that has forgotten Elon Musk);
      • Attacker capability: submit anonymized attribute descriptions containing no entity names (shadow prompts) and recover information through deductive reasoning;
      • The authors state that implicit attribute associations do not generate name tokens and can bypass name-based refusals and lexical monitoring.
  2. What related research exists?

    Related work falls into four groups: knowledge and multi-hop question answering benchmarks, memory and long-tail knowledge research, machine unlearning algorithms and benchmarks, and shortcut learning.

    Knowledge and reasoning evaluation benchmarks

    • MMLU, ARC, TriviaQA, and HellaSwag test general knowledge; GSM8K, MATH, and BIG-Bench test reasoning; HotpotQA [48] and 2WikiMultiHopQA [19] test multi-hop retrieval. The paper notes that these works all rely on explicit entity names to trigger retrieval, and that multi-hop benchmarks provide explicit bridging entities in the prompt, whereas this paper's DTA task requires the model to navigate its internal latent graph on its own.

    Memory, long tail, and popularity bias

    • Carlini et al. [5] and Tirumala et al. [42] study LLM memorization, on which basis the paper proposes that memory structure depends on specific retrieval paths.
    • Kandpal et al. [22] (ICML 2023) found that LLMs struggle to learn long-tail knowledge, on which this paper's Popularity Bias hypothesis is built.

    Machine unlearning: algorithms and benchmarks

    • Algorithms: Gradient Ascent (Jang et al. [20]), Gradient Difference (Yao et al. [49]), NPO (Zhang et al. [51]), plus Ginart et al. [14], Bourtoule et al. [3], Sekhari et al. [38], and surveys [31, 46]; this paper uses GA, GD+KL, and NPO+KL as the evaluated subjects.
    • Benchmarks: TOFU [28], MUSE [39], RWKU [4], ELUDe [7]. The paper notes that they almost exclusively use explicit queries by name to judge unlearning success, which this paper says creates an "illusion of forgetting."
    • Tools: the Open-Unlearning framework [11] (used in this paper's experiments to implement the three algorithms); the Forget Set construction follows the approach of [7].

    Shortcut learning and related phenomena

    • Geirhos et al. [13] (shortcut learning) and Niven & Kao [32]: on this basis the paper performs three rounds of dataset hardening; the discussion section also cites the "Clever Hans" effect [24] to explain that CoT may amplify shortcuts.
    • RAG [25] and tool-based retrieval [30, 37]: the paper states that it focuses on parameterized knowledge itself, and external retrieval anchors are outside the scope of the evaluation.

    Positioning: The authors state that ShadowBench shifts evaluation from surface-level recall to Latent Entity Association and is the first lexical-anchor diagnostic for unlearning—the original source describes the benchmark as "rigorously hardened, shortcut-resistant" and uses LELR to reveal leakage that existing benchmarks mask.

  3. How does the paper address this problem?

    ShadowBench uses anonymized dual-attribute association tasks to measure latent retrieval, hardened over three rounds against shortcuts; the LELR metric detects identity reconstruction in reasoning traces after unlearning.

    Overall approach: build the ShadowBench benchmark, using a Dual-Trait Association (DTA) task to force the model to first perform entity identification and then attribute association without entity names; then use the LELR metric to apply this benchmark to auditing unlearning.

    Task formalization

    • The DTA task is formalized as T_{DTA}: Trait_A \xrightarrow{Identification} E_{latent} \xrightarrow{Association} Trait_B: the model first uses a shadow description (Trait A) to identify the hidden entity, then uses this latent node to find the second attribute (Trait B) among hard negative distractors.
    • The authors state that if the model cannot resolve the entity from Trait A, the association bridge collapses, thereby distinguishing "knowing a fact" from "being able to associate facts."

    Data construction (three stages, Figure 1)

    • Stage 1 entity stratification: BFS crawls Wikipedia categories, requiring an infobox and at least 15 sentences of body text; by popularity score Sp (a weighted percentile of monthly page views, citation count, and content length, with weights 0.5/0.3/0.2), take the Upper Tier (top 10%) and Lower Tier (bottom 10%).
    • Stage 2 semantic hardening: use the January 1, 2023 snapshot to ensure facts fall within the target model's pretraining distribution; NER filters high-attribute-density sentences and removes disputed "episode noise"; entity names and gendered pronouns are uniformly replaced with "the subject"; all facts are manually reviewed, requiring shadow descriptions to correspond one-to-one with entities. Funnel analysis of 10 representative entities: 2,697 original sentences were reduced by 33% through automatic filtering, and the retention rate after manual review was 2.1%.
    • Stage 3 MCQ construction: for each entity's N facts, make N×(N−1) permutations, with each fact taking turns as Trait A and the rest as Trait B; distractors are matched by generational proximity filtering (±25 years) and demographics (gender).

    Three rounds of version hardening (v1–v3, Appendix B.4)

    • v1 only removes names, and finds that models exploit unneutralized gendered pronouns as a shortcut; v2 neutralizes pronouns and adds a ±25-year Generational Proximity Filter to prevent era-matching shortcuts; v3 matches distractor gender, closing domain lexical leakage such as "WTA" and "Best Actress." The authors state that v3 makes success depend only on semantic association.

    Evaluation protocol

    • Logit-style multiple-choice evaluation, one-shot prompting (Appendix E.1 gives the full template); reasoning models (Qwen3, GPT-5.4, Claude) are allowed to generate CoT before answering.
    • Direct QA control: replace "the subject" back with the entity name, as the upper bound of fact recall; Shadow Gap = the difference between Direct QA and ShadowBench.

    Unlearning audit and LELR

    • Following [7], build a Forget Set (300 QA about Elon Musk, generated by Gemini-2.5-flash) and a Retain Set (neighbor entities + Alpaca samples); the Gold Subset retains only ShadowBench probes that the base model answers correctly (baseline accuracy 100%).
    • Use Open-Unlearning to implement GA, GD+KL, and NPO+KL, and select the Pareto-optimal checkpoint (UPPL < 100) via a grid search over learning rate and epochs.
    • LELR is defined as LELR = 1/N∑i=1N 𝟙(∃ τ ∈ T: τ ∈ CoT(Mθ(pi))), i.e., the proportion of unlearned model CoT traces in which the target entity identification token appears; the authors state that a high LELR indicates that the model internally reconstructs the "forgotten" identity.
  4. What experiments did the paper conduct?

    Shadow Gap is prevalent across 5 models; after unlearning, Qwen's direct recall is suppressed but LELR still exceeds 89%, whereas Llama "forgets" through weight degradation.

    Experimental setup

    • Models tested: 5 in total: Llama-3-8B-Instruct, Qwen3-8B, GPT-5.4-mini, GPT-5.4, Claude-Sonnet-4.6; frontier API calls were made in April–May 2026 (Appendix F.2).
    • Benchmark: ShadowBench v3, three domains (Technology, Sports-Tennis, Entertainment-Actors), each split into Upper/Lower tiers; QA pair counts: Tech 1,370/1,344, Sports 1,030/1,012, Ent 1,164/1,154 (Table 3).
    • Control: Direct QA (putting the name back into the question) as the recall upper bound; plus a controlled sensitivity subset with 1:1 entity matching (Table 4).
    • Metrics: accuracy; the unlearning part uses Direct Forget ROUGE/PPL, Shadow Acc, LELR, PM, SRacc, UPPL (Table 2).
    • Repetitions and statistics: 5 independent repetitions (k=5), with standard deviations all below 0.3%; paired t-tests: Popularity Bias p=0.0283, Shadow Gap on Tech-Upper p=0.0019, between-tier difference on the full set and the sensitive subset p=0.5868 (not significant).
    • Unlearning setup: target entity Elon Musk, Forget Set of 300 QA items (generated by Gemini-2.5-flash), Open-Unlearning framework, Pareto checkpoint requiring UPPL<100。

    主结果

    ShadowBench 与 Direct QA 准确率(%,据 Table 5;Llama/Qwen 为 CoT 设置):

    Swipe horizontally to read the table

    模型Tech-U (D/SB)Tech-LSports-USports-LEnt-UEnt-L
    Llama-3-8B-Instruct70.73/5442.49/4052.04/40.4937.94/37.1564.78/5233.62/31
    Qwen3-8B74.45/6256.70/56.7057.96/47.7756.62/53.5654.12/4440.29/41
    GPT-5.4-mini90.20/81.5078.57/67.7879.12/66.9976.38/63.8388.14/78.5268.11/47.74
    GPT-5.497.59/92.4889.06/76.6393.39/87.2885.08/77.9696.82/95.3677.56/56.93
    Claude-Sonnet-4.698.76/96.1391.59/80.6593.39/88.0684.78/79.0599.14/98.5478.42/61.69
    • 作者称所有模型去掉名称后准确率均下降;前沿模型在 Lower Tier 降幅最大:GPT-5.4 在 Ent-L 降 20.63 个百分点,Claude-Sonnet-4.6 降 16.73 个百分点,GPT-5.4-mini 降 20.37 个百分点(附录 B.1)。
    • 作者称存在 Popularity Bias(Upper > Lower) and strengthens with scale; the small gap on the Lower Tier for small models is because Direct QA is itself already low.
    • Exception: Qwen3-8B on Ent-L has ShadowBench (41) higher than Direct QA (40.29); the authors state in Appendix D.2 that this reversal is statistical noise (mean over 5 repetitions 39.60%±1.95%).

    Unlearning audit (Table 2, target Elon Musk)

    • Qwen3-8B: NPO+KL lowers Direct Forget ROUGE from 0.311 to 0.112 and raises PPL to 2,531, but Shadow Acc is still 64.9% and LELR 92.2%; LELR for GA and GD+KL is 93.5% and 89.6%, respectively. The authors state that this shows existing objectives are only surface-level filters.
    • Llama-3-8B-Instruct: After GA, LELR drops to 0, but UPPL rises to 57.5 and neighbor-knowledge SRacc is only 48.4%; the authors state that Llama's "forgetting" comes from non-specific weight destruction (Appendix Figure 11 gives a collapse example).
    • Training dynamics (Figure 3): The authors state that ROUGE collapses at Epoch 1 while LELR stays near 1.0 for a long time, and that true shadow elimination appears only when the model collapses overall (e.g., GD+KL Epoch 3).

    Causal validation and generalization

    • Name-masking intervention: Adding a constraint "do not mention the subject's name in your thinking" to 50 probes that Qwen3-CoT had answered correctly reduced accuracy from 100% to 63%; the authors state that this is causal evidence for lexical anchors acting as a functional bridge.
    • Multi-domain generalization (Table 9, NPO+KL, Qwen3-8B): Upper Tier LELR is 92.2% (Tech), 74.0% (Sports), 76.7% (Ent); Lower Tier LELR is 0% across the board, but Shadow Acc still reaches 90.0% (Tech), 60.0% (Sports), 62.5% (Ent). The authors use this to distinguish two kinds of leakage: explicit identity reconstruction for popular entities and implicit attribute association for less popular entities.

    Other ablations and analyses

    • Controlled sensitivity subset (Table 6): conclusions are unchanged under 1:1 entity matching; the between-tier difference on the full set and the subset is p=0.5868.
    • Reasoning gains (Table 1): CoT is generally beneficial for reasoning models, e.g., Qwen3-8B Tech-U rises from 56 (Std) to 62 (CoT).
    • v1/v2 results (Tables 7, 8): scores are higher without hardening, which the authors attribute to pronoun and era shortcuts; v1 and v2 were evaluated only on the two open-source models.
    • Variance (Table 10): Tech-Upper ShadowBench mean over 5 repetitions 64.60%, σ=0.20%.
  5. What are some points that can be further explored?

    The authors list four types of limitations: language, popularity proxy, LELR coverage, and era cues; the experiments cover 5 models, 3 domains, and 3 unlearning methods.

    Limitations and future directions noted by the authors

    • Language and corpus scope (Section 6): The evaluation is limited to English, with data from Wikipedia; the authors state that future work should explore multilingual and non-encyclopedic contexts.
    • Popularity proxy (Section 6): Sp is an external proxy for training frequency; a more direct measure would require access to the private training distribution of frontier models.
    • Coverage of LELR (Section 6): LELR only measures explicit identity reconstruction in reasoning traces, and for models that do not produce a visible CoT it is only a lower bound on leakage; the authors state that future work should combine internal representation probes to detect implicit residue.
    • Era cues (Section 6): Frontier models occasionally exploit subtle era cues, and the authors state that future versions may need to further isolate historical cues.
    • Unlearning direction (Section 5): The authors argue that future unlearning frameworks should prioritize dismantling parameterized attribute associations rather than relying on surface-level output filtering.

    Experimental coverage

    • 5 models were tested: Llama-3-8B-Instruct, Qwen3-8B, GPT-5.4-mini, GPT-5.4, Claude-Sonnet-4.6; frontier models were evaluated via API in April–May 2026 (Appendix F.2).
    • The benchmark covers 3 domains (Technology, Sports-Tennis, Entertainment-Actors) × 2 tiers, totaling 6,074 QA pairs (Table 3).
    • The unlearning evaluation covers three methods, GA, GD+KL, NPO+KL; the main experiment's target entity is Elon Musk, and multi-domain generalization is done only with NPO+KL on Qwen3-8B (Appendix C).
    • The name-masking intervention was performed on 50 probes that had been answered correctly (Section 4.5).
    • The paper does not report the judge model for the Direct QA and ShadowBench evaluations (logit-style multiple-choice automatic scoring was used); it does not report the number of human-review annotators or their agreement.
  6. Summarize the main content of the paper

    ShadowBench shows that LLM retrieval relies on entity names; unlearning only removes the lexical entry point, with LELR above 74% for popular entities and implicit associations still present for less popular entities.

    A benchmark and audit paper: the authors propose ShadowBench, which uses anonymized dual-attribute association (DTA) tasks to test whether LLMs can associate known facts without entity names, and use it to audit machine unlearning.

    • Problem: Existing knowledge evaluations and unlearning benchmarks all rely on explicit names to trigger retrieval, which the authors argue overestimates conceptual understanding and masks residual knowledge.
    • Method: ShadowBench was hardened over v1–v3 (pronoun neutralization, ±25-year generation filtering, gender-matched distractors) and contains 6,074 QA items across 3 domains and 2 tiers; the LELR metric counts the proportion of unlearned models' CoTs that contain the target entity name.
    • Shadow Gap: Accuracy dropped for all 5 models after removing names; GPT-5.4 on Entertainment-Lower fell from 77.56% to 56.93% (20.63 percentage points), and Claude-Sonnet-4.6 fell 16.73 percentage points (Table 5).
    • Unlearning audit: After NPO+KL, Qwen3-8B's Direct Forget ROUGE dropped to 0.112, but Shadow Acc was 64.9% and LELR 92.2% (Table 2); for Llama-3-8B, LELR dropped to 0 while UPPL rose to 57.5 and neighbor-knowledge SRacc fell to 48.4%, which the authors call weight destruction rather than true forgetting.
    • Two leakage modes: Popular entities rely on explicit identity reconstruction (Upper Tier LELR 74.0%–92.2%), while for less popular entities LELR is 0% but Shadow Acc is still 60.0%–90.0% (Table 9); the name-masking intervention reduced accuracy on 50 probes from 100% to 63%, which the authors say demonstrates that names are a functional retrieval bridge.
    • Authors' conclusion: Existing unlearning methods are only surface-level output filters that create an "illusion of forgetting"; the authors argue that future frameworks should dismantle parameterized attribute associations, and that standard evaluations based on direct recall are insufficient to guarantee safety.

Related papers

Show 2 more papers
Read originalNeurIPS 2026