AI Paper Atlas

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

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Uncertainty quantification for LLMs13 citations (OpenAlex)

Virginia Tech

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

10measured effects
6improved
3hurt
1mixed

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

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

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 changedWhereMeasuredEffect
use internal states of all layers with contrastive learning instead of final hidden state (SAPLMA)LLaMA-2-7B confidence estimation · six QA/reasoning/reading datasetsaccuracy and ECE: e.g. MMLU accuracy 0.606 -> 0.829 (TF)Improved
add contrastive loss (ablation)InternalInspector (CNN) · all six datasetsaccuracy: e.g. TriviaQA 0.627 -> 0.751Improved
CNN encoder instead of Transformer encoder (ablation)InternalInspector · six datasetsaccuracy: e.g. SQuAD 0.767 -> 0.807; MMLU 0.829 -> 0.815Mixed
InternalInspector for hallucination detection instead of CSS/SAPLMALLaMA-2-7B · HaluEval QAaccuracy: 0.562 -> 0.691Improved
train and test on different datasets within the same task categoryInternalInspector (CNN) · MMLUaccuracy: 0.815 -> 0.707Hurt
train on other task categories (cross-domain)InternalInspector (CNN) · MMLUaccuracy: 0.815 -> 0.598Hurt
add feed-forward states to attention and activation states (ablation)InternalInspector (CNN) · MMLUaccuracy: 0.673 -> 0.815Improved
use attention states only instead of feed-forward only (ablation)InternalInspector (CNN) · SQuADaccuracy: 0.615 -> 0.728Improved
use feed-forward states only instead of attention only (ablation)InternalInspector (CNN) · MMLUaccuracy: 0.535 -> 0.717Improved
self-evaluation (3-shot) baselineLLaMA-2-7B · TriviaQAaccuracy: 0.307 vs logit-based 0.453Hurt

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