驯服变异性:面向 LLM 的随机化与自助法共形风险控制
Taming Variability: Randomized and Bootstrapped Conformal Risk Control for LLMs
AI总结:
本文提出基于 CRC 的 API 执行器及 BB-CRC、RBWA-CRC 与 Gram 矩阵语义量化方法,在有限样本下控制 LLM 输出风险并提升 LLM-as-judge 可靠性。
摘要:
我们利用位于 API 接口处的执行器,将 LLM 的随机性转化为精确保证;该执行器通过 Conformal Risk Control(CRC,共形风险控制)在有限样本中施加用户定义的风险约束。这种无需标签且与模型无关的执行器仅依据来自不透明输出的标量分数,管理放行/弃权(不执行)/升级三种动作。我们通过 Batched Bootstrap CRC(BB-CRC)和 Randomized Batched Weighted-Average CRC(RBWA-CRC)提升 CRC 的计算效率与稳健性,在保持统计有效性的同时减少校准调用并稳定阈值。此外,我们提出一种基于 Gram 矩阵几何的语义量化方法,从而形成可解释的信号与指标设计。这些组成部分共同为缓解 LLM 幻觉和提升 LLM-as-judge 可靠性提供有原则的随机性控制。我们使用四个数据集评估该框架,结果证明其在增强事实准确性和衡量 LLM-as-judge 性能方面的有效性,并产生一个简化且计算高效的控制层,将变异性转化为统计有效性。
英文摘要:
We transform the randomness of LLMs into precise assurances using an actuator at the API interface that applies a user-defined risk constraint in finite samples via Conformal Risk Control (CRC). This label-free and model-agnostic actuator manages ship/abstain/escalate actions based solely on a scalar score from opaque outputs. We enhance CRC's computational efficiency and robustness through Batched Bootstrap CRC (BB-CRC) and Randomized Batched Weighted-Average CRC (RBWA-CRC), reducing calibration calls and stabilizing thresholds while maintaining statistical validity. Additionally, we present a semantic quantification method grounded in gram matrix geometry, resulting in interpretable signal and metric design. Together these pieces deliver principled randomness control for LLM hallucination mitigation and LLM-as-judge reliability. Our framework is assessed using four datasets, demonstrating its efficacy in enhancing factual accuracy and measuring LLM-as-judge performance, yielding a simplified and computationally efficient control layer that converts variability into statistical validity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。