arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.27403cs.LGcs.AI
收藏

基于符合采样的通用化证书的条件事实性控制大语言模型

Conditional Factuality Controlled LLMs with Generalization Certificates via Conformal Sampling

Case Western Reserve University(凯斯西储大学)

Kai Ye, Qingtao Pan, Shuo Li

AI总结:

本文提出条件事实性控制框架CFC,通过增强分位数回归定义连续特征条件接受阈值,实现条件覆盖保证,并在理论和实验上证明其高效性与稳定性。

摘要:

大型语言模型(LLMs)需要可靠的测试时间幻觉控制。现有LLMs的符合方法通常只提供边缘保证并依赖单一全局阈值,这可能导致对困难提示的覆盖不足,对简单提示的覆盖过多,并产生过大的预测集。我们提出条件事实性控制(CFC),一种后处理符合框架,返回具有条件覆盖保证的集合值输出。CFC通过增强分位数回归在潜在“成功”分数上定义连续、特征条件接受阈值,并在推理时间通过固定点阈值规则部署。理论上,我们证明在交换性条件下,CFC满足条件覆盖保证,并分析其效率,证明在轻微假设下,条件规则比边缘符合预测更高效。我们进一步推导出PAC型变体CFC-PAC,基于稳定性界缩减名义风险水平,从而获得有限样本证书,确保条件误覆盖偏离目标不超过O(√(log(1/δ)/N))。实验上,在合成数据、现实推理和问答基准以及Flickr8k VLM设置中,CFC和CFC-PAC在不同难度组中一致实现接近目标覆盖,同时使用比CP和非CP基线更小的预测集。

英文摘要:

Large language models (LLMs) need reliable test-time control of hallucinations. Existing conformal methods for LLMs typically provide only \emph{marginal} guarantees and rely on a single global threshold, which can under-cover hard prompts, over-cover easy ones, and produce oversized prediction sets. We propose \emph{Conditional Factuality Control} (CFC), a post-hoc conformal framework that returns \emph{set-valued} outputs with \emph{conditional} coverage guarantees. CFC defines a continuous, feature-conditional acceptance threshold through augmented quantile regression on a latent ``success'' score, and deploys it through a fixed-point threshold rule at inference time. Theoretically, we show that CFC satisfies a conditional coverage guarantee under exchangeability and analyze its \emph{efficiency}, proving that, under mild assumptions on the score distributions, the conditional rule is strictly more sample-efficient than marginal conformal prediction at the same target coverage. We further derive a PAC-style variant, CFC-PAC, which shrinks the nominal risk level based on a stability bound, yielding a finite-sample certificate that the conditional miscoverage deviates from the target by at most $O(\sqrt{\log(1/δ)/N})$. Empirically, on synthetic data, real-world reasoning and QA benchmarks, and a Flickr8k VLM setting, CFC and CFC-PAC consistently attain near-target coverage across difficulty groups while using smaller prediction sets than CP and non-CP baselines.

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

↑