跳到正文
arXiv (AI + Vision + Imaging)· Nalin Wadhwa, Tarun Suresh, Debangshu Banerjee, Gagandeep Singh·· 1 天前AI 评分26

BEAVER:一种高效的确定性LLM验证器

BEAVER: An Efficient Deterministic LLM Verifier

AI 导读

BEAVER是首个可计算LLM回复满足某性质概率的确定性可靠边界的实用框架,通过token trie与frontier系统性探索模型输出分布,每轮迭代均保持可证明的可靠边界。在5个主流LLM的3项安全任务上,BEAVER比基于采样的验证器多认证最多7.6倍的风险提示,且前向计算次数更少。

正文 · 原文

arXiv:2512.05439v3 Announce Type: replace Abstract: 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-$\mu$ 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org