AI工作流何时应当发布?面向黑盒生成-验证系统的始终有效推断 When Should an AI Workflow Release? Always-Valid Inference for Black-Box Generate-Verify Systems 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-05-13
👁️ 预览文献
💡 AI 中文简介
大模型驱动的AI工作流通过反复生成、评估、修改来产出结果,但每轮迭代都面临一个决策:什么时候停止并发布当前结果?由于评估分数是自适应产生并被反复监控的,传统校准方法所需的概率模型假设不再成立。本文提出一种“始终有效”的发布包装器,通过构建高分失败样本的硬负参考池,将黑盒评估分数转化为保守证据,并用e-process累积证据,从而在可选的停止时刻仍保持统计有效性。理论上证明了该方法能有限样本控制不可行任务的误发布概率,并在MBPP+编程智能体案例中减少了过早的错误发布。
领域统计机器学习 / 大语言模型智能体工作流
适合谁读需要一定专业背景(统计学、序贯检验、LLM智能体)
核心贡献1. 提出一种始终有效的发布包装器,将黑盒生成-验证流水线的评估分数通过硬负参考池转化为保守证据,并用e-process在可选停止下保持统计有效性;2. 理论上给出有限样本下对不可行任务误发布概率的控制,并刻画可行任务上仍能实现非平凡发布的条件。
关键数据在MBPP+编程智能体案例中,相比基线停止规则,该包装器减少了过早的错误发布,同时仍能对反复积累中等支持证据的任务进行发布。
推荐理由如果你关心大模型工作流“什么时候该停”这个实际又棘手的问题,这篇论文给出了有统计保证的答案,值得一读。
关键词["智能体AI工作流", "e-process", "大语言模型", "选择性发布", "序贯假设检验"]

原文摘要

查看英文原文摘要

LLM-enabled AI workflows increasingly produce outputs through iterative generate-evaluate-revise loops. Each iteration can improve the candidate, but it also creates a release decision: when to stop and output the current result? This raises a statistical challenge because deployment-time evaluator scores are adaptively generated and repeatedly monitored, yet the likelihood models or exchangeability assumptions typically used for calibration are unavailable. We propose an always-valid release wrapper for existing generator-evaluator pipelines. The wrapper builds a hard-negative reference pool of high-scoring failures, calibrates deployment-time evaluator scores against this pool, and accumulates the resulting evidence with an e-process. This separates two roles: the reference pool turns black-box scores into conservative evidence, while the e-process provides validity under optional stopping. In theory, we show that a conservative reference pool yields finite-sample control of the probability of releasing on infeasible tasks, that is, tasks for which the given workflow is not capable of producing a reliable solution. We also characterize conditions under which the same conservative rule still achieves nontrivial release on feasible tasks. In an MBPP+ coding-agent case study, the wrapper reduces premature incorrect release relative to baseline stopping rules while still releasing on tasks for which the workflow repeatedly accumulates moderate supporting evidence.