cs.AIMar 26, 2026

LogitScope: A Framework for Analyzing LLM Uncertainty Through Information Metrics

Authors: Farhan Ahmed, Yuya Jeremy Ong, Chad DeLuca

Organizations: IBM Research · Plastic Labs

Abstract

Understanding and quantifying uncertainty in large language model (LLM) outputs is critical for reliable deployment. However, traditional evaluation approaches provide limited insight into model confidence at individual token positions during generation. To address this issue, we introduce LogitScope, a lightweight framework for analyzing LLM uncertainty through token-level information metrics computed from probability distributions. By measuring metrics such as entropy and varentropy at each generation step, LogitScope reveals patterns in model confidence, identifies potential hallucinations, and exposes decision points where models exhibit high uncertainty, all without requiring labeled data or semantic interpretation. We demonstrate LogitScope's utility across diverse applications including uncertainty quantification, model behavior analysis, and production monitoring. The framework is model-agnostic, computationally efficient through lazy evaluation, and compatible with any HuggingFace model, enabling both researchers and practitioners to inspect LLM behavior during inference.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The Anatomy of Uncertainty in LLMs

    Mar 26, 2026Aditya Taparia, Ransalu Senanayake, Kowshik Thopalli +1LLM AuditingLLM Reliability

  2. Semantic Token Clustering for Efficient Uncertainty Quantification in Large Language Models

    Mar 20, 2026Qi Cao, Andrew Gambardella, Takeshi Kojima +2LLM Uncertainty EstimationLLM Reliability