arXiv 论文提出 Prefill1:让生成式验证器提前出判断,节省最多 84.84% 服务开销
Reading Decisions Before Spans: Efficient Generative Verification
如果你在跑幻觉检测或代码审查类的验证服务,这篇值得看:作者发现验证器的判断在错误列表生成本地化之前就定了,Prefill1 只解码一个分支 token,比完整生成省 84.84% 服务开销,F1 几乎不掉。比同样截断的 Native8 还能多省 31.98%,做低延迟验证管线的工程师可以直接参考。
一篇 arXiv 论文研究了生成式验证器的输出效率问题:判断结果其实在生成本地化错误列表之前就已确定。作者在一个冻结的 2B span verifier 上发现,“错误列表为空”与“错误列表包含第一个对象”之间的分支选择先于所有定位输出。基于这一观察,Native8 方法在分支点即停止生成,而 Prefill1 进一步把分支前固定的 7 个语法 token 改为 prefill 输入,只生成不受约束的分支 token,且沿用同一原生指令。
在 2,015 条 code-agent TEST 响应上,Prefill1 相对完整生成将 eager resident service 降低 84.84%,released-reference F1 为 83.43,与全量生成的 83.41 基本持平;即便与逻辑 token 总量相同的 Native8 相比,也额外节省 31.98%。在默认编译执行下,Prefill1 在完整工作负载上再节省 6.74%-26.73%,且决策变化很小。论文通过受控证据干预和 first-location 解码,界定了这些更短的读出保留了什么信息、哪些仍需继续生成。
Reading Decisions Before Spans: Efficient Generative Verification
A developer checking an assistant's report may need only an alarm that a claim is unsupported. A generative verifier, however, can continue decoding to quote and classify the errors. We study how much of that output is needed to recover its decision. In a frozen 2B span verifier, the choice between an empty error list and its first object precedes all localization. Native8 stops generation at this branch. The preceding seven syntax tokens are fixed, so Prefill1 supplies them as input and generates only the unrestricted branch token, using the same native instruction. On 2,015 code-agent TEST responses, Prefill1 reduces eager resident service by 84.84% relative to full generation, with released-reference F1 of 83.43 versus 83.41. It saves 31.98% over Native8 even though their logical token totals are identical. Under default compiled execution, the extra saving is 6.74-26.73% on the complete workload, with small decision changes. Controlled evidence interventions and first-location decoding establish what these shorter readouts retain and what requires further generation.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Prefill1, inference optimization, agents.
Source attribution: curated from arXiv cs.AI (@Yanbin Gong, Lei Chen).