false

Semantic Faithfulness and Entropy Production Measures to Tame Your LLM Demons and Manage Hallucinations

Semantic Faithfulness and Entropy Production Measures to Tame Your LLM Demons and Manage Hallucinations ArXiv ID: 2512.05156 “View on arXiv” 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. ...

December 4, 2025 · 2 min · Research Team

Cognitive Energy Cost of Informed Decisions

Cognitive Energy Cost of Informed Decisions ArXiv ID: 2310.15082 “View on arXiv” Authors: Unknown Abstract Time irreversibility in neuronal dynamics has recently been demonstrated to correlate with various indicators of cognitive effort in living systems. Using Landauer’s principle, which posits that time-irreversible information processing consumes energy, we establish a thermodynamically consistent measure of cognitive energy cost associated with belief dynamics. We utilize this concept to analyze a two-armed bandit game, a standard decision-making framework under uncertainty, considering exploitation, finite memory, and concurrent allocation to both game options or arms. Through exploitative, prediction-error-based belief dynamics, the decision maker incurs a cognitive energy cost. Initially, we observe the rise of dissipative structures in the steady state of the belief space due to time-reversal symmetry breaking at intermediate exploitative levels. To delve deeper into the belief dynamics, we liken it to the behavior of an active particle subjected to state-dependent noise. This analogy enables us to relate emergent risk aversion to standard thermophoresis, connecting two apparently unrelated concepts. Finally, we numerically compute the time irreversibility of belief dynamics in the steady state, revealing a strong correlation between elevated - yet optimized - cognitive energy cost and optimal decision-making outcomes. This correlation suggests a mechanism for the evolution of living systems towards maximally out-of-equilibrium structures. ...

October 23, 2023 · 2 min · Research Team