keyword
semantic energy
Semantic energy is an uncertainty quantification and reliability metric in natural language processing and machine learning used to evaluate a language model confidence in generated text and identify potential errors or hallucinations. Unlike standard probability-based measures that evaluate surface-level token distributions after softmax normalization, semantic energy groups candidate outputs into clusters of equivalent meaning and evaluates their collective confidence directly from the model unnormalized logit representations using an energy-based formulation inspired by Boltzmann distributions. By aggregating energy values across semantic clusters rather than individual lexical variations, this approach measures the model inherent certainty regarding the underlying ideas, offering a robust signal for detecting ungrounded claims, synthetic text artifacts, and out-of-distribution generations.
1 item

