AGO AI 质量门禁:面向检索增强生成的证据优先发布决策

·

研究论文 · 2026/10/07

企业采用检索增强生成(RAG)时面临一个反复出现的运营决策:推广、修订还是阻止某个系统版本。证据不完整,且指标来自可能出错的LLM评判器。我们报告了AGO AI质量门(AGO),一个在工业RAG评估项目中部署的以证据为先的质量门框架。AGO整合了四个关键组件:一个四状态决策模型,将缺失数据和评判错误视为明确结果;分层评分,结合确定性检查、本地护栏和结构化LLM评估;一个分层beta-二项式门,以概率方式量化回归风险;以及一个强制性的元评估协议,在LLM评判器影响决策之前对其进行验证。由于项目数据是专有的,我们在RAGBench上评估评判层,这是一个包含12个数据集、10万条标注RAG轨迹的公共基准。在相同的分层测试样本上(每个评判器N=1200),低成本评判器(gpt-4.1-nano)检测非遵循答案的能力仅略高于随机水平(AUROC 0.603 [0.570, 0.634]),尽管其协议输出完美无缺,而gpt-4o达到0.783 [0.756, 0.807]——但其各领域性能仍在0.62到0.88之间。一项涵盖回归、无变化和改进的固定种子门研究量化了不安全推广、误报成本和改进吞吐量。在回归情况下,决策级配置将不安全推广降低到22.2%-35.1%,而朴素门为29.3%-41.8%。这些结果支持了以下设计选择:评判质量必须按项目衡量,仅凭点估计不足以做出发布决策。

本文针对RAG系统部署中的关键决策问题,提出了一个实用的质量门框架,并通过实验证明了LLM评判器的局限性以及概率化决策的必要性,对工业界RAG评估具有重要指导意义。

Enterprises adopting retrieval-augmented generation (RAG) face a recurring operational decision: promote, revise, or block a system version. The evidence is incomplete and the metrics come from fallible LLM judges. We report on AGO AI Quality Gate (AGO), an evidence-first quality-gate framework deployed in industrial RAG assessment engagements. AGO integrates four key components: a four-state decision model that treats missing data and judge errors as explicit outcomes; layered scoring combining deterministic checks, local guardrails, and structured LLM evaluation; a stratified beta-binomial gate that quantifies regression risk probabilistically; and a mandatory meta-evaluation protocol to validate the LLM judge before it influences decisions. Since engagement data is proprietary, we evaluate the judge layer on RAGBench, a public benchmark of 100k annotated RAG traces across 12 datasets. On identical stratified test samples (N=1200 per judge), a low-cost judge (gpt-4.1-nano) detects non-adherent answers barely above chance (AUROC 0.603 [0.570, 0.634]), despite producing flawless protocol output, while gpt-4o reaches 0.783 [0.756, 0.807] -- yet its per-domain performance still ranges from 0.62 to 0.88. A fixed-seed gate study spanning regression, no change, and improvement quantifies unsafe promotion, false-alarm cost, and improvement throughput. Under regression, the decision-grade profile reduces unsafe promotion to 22.2%-35.1%, against 29.3%-41.8% for a naive gate. These results support the design choices that judge quality must be measured per engagement and that point estimates alone are not a release decision.

阅读原文

参与讨论