Research map / Large language models / Language, safety and interpretability
InternalInspector $I^2$: Robust Confidence Estimation in LLMs through Internal States
Mohammad Beigi, Ying Shen, Runing Yang, Zihao Lin, Qifan Wang, Ankith Mohan, Jianfeng He, Ming Jin, Chang-Tien Lu, Lifu Huang
Virginia Tech
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.
On benchmark leaderboards
- MMLU leaderboard accuracy 82.9 · rank 33 of 267 papers
- TriviaQA leaderboard accuracy 76.9 · rank 10 of 40 papers
- CommonsenseQA leaderboard accuracy 76.3 · rank 30 of 54 papers
- OpenBookQA leaderboard accuracy 79.1 · rank 17 of 50 papers
This paper tried a common change: Add a contrastive loss
add contrastive loss · all six datasets · accuracy: e.g. TriviaQA 0.627 -> 0.751 Improved
What 1,541 accepted papers report for this change
- 1,463 improved
- 27 no clear effect
- 20 mixed
- 31 hurt
- Beyond Looking Up, Try Looking Around: Harmonizing Global Structure and Local Consistency in Optimal Transport for Short Text Clustering ICML 2026 · add contrastive learning · SearchSnippets · ACC: 56.65 -> 80.12Improved
- SleepLM: Natural-Language Intelligence for Human Sleep ICML 2026 · add contrastive objective to captioning (CoCa vs Cap) · sleep event IoU · IoU: 29.2 -> 27.4Hurt
- LIMSSR: LLM-Driven Sequence-to-Score Reasoning under Training-Time Incomplete Multimodal Observations ICML 2026 · add contrastive loss L_con · FS1000 average · Spearman correlation: 0.759 -> 0.789Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use internal states of all layers with contrastive learning instead of final hidden state (SAPLMA) | LLaMA-2-7B confidence estimation · six QA/reasoning/reading datasets | accuracy and ECE: e.g. MMLU accuracy 0.606 -> 0.829 (TF) | Improved |
| add contrastive loss (ablation) | InternalInspector (CNN) · all six datasets | accuracy: e.g. TriviaQA 0.627 -> 0.751 | Improved |
| CNN encoder instead of Transformer encoder (ablation) | InternalInspector · six datasets | accuracy: e.g. SQuAD 0.767 -> 0.807; MMLU 0.829 -> 0.815 | Mixed |
| InternalInspector for hallucination detection instead of CSS/SAPLMA | LLaMA-2-7B · HaluEval QA | accuracy: 0.562 -> 0.691 | Improved |
| train and test on different datasets within the same task category | InternalInspector (CNN) · MMLU | accuracy: 0.815 -> 0.707 | Hurt |
| train on other task categories (cross-domain) | InternalInspector (CNN) · MMLU | accuracy: 0.815 -> 0.598 | Hurt |
| add feed-forward states to attention and activation states (ablation) | InternalInspector (CNN) · MMLU | accuracy: 0.673 -> 0.815 | Improved |
| use attention states only instead of feed-forward only (ablation) | InternalInspector (CNN) · SQuAD | accuracy: 0.615 -> 0.728 | Improved |
| use feed-forward states only instead of attention only (ablation) | InternalInspector (CNN) · MMLU | accuracy: 0.535 -> 0.717 | Improved |
| self-evaluation (3-shot) baseline | LLaMA-2-7B · TriviaQA | accuracy: 0.307 vs logit-based 0.453 | Hurt |
Closest papers by meaning
- LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinations (ICLR 2025 · similarity 0.89)
- Truth is Universal: Robust Detection of Lies in LLMs (NeurIPS 2024 · similarity 0.88)
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection (ICLR 2024 · similarity 0.87)
- FactTest: Factuality Testing in Large Language Models with Finite-Sample and Distribution-Free Guarantees (ICML 2025 · similarity 0.87)
- Characterizing Truthfulness in Large Language Model Generations with Local Intrinsic Dimension (ICML 2024 · similarity 0.87)
- ConfTuner: Training Large Language Models to Express Their Confidence Verbally (NeurIPS 2025 · similarity 0.86)
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.
