scimeatlas

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

ACL 2024Large language models › Language, safety and interpretabilityapproach: Data and hallucination detectionopen problems in this approach54 citations (OpenAlex)

Chinese Academy of Sciences · University of Chinese Academy of Sciences

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
5improved
1no clear effect
2hurt
2mixed

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 changedWhereMeasuredEffect
use multiple inner states across layers (LLM Factoscope) instead of single-layer activationsfactual detector · Factual detection datasetaccuracy: 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-labelingfactual detector · Factual detection datasetaccuracy: Calibration-Prob 0.657-0.868; Calibration-LLM Label 0.105-0.405; SelfCheckGPT 0.551-0.646Improved
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)accuracyNo clear effect
replace ResNet18 with fully connected layers for top-k indices (ablation)LLM Factoscope · Factual detectionaccuracy: to 73.6%Hurt
replace ResNet18 (act, prob) with FC or GRU with RNN (ablation)LLM Factoscope · Factual detectionaccuracy: slight declineHurt
evaluate on held-out relation (Book-Author) for Stablelm-7B vs Llama2-7BLLM Factoscope · Book-Author leave-one-outaccuracy: 97.7% (Llama2-7B) vs 69.0% (Stablelm-7B)Mixed
leave-one-out generalization versus SAPLMALLM Factoscope · Leave-one-out (Book-Author, Celebrity-Country, Athlete-Country)accuracy: average above baseline except Stablelm-7BMixed

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy