Do LLMs Know What They Have Seen?

Jens LehmannarXiv 2026

TL;DR

When a large language model (LLM) tells you a fact "sounds familiar," can you trust that it actually knows it—or even that it's seen it? This paper shows that an LLM's sense of familiarity, confidence, and ability to pick the right answer from a multiple-choice list can completely decouple from what it can actually recall. Even after reading a fictional fact 256 times, models can state the answer when asked directly, yet rate the claim as no more familiar than something they've never seen.

What Problem Does This Paper Address?

Suppose you're building an AI system that needs to decide whether to trust its own memory or look something up on the web. A natural idea is to ask the model: "How familiar does this claim seem?" or "How confident are you?"

In humans, a "feeling of knowing" can be triggered just by recognizing the words in a question. This paper asks whether LLMs have a similar disconnect. Specifically:

  1. Do an LLM's familiarity ratings actually predict whether a fact appears in its pretraining data?
  2. If you teach an LLM a brand-new fact by repeating it, does its sense of familiarity—and its ability to recognize or verify that fact—grow alongside its ability to recall it?

Methods

The author tackles this with a clever two-part approach:

  • The Natural Study (OLMo 2 13B): Across four training stages (Base, SFT, DPO, and RLVR), the author asked OLMo 2 13B to rate its familiarity with real-world Wikidata claims. Then, using infini-gram, they searched the model's actual pretraining corpus to see if those claims were truly stated there. They also trained a linear classifier on the model's hidden states to see if internal activations knew something the model's verbal ratings didn't.
  • The Controlled Exposure Study (Olmo 3.1 32B & Qwen3.8-27B): Real-world data is messy—two names might appear together in a text without stating how they're related. To isolate fact frequency (how often a fact is stated) from name frequency (how often the entities appear), the author continued pretraining Olmo 3.1 32B and Qwen3.8-27B on completely fictional facts (e.g., Person P was born in City A). Every candidate answer co-occurred with the subject equally often in neutral "catalogue" passages, while only the true fact was explicitly stated 0, 4, or 16 times (and up to 256 times in an extended run).
Controlled exposure design for a fictional birthplace

Datasets

  • Natural Study: Up to 200 Wikidata claims across eight relations (1,577 usable claims total, with 787 held out for testing), paired with the indexed OLMo 2 13B pretraining corpus.
  • Controlled Study: A newly constructed synthetic dataset of 3,456 fictional "units" across 16 relations (1,728 test units per model). Each unit features an invented subject and four invented candidate answers built from a small syllable inventory.
  • Controls: 32 well-known real-world facts (with false versions) and fictional claims with never-trained names.

Key Insights and Ideas

  • Familiarity ratings are nearly blind to pretraining data: On Wikidata claims, OLMo 2 13B's familiarity ratings predicted whether a supporting passage existed in its pretraining corpus about as well as a coin flip (AUC 0.47–0.54). Yet a linear probe on its hidden states did much better (AUC 0.89)—and did almost as well when shown only the two entity names (AUC 0.87), because name co-occurrence alone is a strong clue for whether a corpus search will find a passage.
Figure 2: Predicting which claims have a supporting passage in the OLMo 2 13B corpus (RLVR checkpoint). Both comparisons use the same fitted predictors and the same 55 attested claims. AUC measures how often an attested claim outranks an unattested one, counting ties as half.
  • Models can recall what they can't recognize: In the controlled study, repeating a fictional fact made the models much better at answering a plain, open-ended question. Yet when shown four options first (multiple choice), they guessed near chance! Even stranger: if they answered the plain question first and were then asked to match their own answer to the options, they got it right almost every time.
  • Judgment follows the conversation, not the weights: When asked to verify a correct answer ("Is X the author?"), Olmo 3.1 said "No" 100% of the time. However, if the model had just stated an answer in the previous turn—even a wrong answer inserted by the researcher—its subsequent truth and familiarity ratings shifted to favor whatever was just said.
Figure 1: Five prompts from the controlled study (Sections 4–5). (a) Each row starts a fresh conversation with the same checkpoint. Parentheses give the chosen name. (b) Tasks share questions within a run. Declines earn no credit. Verification counts confirmations of the correct name. On questions answered correctly unaided, both models scored 25% with options first (16/64 and 39/156) and 100% when matching their answer to an option (64/64 and 156/156). Figure 10 gives additional prompts for the same book.

Key Results

  • Recall skyrockets with exposure: From 0 to 16 statements, accuracy on name-only questions jumped from 10% to 86% in Olmo 3.1 32B and from 18% to 72% in Qwen3.8-27B.
  • Familiarity and multiple choice stay flat: Across those same 0 to 16 statements—and even up to 256 statements—familiarity ratings barely budged (within ±0.001 on a 0–1 scale), and multiple-choice accuracy remained near chance (~25%).
  • The "learned" answer is glued to the subject: When asked about a different relation for the same subject (e.g., asking who translated a book whose author they had learned), Olmo 3.1 and Qwen still spat out the learned name in 158/192 and 111/192 cases, respectively.

Limitations and Future Work

The author notes several caveats: continued pretraining on fictional facts in fixed templates differs from original pretraining on diverse web text. The adaptation also degraded general instruction following, and three Qwen runs failed a basic counting control (though the results held in the runs that passed). Future work could explore whether facts learned during original pretraining are equally fragile when distractors or unrelated names are added to the prompt, and how to design knowledge-update evaluations that test what a model can actually do with an answer rather than relying on familiarity checks.

Summary updated

BibTeX
@misc{lehmann2026do,
  author = {Jens Lehmann},
  title = {{Do LLMs Know What They Have Seen?}},
  year = {2026},
  eprint = {2612.00380},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00380},
}
Figure