Research map / Large language models / Language, safety and interpretability
LLM Factoscope: Uncovering LLMs' Factual Discernment through Measuring Inner States
Jinwen He, Yujia Gong, Zijin Lin, Cheng’an Wei, Yue Zhao, Kai Chen
Chinese Academy of Sciences · University of Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use multiple inner states across layers (LLM Factoscope) instead of single-layer activations | factual detector · Factual detection dataset | accuracy: 0.880 -> 0.961 (GPT2-XL); 0.785 -> 0.974 (Vicuna-13B) | Improved |
| use white-box inner states instead of black-box output probabilities or self-labeling | factual detector · Factual detection dataset | accuracy: Calibration-Prob 0.657-0.868; Calibration-LLM Label 0.105-0.405; SelfCheckGPT 0.551-0.646 | Improved |
| add sub-models one by one (activation, rank, top-k index, top-k prob) (ablation) | LLM Factoscope · Factual detection (GPT2-XL-1.5B) | accuracy: slight consistent gain (Figure 6) | Improved |
| add sub-models one by one (ablation) | LLM Factoscope · Leave-one-out generalization (GPT2-XL-1.5B) | accuracy: no numbers in text (Figure 7) | Improved |
| raise top-k from 4 to 10 (ablation) | LLM Factoscope · Factual detection (GPT2-XL-1.5B) | accuracy: 90.4% -> 95.4% | Improved |
| vary support set size from 50 to 250 (ablation) | LLM Factoscope · Factual detection (Llama2-7B) | accuracy | No clear effect |
| replace ResNet18 with fully connected layers for top-k indices (ablation) | LLM Factoscope · Factual detection | accuracy: to 73.6% | Hurt |
| replace ResNet18 (act, prob) with FC or GRU with RNN (ablation) | LLM Factoscope · Factual detection | accuracy: slight decline | Hurt |
| evaluate on held-out relation (Book-Author) for Stablelm-7B vs Llama2-7B | LLM Factoscope · Book-Author leave-one-out | accuracy: 97.7% (Llama2-7B) vs 69.0% (Stablelm-7B) | Mixed |
| leave-one-out generalization versus SAPLMA | LLM Factoscope · Leave-one-out (Book-Author, Celebrity-Country, Athlete-Country) | accuracy: average above baseline except Stablelm-7B | Mixed |
Later papers that compared with this method
1 later accepted paper reports LLM Factoscope as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysis (EMNLP 2025 · better on 8 of 8 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in data and hallucination detection
Can hallucinations and training-data use be detected without model internals, across languages, long outputs and larger models?
- Needs internal states or token probabilities, so closed API models are out. · 19 papers state it
- Results come from small open models, not frontier or reasoning models. · 17 papers state it
- Tested only on English text in the detection setups. · 10 papers state it
Closest papers by meaning
- Truth is Universal: Robust Detection of Lies in LLMs (NeurIPS 2024 · similarity 0.90)
- How to Catch an AI Liar: Lie Detection in Black-Box LLMs by Asking Unrelated Questions (ICLR 2024 · similarity 0.89)
- LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinations (ICLR 2025 · similarity 0.89)
- OntoFact: Unveiling Fantastic Fact-Skeleton of LLMs via Ontology-Driven Reinforcement Learning (AAAI 2024 · similarity 0.87)
- FactTest: Factuality Testing in Large Language Models with Finite-Sample and Distribution-Free Guarantees (ICML 2025 · similarity 0.87)
- LLM-Check: Investigating Detection of Hallucinations in Large Language Models (NeurIPS 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.