Geometry reveals hidden knowledge in large language models

The Geometry of Ignorance: Detecting Suppressed Knowledge in LLMs through Activation Fragmentation

Artificial Intelligence

Summary

Sometimes large language models refuse to answer questions, but they might still secretly know the answers. The authors found a way to look inside these models by comparing how their 'thought patterns' change between a question and a similar disguised question. Real knowledge shows up as a neat cluster, while ignorance looks like a messy spread. This method helps detect hidden knowledge that normal tests miss, and it also helps understand how models ‘forget’ or get attacked.

What this means in practice

  • For ai safety engineers: Detect suppressed knowledge to verify if models truly forgot sensitive data after unlearning processes.
  • For machine learning security teams: Identify vulnerabilities in models by analyzing internal activation patterns to understand and defend against adversarial attacks.

Authors

Adar Peleg, Dvir Alsheich, Tomer Ashuach, Avi Mendelson

Abstract

Evaluating whether a large language model (LLM) genuinely knows a concept remains a fundamental problem, since behavioral metrics can be fooled by suppression: a model that refuses to answer may still harbor recoverable knowledge. The framework measures the geometric coherence of \textit{anon-vectors}, the differences in hidden states between a concept-specific query and its anonymized paraphrase, and shows that genuine knowledge forms a tight, low-entropy cluster while ignorance forces geometric fragmentation. Across ten instruction-tuned LLMs from three model families, all fragmentation metrics reliably separate known from unknown concepts, and post-unlearning, fragmentation geometry correlates with adversarial recovery across four attack types and five unlearning algorithms, though the direction of that relationship is shown to depend on attack methodology. Furthermore, a layer-resolved analysis reveals that different adversarial mechanisms exploit this geometry at varying depths, with high attack-specific correlations that are invisible to behavioral evaluation. Together, these results constitute a single-phase, attack-free proxy for unlearning robustness that captures aspects of parametric knowledge inaccessible to output-level metrics. A reference implementation is available at https://github.com/AdarPeleg/geometry-of-ignorance