熵哨兵:基于STEM解码熵迹的连续LLM准确性监控
Entropy Sentinel: Probing Entropy Traces for LLM Monitoring
AI总结:
提出利用输出熵迹作为推理时信号,通过轻量分类器预测实例正确性并聚合为领域级准确性估计,在STEM推理基准上验证了其用于监控和数据采集的有效性。
摘要:
部署LLM引发两个耦合挑战:(1)监控——在流量和领域漂移时估计模型表现不佳的位置;(2)改进——优先获取数据以缩小最大的性能差距。我们测试推理时信号能否在领域偏移下估计切片级准确性。对于每个响应,我们从最终层下一个词元概率(来自top-$k$ logprobs)计算输出熵迹,并用不同统计量汇总。一个轻量分类器预测实例正确性,平均预测概率得到领域级准确性估计。我们在十个STEM推理基准上进行了详尽的训练/测试组合($k\in\{1,2,3,4\}$;所有$inom{10}{k}$组合),在来自六个系列(3B--20B)的九个LLM上评估不同分类器模型和特征。估计值通常跟踪保留的基准准确性,并且多个模型显示领域近乎单调的排序,为输出熵迹作为可扩展监控和针对性数据采集的可访问信号提供了证据。
英文摘要:
Deploying LLMs raises two coupled challenges: (1) monitoring---estimating where a model underperforms as traffic drifts---and (2) prioritization---deciding where to intervene to close the largest performance gaps. We explore whether top-$k$ logprobs---cheap, consumer-accessible signals from standard inference---can serve as reliable proxies for domain-level quality of both verifiable and subjective tasks. We summarize each response's output-entropy profile into a compact vector, predict instance quality with a lightweight classifier, and then average predictions to yield a domain-level estimate. On verifiable tasks (ten STEM benchmarks, nine LLMs, exhaustive train/test compositions), estimates often track held-out accuracy, with several models showing near monotonic calibration. On subjective tasks, trained on LLM-judge scores over categorized real user conversations, several models track the judge's slice scores remarkably closely ($r$ up to $0.91$) and detect the worst-performing categories near-perfectly, though this is not the case for all LLMs. Where coupling holds, results suggest that entropy signals can support monitoring at a fraction of the cost of judge-based evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。