Paper: arXiv 2512.05156
Authors: Igor Halperin
Abstract
Evaluating faithfulness of Large Language Models (LLMs) to a given task is a complex challenge. We propose two new unsupervised metrics for faithfulness evaluation using insights from information theory and thermodynamics. Our approach treats an LLM as a bipartite information engine where hidden layers act as a Maxwell demon controlling transformations of context $C $ into answer $A$ via prompt $Q$. We model Question-Context-Answer (QCA) triplets as probability distributions over shared topics. Topic transformations from $C$ to $Q$ and $A$ are modeled as transition matrices ${"\bf Q"}$ and ${"\bf A"}$ encoding the query goal and actual result, respectively. Our semantic faithfulness (SF) metric quantifies faithfulness for any given QCA triplet by the Kullback-Leibler (KL) divergence between these matrices. Both matrices are inferred simultaneously via convex optimization of this KL divergence, and the final SF metric is obtained by mapping the minimal divergence onto the unit interval [“0,1”], where higher scores indicate greater faithfulness. Furthermore, we propose a thermodynamics-based semantic entropy production (SEP) metric in answer generation, and show that high faithfulness generally implies low entropy production. The SF and SEP metrics can be used jointly or separately for LLM evaluation and hallucination control. We demonstrate our framework on LLM summarization of corporate SEC 10-K filings.
Complexity vs Empirical Score
- Math Complexity: 7.5/10
- Empirical Rigor: 6.0/10
- Quadrant: Holy Grail — high math complexity, high empirical rigor
Why this score: The paper employs advanced mathematical concepts including KL divergence, convex optimization, and thermodynamic entropy production, placing it in the high math complexity range. However, its empirical demonstration is limited to 10 SEC 10-K examples without code, backtesting, or statistical validation, placing it just above the threshold for high empirical rigor.
Research Flowchart
flowchart TD A["Research Goal:<br>Evaluate LLM Faithfulness<br>without Supervision"] --> B["Data & Input:<br>Question-Context-Answer QCA triplets<br>from SEC 10-K Summarization"] B --> C["Methodology:<br>Model QCA as probability distributions<br>and transition matrices via convex optimization"] C --> D["Computational Processes:<br>1. Semantic Faithfulness SF<br>via KL Divergence mapping to [0,1"]<br>2. Semantic Entropy Production SEP<br>thermodynamic analysis] D --> E["Key Outcomes:<br>SF & SEP metrics enable<br>unsupervised hallucination control<br>High Faithfulness correlates with Low Entropy"]
Cited References (17)
- Topic Identification in LLM Input-Output Pairs through the Lens of Information Bottleneck (2025) — link
- Detecting hallucinations in large language models using semantic entropy (2024) — link
- Judging LLM-as-a-judge with MT-Bench and Chatbot Arena (2023) — link
- Energy and information flows in autonomous systems (2022) — link
- Unified framework for the entropy production and the stochastic interaction based on information geometry (2018) — link
- Thermodynamics from Information (2018) — link
- Information geometry and its applications (2012) — link
- Stochastic thermodynamics, fluctuation theorems and molecular machines (2012) — link
and 9 more
- Fluctuation Relations: A Pedagogical Overview (2012) — link
- Entropy production along a stochastic trajectory and an integral fluctuation theorem. (2005) — link
- Information Theory and Statistics: A Tutorial (2004) — link
- ROUGE: A Package for Automatic Evaluation of Summaries (2004)
- Bleu: a Method for Automatic Evaluation of Machine Translation (2002) — link
- Computation of channel capacity and rate-distortion functions (1972) — link
- Information Theory: 1948-1998 - Guest Editorial (1998)
- “An Algorithm to Compute the Capacity of Discrete Memoryless Channels” (1972)
- “Prompt-Response Semantic Divergence Metrics for Faithfulness Hal-lucination Detection in Large Language Models”
0 of 17 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.