arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.16994cs.AIcs.CLcs.LG
收藏

一种基于投票者的随机拒绝方法框架,用于实现渐近安全的语言模型输出

A Voter-Based Stochastic Rejection-Method Framework for Asymptotically Safe Language Model Outputs

Department of Industrial and Systems Engineering, Georgia Institute of Technology, Atlanta, Georgia, USA(工业与系统工程系,佐治亚理工学院,亚特兰大,佐治亚州,美国)

Jake R. Watts, Joel Sokol

AI总结:

提出 RCR 投票式重复检查与再生成框架,利用 LLM 随机性以 Pareto 最优成本实现目标失败率,并证明失败率随成本指数下降。

摘要:

我们提出一种通过利用大型语言模型(LLM)的随机性来预防不安全或其他低质量 LLM 输出的方法,我们将该方法称为 Repeated Checking with Regeneration(RCR,重复检查与再生成)。在该系统中,LLM 检查者对生成输出的可接受性进行投票;如果反对票达到阈值,则重新生成输出,直到有足够数量的检查者批准。基于我们针对成本和失败率的估计量,以及面向具体应用定制的实验数据,我们的算法能够以 Pareto 最优成本达到期望的预期失败率。可以证明,失败率作为成本的函数呈指数下降;即使数据有限,这些模型也能合理估计此类系统在实际运行中的真实性能。该方法不依赖于所使用的语言模型,并可能使廉价、小型的 LLM 控制、约束非常复杂且昂贵的模型,在某些任务上甚至超越它们。

英文摘要:

We propose an approach for preventing unsafe or otherwise low-quality large language model (LLM) outputs by leveraging the stochasticity of LLMs, an approach we call Repeated Checking with Regeneration (RCR). In this system, LLM checkers vote on the acceptability of a generated output, regenerating it if a threshold of disapproval is reached, until sufficient checkers approve. Based on our estimators for cost and failure rate and experimental data tailored to the application, our algorithm achieves a desired expected failure rate at Pareto-optimal cost. The failure rate provably decreases exponentially as a function of cost, and the models reasonably estimate the actual performance of such a system in action, even with limited data. This approach does not depend on the language model used, and could allow cheap, small LLMs to control, constrain, or at some tasks even outperform very complex and costly ones.

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

↑