Research map / Large language models / Language, safety and interpretability
FACTCHECKMATE: Preemptively Detecting and Mitigating Hallucinations in LMs
Deema Alnuhait, Neeraja Kirtane, Muhammad Khalifa, Hao Peng
University of Illinois, Urbana Champaign · University of Michigan
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 mean pooling instead of last-token pooling of hidden states (ablation) | preemptive classifier · Llama3-8B layer 15 | accuracy (I): 70.5/71.0 -> 75.9 (max/last vs mean) | Improved |
| give the classifier only the input question (I) instead of input plus output (I+O) | hallucination classifier · NQ/MMLU/MedMCQA/GSM8K | accuracy: e.g. Llama2-13B MMLU 94.0 -> 93.0; Gemma-7B MMLU 92.2 -> 96.9 | Mixed |
| drop the last n input tokens from the classifier prefix (ablation) | preemptive classifier · Llama3-8B MMLU | accuracy: 94.0 -> 77.3 (I to I-3) | Hurt |
| replace LM hidden states with word embedding layer as classifier input (ablation) | preemptive classifier · Llama-2-7B MedMCQA | accuracy: 52.3 (I) vs 63.9 (I+O) | Hurt |
| add the intervention model g_phi (deterministic) on hidden state | base LM · NQ-open, GPT-4o win rate | win rate: +34.4% more factual on average | Improved |
| use classifier-guided sampling without intervention (ablation) | Sample-FactCheckmate-CLS · sampling comparison | win rate | Mixed |
| train classifier on one LM and test on a different LM (ablation) | cross-model classifier · unseen models | accuracy: about 48-51.5 on unseen models | Hurt |
| train classifier on combined multi-dataset data | cross-dataset classifier · Llama2-7b-hf | accuracy (I): NQ-Open 72.9, MMLU 69.1, MedMCQA 59.3 | Mixed |
| add FactCheckmate detection and intervention at inference | Llama-2-7B/Llama-3-8B/Llama-3.1-8B · decoding time | inference time increase: 0.94%, 1.71%, 0.96% (avg about 1.2%) | No clear effect |
Open problems this paper states
- “Uses only hidden states as the internal component for factuality classification, and does not work for black-box LMs.” → Needs internal states or token probabilities, so closed API models are out. (an open problem in data and hallucination detection)
- “Experiments cover only QA tasks; other generation tasks like summarization or dialogue need other metrics and make locating hallucination onset harder.” → Hallucination detection is tested on short question answering, not long text. (an open problem in data and hallucination detection)
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
- LLM-Check: Investigating Detection of Hallucinations in Large Language Models (NeurIPS 2024 · similarity 0.92)
- Simple Factuality Probes Detect Hallucinations in Long-Form Natural Language Generation (EMNLP 2025 · similarity 0.91)
- FactTest: Factuality Testing in Large Language Models with Finite-Sample and Distribution-Free Guarantees (ICML 2025 · similarity 0.91)
- Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models (ACL 2024 · similarity 0.91)
- Scalable Token-Level Hallucination Detection in Large Language Models (NeurIPS 2026 · similarity 0.90)
- HaDeMiF: Hallucination Detection and Mitigation in Large Language Models (ICLR 2025 · similarity 0.90)
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.