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

学习使用置信度令牌路由大语言模型

Learning to Route LLMs with Confidence Tokens

Rice University(里士大学);Apple, Inc.(苹果公司)

Yu-Neng Chuang, Prathusha Kameswara Sarma, Parikshit Gopalan, John Boccio, Sara Bolouki, Xia Hu, Helen Zhou

AI总结:

本文提出Self-REF方法,通过引入置信度令牌训练LLM可靠表达答案置信度,从而提升下游路由和拒绝学习任务的准确率。

摘要:

大语言模型(LLMs)在多项任务上展示了令人印象深刻的表现,并越来越多地部署于现实世界应用中。然而,尤其是在高风险场景下,了解LLM的输出何时可能不可靠变得至关重要。根据答案是否可信,系统可以选择将问题路由给另一位专家,或者回退到安全的默认行为。在这项工作中,我们研究了LLM能够可靠地指示其答案置信度的程度,以及这种置信度概念如何转化为下游准确率的提升。我们提出了基于错误反馈的自我反思(Self-REF),一种轻量级训练策略,教导LLM以可靠的方式表达其答案是否正确。Self-REF在LLM中引入置信度令牌,从中可以提取置信度分数。与诸如口头表达置信度和检查令牌概率等传统方法相比,我们通过实验证明,置信度令牌在下游路由和拒绝学习任务中显示出显著的改进。

英文摘要:

Large language models (LLMs) have demonstrated impressive performance on several tasks and are increasingly deployed in real-world applications. However, especially in high-stakes settings, it becomes vital to know when the output of an LLM may be unreliable. Depending on whether an answer is trustworthy, a system can then choose to route the question to another expert, or otherwise fall back on a safe default behavior. In this work, we study the extent to which LLMs can reliably indicate confidence in their answers, and how this notion of confidence can translate into downstream accuracy gains. We propose Self-Reflection with Error-based Feedback (Self-REF), a lightweight training strategy to teach LLMs to express confidence in whether their answers are correct in a reliable manner. Self-REF introduces confidence tokens into the LLM, from which a confidence score can be extracted. Compared to conventional approaches such as verbalizing confidence and examining token probabilities, we demonstrate empirically that confidence tokens show significant improvements in downstream routing and rejection learning tasks.

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

↑