Entropy Sentinel: Continuous LLM Accuracy Monitoring from Decoding Entropy Traces in STEM
Pedro Memoli Buffa, Luciano Del Corro
TL;DR
This work investigates continuous monitoring of LLM accuracy under domain shift by leveraging inference-time entropy traces derived from final-layer top-$k$ log-probabilities. By compressing each generation's entropy into an 11-dimensional feature vector and training a lightweight probabilistic predictor, the method yields instance-level correctness probabilities that are averaged to produce domain-level accuracy estimates. Across ten STEM benchmarks and nine LLMs, entropy-profile signals often track held-out accuracy and preserve domain rankings, with reliability strongly influenced by the diversity of supervision used during training; mixing easy and hard tasks generally yields the best generalization. The approach offers a scalable, deployment-friendly primitive for monitoring and data acquisition prioritization, compatible with both open and closed models, though practitioners should validate calibration on their target model due to model-dependence and potential calibration gaps.
Abstract
Deploying LLMs raises two coupled challenges: (1) monitoring - estimating where a model underperforms as traffic and domains drift - and (2) improvement - prioritizing data acquisition to close the largest performance gaps. We test whether an inference-time signal can estimate slice-level accuracy under domain shift. For each response, we compute an output-entropy profile from final-layer next-token probabilities (from top-k logprobs) and summarize it with eleven statistics. A lightweight classifier predicts instance correctness, and averaging predicted probabilities yields a domain-level accuracy estimate. We evaluate on ten STEM reasoning benchmarks with exhaustive train/test compositions (k in {1,2,3,4}; all "10 choose k" combinations), across nine LLMs from six families (3B-20B). Estimates often track held-out benchmark accuracy, and several models show near-monotonic ordering of domains. Output-entropy profiles are thus an accessible signal for scalable monitoring and for targeting data acquisition.
