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

BEAVER:一种高效的确定性大语言模型验证器

BEAVER: An Efficient Deterministic LLM Verifier

University of Illinois, Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Nalin Wadhwa, Tarun Suresh, Debangshu Banerjee, Gagandeep Singh

AI总结:

BEAVER 提出了一种计算大语言模型安全属性确定性概率界限的框架,通过新颖的 Token trie 和 Frontier 数据结构系统探索模型输出空间,提供可靠保证并识别更多高风险实例。

摘要:

BEAVER 提出了一种计算大语言模型安全属性确定性概率界限的框架,通过新颖的 Token trie 和 Frontier 数据结构系统探索模型输出空间,提供可靠保证并识别更多高风险实例。

英文摘要:

As large language models (LLMs) transition from research prototypes to production systems, practitioners need reliable ways to verify model outputs before they are deployed. While sampling-based estimates provide an ad-hoc intuition of model behavior, they offer no sound guarantees. We present BEAVER, the first practical framework for computing deterministic, sound bounds on the probability that an LLM's response to a prompt satisfies a property. Given a prompt and an oracle, BEAVER systematically explores the model's output distribution using a *token trie* and a *frontier*, maintaining provably sound bounds at every iteration. We formalize the LLM verification problem, prove that BEAVER's bounds are sound and that its selection strategy Max-$μ$ is optimal for verification upto any tolerance. On 3 important safety tasks across 5 popular LLMs, BEAVER certifies up to $7.6\times$ more prompts as risky than a sampling-based verifier while using fewer forward passes, and its per-prompt bounds extend to statistical certificates over distributions of prompts.

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

↑