Skip to main content
QUICK REVIEW

[论文解读] Entropy Sentinel: Continuous LLM Accuracy Monitoring from Decoding Entropy Traces in STEM

Pedro Memoli Buffa, Luciano Del Corro|arXiv (Cornell University)|Jan 13, 2026
Topic ModelingComputer Science被引用 0
一句话总结

本文提出 Entropy Sentinel,一种轻量级方法,利用前 k 个 logprobs 的解码时熵轨迹来预测每个实例的正确性并在分布漂移下估计领域级准确率,从而实现对 STEM 推理任务的持续监测和有针对性的数据获取。

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 different 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 $\binom{10}{k}$ combinations), on different classifier models and features across nine LLMs from six families (3B--20B). Estimates often track held-out benchmark accuracy, and several models show near-monotonic ordering of domains, providing evidence for output-entropy profiles being an accessible signal for scalable monitoring and for targeted data acquisition.

研究动机与目标

  • 推动在域漂移下对 LLMs 可能表现不佳的场景进行可扩展监控。
  • 展示最终层熵分布可以在使用轻量级模型的情况下预测实例正确性。
  • 通过对分片内的实例预测进行聚合,实现领域级准确性估计。
  • 在多家 LLM 家族和 STEM 基准上证明基于熵的监控的鲁棒性。

提出的方法

  • 在生成过程中对前 k 个下一个单词概率计算输出熵轨迹(k=20)。
  • 将轨迹汇总成一个11 维特征向量,捕捉集中趋势、离散性、尾部和形状(最大值、均值、标准差、Q10/25/50/75/90、偏度、峰度、SEA)。
  • 训练一个轻量级概率分类器,将熵特征映射到每实例正确概率 P(x)。
  • 通过对切片 D 中的实例的预测正确概率取平均来估计领域级准确性(Â(D) = 平均 P(x))。
  • 通过对十个 STEM 基准和九个 LLM(3B–20B)进行穷尽的训练/测试划分及多种估计器变体来评估在域移位下的鲁棒性。
  • 将基于熵的估计方法与标准不确定性基线进行比较,并分析监督组成(k 个基准)的对泛化的影响。
Figure 1: Entropy-based accuracy estimation for PHI-3.5-MINI-3.6B. Trained on two benchmarks (orange), the estimator generalizes to eight unseen STEM benchmarks (blue)
Figure 1: Entropy-based accuracy estimation for PHI-3.5-MINI-3.6B. Trained on two benchmarks (orange), the estimator generalizes to eight unseen STEM benchmarks (blue)

实验结果

研究问题

  • RQ1推断时熵信号在域移位下是否能预测实例正确性?
  • RQ2基于经校准的熵分布预测器,按实例预测进行聚合,能否较好地估计领域级准确性?
  • RQ3监督覆盖范围如何(用于训练的基准集合)对域外准确性估计有何影响?
  • RQ4不同估计器设计(分类器类型、校准、平衡)如何影响性能与鲁棒性?

主要发现

  • 基于熵分布的信号在不同模型和基准间对正确与错误的区分具有非平凡的效果(AUROC 通常 > 0.5)。
  • 将11D 的熵分布特征向量输入轻量级分类器,可以以经校准的概率预测实例正确性,从而通过求平均实现领域级准确性估计(Â(D))。
  • 跨域准确性估计对某些模型表现强劲(如排序几乎完美、某些配置的 AEE 低),但取决于模型,需在目标模型上进行验证。
  • 覆盖任务难度的监督(混合易难基准)比在同质难度集上的监督更能提升泛化能力。
  • 增加监督基准数量(k)可持续降低估计误差并改善秩次一致性,尽管收益因模型而异。
Figure 2: Max-entropy density for phi-3.5-mini on MATH (correct vs. incorrect). Incorrect responses shift to higher entropy, indicating greater uncertainty.
Figure 2: Max-entropy density for phi-3.5-mini on MATH (correct vs. incorrect). Incorrect responses shift to higher entropy, indicating greater uncertainty.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。