arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.10193cs.CLcs.LG
收藏

共形语言建模

Conformal Language Modeling

CSAIL, MIT(麻省理工学院计算机科学与人工智能实验室);Google Research(谷歌研究院);UC Berkeley(加州大学伯克利分校);UCSF(加州大学旧金山分校)

Victor Quach, Adam Fisch, Tal Schuster, Adam Yala, Jae Ho Sohn, Tommi S. Jaakkola, Regina Barzilay

AI总结:

提出一种针对生成式语言模型的共形预测方法,通过校准停止规则和拒绝规则构建候选输出集,并证明其以高概率包含可接受答案且能识别无幻觉的独立组件子集。

摘要:

我们提出了一种用于生成式语言模型(LMs)的共形预测新方法。标准的共形预测生成预测集(而非单一预测),并具有严格的统计性能保证。LM的响应通常从模型在自然语言庞大且组合式的输出空间上的预测分布中采样得到。将此过程转化为共形预测,我们校准了一个停止规则,用于从LM中采样不同的输出并添加到不断扩大的候选集中,直到我们确信输出集已足够。由于某些样本可能质量较低,我们同时还校准并应用了一个拒绝规则,用于从输出集中移除候选者以减少噪声。类似于共形预测,我们证明了我们的方法返回的采样集以高概率至少包含一个可接受的答案,同时在平均意义上仍保持经验上的精确性(即集合较小)。此外,在这组候选响应中,我们表明还可以准确识别出各个独立组件(如短语或句子)的子集,这些组件各自独立正确(例如,不是“幻觉”),同样具有统计保证。我们在开放域问答、文本摘要和放射学报告生成等多个任务上,使用不同的LM变体展示了该方法的应用前景。

英文摘要:

We propose a novel approach to conformal prediction for generative language models (LMs). Standard conformal prediction produces prediction sets -- in place of single predictions -- that have rigorous, statistical performance guarantees. LM responses are typically sampled from the model's predicted distribution over the large, combinatorial output space of natural language. Translating this process to conformal prediction, we calibrate a stopping rule for sampling different outputs from the LM that get added to a growing set of candidates until we are confident that the output set is sufficient. Since some samples may be low-quality, we also simultaneously calibrate and apply a rejection rule for removing candidates from the output set to reduce noise. Similar to conformal prediction, we prove that the sampled set returned by our procedure contains at least one acceptable answer with high probability, while still being empirically precise (i.e., small) on average. Furthermore, within this set of candidate responses, we show that we can also accurately identify subsets of individual components -- such as phrases or sentences -- that are each independently correct (e.g., that are not "hallucinations"), again with statistical guarantees. We demonstrate the promise of our approach on multiple tasks in open-domain question answering, text summarization, and radiology report generation using different LM variants.

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

↑