arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.28937cs.LGstat.ML
收藏

推理时模型偏移下语言模型的共形预测审计

Auditing Conformal Prediction for Language Models Under Inference-Time Model Shift

Tongji University(同济大学);Technical University of Darmstadt(达姆施塔特工业大学)

Achref Doula, Max Mühlhäuser

AI总结:

该研究针对推理时模型偏移导致语言模型共形预测评估偏差的问题,通过理论分析与多模型多基准实验,提出应将推理配置作为共形预测评估的一级实验轴。

摘要:

语言模型的共形预测(Conformal Prediction, CP)通常在匹配协议下进行评估,其中校准和部署使用相同的训练后推理配置,如量化模式和推理温度。在部署时,这些选择通常与校准时不同,以满足内存、吞吐量约束或服务策略。我们认为这暴露了当前语言模型CP评估协议的一个局限。我们将潜在现象形式化为推理时模型偏移:由推理配置而非输入-标签分布引起的共形得分分布变化,并从理论上刻画了即使任务分布和训练模型不变,这如何破坏分割共形的可交换性。随后,我们在8个语言模型、4个有限标签基准和12种推理配置上评估其后果。我们发现,匹配评估可能会大幅高估部署时的覆盖率,且该效应在模型和数据集间存在异质性。我们认为,在语言模型系统的CP评估中,应将推理配置作为一级实验轴进行报告。

英文摘要:

Conformal prediction (CP) for language models is typically evaluated under a matched protocol, in which calibration and deployment use the same post-training inference configuration, such as quantization mode and inference temperature. In deployment, these choices often differ from those used at calibration to meet memory or throughput constraints or serving policies. We argue that this exposes a limitation in current CP evaluation protocols for language models. We formalize the underlying phenomenon as inference-time model shift: a change in the conformal score distribution induced by inference configuration rather than by the input--label distribution, and theoretically characterize how it breaks split-conformal exchangeability even when the task distribution and trained model are unchanged. We then evaluate its consequences across 8 language models, 4 finite-label benchmarks, and 12 inference configurations. We find that matched evaluation can substantially overstate deployment-time coverage, and that the effect is heterogeneous across models and datasets. We argue that inference configuration should be reported as a first-class experimental axis in CP evaluations for language-model systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑