Lune

ICML2024Top-tier venue

Characterizing Truthfulness in Large Language Model Generations with Local Intrinsic Dimension

Fan Yin, Jayanth Srinivasa, Kai-Wei Chang

Abstract

We study how to characterize and predict the truthfulness of texts generated from large language models (LLMs), which serves as a crucial step in building trust between humans and LLMs. Although several approaches based on entropy or verbalized uncertainty have been proposed to calibrate model predictions, these methods are often intractable, sensitive to hyperparameters, and less reliable when applied in generative tasks with LLMs. In this paper, we suggest investigating internal activations and quantifying LLM's truthfulness using the local intrinsic dimension (LID) of model activations. Through experiments on four question answering (QA) datasets, we demonstrate the effectiveness of our proposed method. Additionally, we study intrinsic dimensions in LLMs and their relations with model layers, autoregressive language modeling, and the training of LLMs, revealing that intrinsic dimensions can be a powerful approach to understanding LLMs. Code is available at: https://github.com/fanyin3639/ LID-HallucinationDetection .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generative Modeling of Weights: Generalization or Memorization? cites The Intrinsic Dimension of Images and Its Impact on Learning
  • Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs cites Uncertainty Estimation in Autoregressive Structured Prediction
  • HaloScope: Harnessing Unlabeled LLM Generations for Hallucination Detection cites Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs
  • HaloScope: Harnessing Unlabeled LLM Generations for Hallucination Detection cites The Internal State of an LLM Knows When It's Lying
  • HaloScope: Harnessing Unlabeled LLM Generations for Hallucination Detection cites Uncertainty Estimation in Autoregressive Structured Prediction
  • Beyond Token Probes: Hallucination Detection via Activation Tensors with ACT-ViT cites The Internal State of an LLM Knows When It's Lying
  • LLM-Check: Investigating Detection of Hallucinations in Large Language Models cites The Internal State of an LLM Knows When It's Lying
  • LLM-Check: Investigating Detection of Hallucinations in Large Language Models cites Intrinsic Dimension Estimation for Robust Detection of AI-Generated Texts
  • LLM-Check: Investigating Detection of Hallucinations in Large Language Models cites Uncertainty Estimation in Autoregressive Structured Prediction
  • Intrinsic Dimension Estimation for Robust Detection of AI-Generated Texts cites The Intrinsic Dimension of Images and Its Impact on Learning
  • Geometry of Decision Making in Language Models cites Intrinsic Dimension Estimation for Robust Detection of AI-Generated Texts
  • Geometry of Decision Making in Language Models cites The Intrinsic Dimension of Images and Its Impact on Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. LLM-Check: Investigating Detection of Hallucinations in Large Language ModelsGaurang Sriramanan, Siddhant Bharti, Vinu Sankar Sadasivan, Shoumik Saha et al.NeurIPS 2024 · 170 citations
  2. HaloScope: Harnessing Unlabeled LLM Generations for Hallucination DetectionXuefeng Du, Chaowei Xiao, Sharon LiNeurIPS 2024 · 131 citations
  3. Beyond Token Probes: Hallucination Detection via Activation Tensors with ACT-ViTGuy Bar-Shalom, Fabrizio Frasca, Yaniv Galron, Yftah Ziser et al.NeurIPS 2025 · 17 citations
  4. Generative Modeling of Weights: Generalization or Memorization?Boya Zeng, Yida Yin, Zhiqiu Xu, Zhuang LiuCVPR 2026 · 12 citations
  5. Geometry of Decision Making in Language ModelsAbhinav Joshi, Divyanshu Bhatt, Ashutosh ModiNeurIPS 2025 · 12 citations

Builds on10

  1. Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMsMiao Xiong, Zhiyuan Hu, Xinyang Lu, Yifei Li et al.ICLR 2024 · 867 citations
  2. Uncertainty Estimation in Autoregressive Structured PredictionAndrey Malinin, Mark J. F. GalesICLR 2021 · 439 citations
  3. The Intrinsic Dimension of Images and Its Impact on LearningPhillip Pope, Chen Zhu, Ahmed Abdelkader, Micah Goldblum et al.ICLR 2021 · 381 citations
  4. The Internal State of an LLM Knows When It's LyingAmos Azaria, Tom M. MitchellEMNLP Findings 2023 · 177 citations
  5. Intrinsic Dimension Estimation for Robust Detection of AI-Generated TextsEduard Tulchinskii, Kristian Kuznetsov, Laida Kushnareva, Daniil Cherniavskii et al.NeurIPS 2023 · 163 citations

Related papers

  1. Are the Hidden States Hiding Something? Testing the Limits of Factuality-Encoding Capabilities in LLMsGiovanni Servedio, Alessandro De Bellis, Dario Di Palma, Vito Walter Anelli et al.ACL 2025 · 9 citations
  2. Automatic Layer Selection for Hallucination DetectionXinpeng Wang, William Cao, Andrew Wilson, Zhe ZengICML 2026 · 2 citations
  3. Two Pathways to Truthfulness: On the Intrinsic Encoding of LLM HallucinationsWen Luo, Guangyue Peng, Wei Li, Shaohang Wei et al.ACL 2026 · 3 citations
  4. In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination MitigationShiqi Chen, Miao Xiong, Junteng Liu, Zhengxuan Wu et al.ICML 2024 · 49 citations
  5. Beyond Output Confidence: Epistemic-Aware Hallucination Detection with Answer-Level SignalsJieran Li, Xiuyuan Hu, Yang Zhao, Dongbiao Sun et al.ACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines