超越表面统计:通过内部表示实现LLM的鲁棒置信预测
Beyond Surface Statistics: Robust Conformal Prediction for LLMs via Internal Representations
AI总结:
本文提出一种基于内部表示的置信预测框架,通过层间信息评分提升LLM在分布偏移下的鲁棒性,优于文本层面基线方法。
摘要:
大型语言模型越来越多地部署在可靠性至关重要的场景中,但输出层面的不确定性信号如token概率、熵和自一致性在校准-部署不匹配时可能变得脆弱。置信预测在交换性下提供有限样本有效性,但其实际效用取决于非一致性评分的质量。我们提出了一种适用于LLM问答的置信框架,使用内部表示而非面向输出的统计信息:具体而言,我们引入了层间信息(LI)评分,该评分衡量在输入条件下预测熵在模型深度上的变化,将其作为标准分割置信流程中的非一致性评分。在封闭式和开放式问答基准上,特别是在跨领域偏移情况下,我们的方法在有效性-效率权衡上优于强文本层面基线,同时在相同名义风险水平下保持有竞争力的领域内可靠性。这些结果表明,内部表示在表面不确定性在分布偏移下不稳定时,可以提供更有信息量的置信评分。
英文摘要:
Large language models are increasingly deployed in settings where reliability matters, yet output-level uncertainty signals such as token probabilities, entropy, and self-consistency can become brittle under calibration--deployment mismatch. Conformal prediction provides finite-sample validity under exchangeability, but its practical usefulness depends on the quality of the nonconformity score. We propose a conformal framework for LLM question answering that uses internal representations rather than output-facing statistics: specifically, we introduce Layer-Wise Information (LI) scores, which measure how conditioning on the input reshapes predictive entropy across model depth, and use them as nonconformity scores within a standard split conformal pipeline. Across closed-ended and open-domain QA benchmarks, with the clearest gains under cross-domain shift, our method achieves a better validity--efficiency trade-off than strong text-level baselines while maintaining competitive in-domain reliability at the same nominal risk level. These results suggest that internal representations can provide more informative conformal scores when surface-level uncertainty is unstable under distribution shift.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。