Detecting Outdated Knowledge in Large Language Models

Rania Elbadry, Ahmed Heakl, Fan Zhang, Dani Bouch, Yuxia Wang, Preslav Nakov, Zhuohan XieNeurIPS 2026

TL;DR

When the real world moves past an LLM’s training cutoff, the model doesn’t suddenly grow hesitant—it keeps reciting old facts with complete confidence, rendering standard hallucination detectors useless. This paper discovers that LLMs actually carry a hidden internal signal indicating whether a fact has likely gone stale. Best of all, this "staleness" signal lives along a geometric axis completely separate from whether the model feels right or uncertain, allowing a simple linear probe to trigger web searches far more effectively than confidence checks.

What Problem Does This Paper Address?

Imagine asking a model trained in 2022 who coaches Paris Saint-Germain in 2026. It might smoothly reply "Thomas Tuchel." That’s wrong, of course, but it’s a very specific kind of wrong: it isn't a wild fabrication; it’s a memory that expired.

Most existing safety checks—whether looking at output token probabilities, semantic consistency across multiple generations, or internal "truthfulness" probes—hunt for signs of uncertainty or fabrication. Because an LLM recalling an outdated fact is retrieving a genuinely learned memory, it exhibits high confidence and low entropy. Consequently, standard detectors treat stale facts just like true ones, failing to flag when the system needs to look up fresh information via Retrieval-Augmented Generation (RAG).

Methods

Instead of watching what the model says, the authors look at what it thinks right as it starts to answer.

  1. Linear Drift Probes: For six instruction-tuned LLMs (across Llama, Mistral, Qwen, and Gemma families), the authors extract residual-stream activations—the hidden state vectors passing between transformer layers—at the very first content token of the generated answer. They train a lightweight linear classifier (an $L_1$-regularized probe) to predict temporal drift: whether the real-world answer changed after the model's training cutoff. To prevent the probe from cheating by just reading the year in the prompt (e.g., guessing "2026 = drifted"), they strictly train and evaluate on post-cutoff query years and split data by underlying facts.
  2. Geometric & Mechanistic Analysis: Using standard interpretability tools—weight cosine similarity, Iterative Null-Space Projection (erasing specific linear concepts from hidden states), activation patching, and Direct Logit Attribution (measuring how each layer pushes toward the final token)—they map out how drift relates to correctness/uncertainty and why it never shows up in the final output probabilities.
Mean drift-probe scores jump sharply for facts that changed near or after each model's training cutoff.

Datasets

Existing temporal QA benchmarks (like TempLAMA or StreamingQA) provide point-in-time answers, which isn't enough to tell if a wrong answer is an old truth or a total invention.

The authors built a new dataset from dated Wikidata timelines containing 3,511 queries over 1,342 facts (spanning years 2010–2026). It focuses on four volatile relations—head_of_government, head_coach, chair_of, and owned_by—recording the entire history of role-holders (and expanded to 18 relations for generalization tests). They also cross-reference entity mentions against the Dolma pretraining corpus to check how historical date exposure affects the model's internal signals.

Key Insights and Ideas

  • Staleness is orthogonal to confidence: The linear direction encoding temporal drift is almost perfectly perpendicular ($|\cos| \le 0.090$) to the directions encoding correctness and uncertainty. Even if you mathematically erase correctness and uncertainty from the hidden states, drift detection barely budges. Models track temporal validity on an independent axis.
  • The signal is genuinely model-specific: What if the probe just learns that "sports coaches change a lot"? The authors fed identical prompts about facts that changed between two models' cutoff dates (e.g., late 2022 vs. mid-2024). In 97.5%–99.8% of cases, the older model scored higher for drift than the newer one.
  • Why outputs hide the truth: Internally, a second linear probe easily separates stale recall from pure confabulation (0.96 mean AUROC). Yet at the output level, Direct Logit Attribution reveals that the model's MLP layers push tokens toward outdated answers and fabricated answers with nearly identical layer-by-layer trajectories ($r = 0.94$). The model weighs competing candidates internally during retrieval, stores the residue in its hidden states, and then flattens the distinction when speaking.
Figure 2: Drift, correctness, and uncertainty probe scores for Mistral-7B at layer 6. The drift score distinguishes drifted from non-drifted facts more clearly (AUROC 0.99) than the correctness (0.71) or uncertainty (0.54) scores. Correctness and uncertainty have a weak negative correlation (r = -0.24).

Key Results

  • Crushing confidence baselines: On post-cutoff queries across six models, standard output and representation methods (token entropy, Semantic Entropy, CCS, SAPLMA, SEP) hover near random chance at 0.49–0.56 mean AUROC. The linear drift probe reaches 0.80–0.93 AUROC (mean 0.87).
  • Beating historical odds: A clever survival-analysis baseline that predicts drift purely from how frequently a role changed in the past hits 0.709 AUROC—beating every confidence metric—yet the internal drift probe still outperforms it on the exact same queries (0.905 AUROC).
  • Smarter RAG budgets: When given a strict budget to verify only 20% of queries externally, ranking by the drift probe catches 63%–66% of stale facts, compared to 49% for historical volatility, 45% for token entropy, and at most 34% for adaptive-RAG triggers like FLARE, SeaKR, or CtrlA.

Limitations and Future Work

The study focuses exclusively on short-form factual queries across instruction-tuned models up to 9B parameters, and relies solely on linear readouts. Furthermore, the probe works noticeably worse on obscure facts that rarely appeared alongside dates during pretraining (dropping from 0.945 AUROC on well-dated facts to 0.782 on sparse ones). Future work aims to test base models and much larger scales, explore broader domains like shifting medical guidelines or software APIs, and tackle long-form generations where current and outdated facts are tangled together in the same paragraph.

Summary updated

Abstract

Real-world facts, such as who leads a government, can change after a language model's training cutoff. As a result, a model may confidently repeat an outdated answer, making confidence-based checks insufficient for deciding when external verification is needed. Here we aim to study this. In particular, we investigate whether hidden states contain a signal of temporal knowledge drift that these checks fail to capture. Using dated Wikidata timelines, we label 3,511 queries according to whether their answers have changed after each model's cutoff. We train a linear probe to predict drift and evaluate it on held-out facts. Across six instruction-tuned LLMs from four families, the probe detects drift with 0.80–0.93 AUROC, while prior methods using correctness, uncertainty, and consistency remain near chance (0.49–0.56). Moreover, the drift-probe direction is almost perpendicular to those of probes trained to detect correctness or uncertainty. In the models we test, the signal that predicts the drift is therefore encoded separately from whether the model is correct or unsure, which is why prior methods have missed it. Our results suggest that the models we tested encode whether their knowledge is likely out-of-date along an axis that confidence-based methods do not read. Our code and data are available at https://github.com/mbzuai-nlp/geometry-of-staleness.
BibTeX
@inproceedings{elbadry2026detecting,
  author = {Rania Elbadry and Ahmed Heakl and Fan Zhang and Dani Bouch and Yuxia Wang and Preslav Nakov and Zhuohan Xie},
  title = {{Detecting Outdated Knowledge in Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=sZ9wFqGDVd},
}
Figure