arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.11686cs.CLcs.AI
收藏

层隔离评估:使用无LLM、回归锁定的测试工具对生产级LLM代理的确定性框架进行门控

Layer-Isolated Evaluation: Gating the Deterministic Scaffold of a Production LLM Agent with a No-LLM, Regression-Locked Test Harness

Lumivate (Lumi)(Lumivate(Lumi))

Sawyer Zhang, Alexander Wang, Sophie Lei

AI总结:

提出层隔离评估方法,将LLM代理分解为固定层次,用确定性无LLM测试套件逐层检测回归,证明聚合指标会掩盖局部退化,而逐层基线门控可准确定位。

摘要:

端到端任务成功是评估LLM代理的主要方式,但一个聚合数字只能告诉你代理发生了回归,却无法指出具体位置。我们提出层隔离评估:将一个部署的订单代理分解为固定的层次分类(本体、意图、路由、分解、升级、安全、记忆以及跨领域的封装/防御),每一层由其在确定性、无LLM“纯”模式下的断言切片独立测试。纯测试套件(23个切片共238个案例;225个在2.39秒内运行,约10毫秒/案例)在每次变更时针对锁定的逐切片基线在CI中运行。我们通过受控回归注入进行验证,一次退化一个非安全层(共七个层)。我们未设计的效果是掩蔽:聚合通过率几乎不变(六个局部回归的变化范围为-1.7至-5.9个百分点),而匹配的切片则大幅下降(-25至-91个百分点)。一个层的切片对其自身故障做出反应部分是由构造决定的;测量结果是(i)聚合掩蔽以及(ii)损伤不会扩散到其他切片:注入层的切片在7个案例中的5个中是受影响最严重的,在7个案例中的7个中位列前三(平均排名1.29/19)。定位在第二个结构不同的租户(星巴克新加坡)上复现:所有七个匹配切片均大幅下降,因此这不是单一目录的伪像。我们将其定位为EDDOps规定但未实现的组件级评估的具体确定性实例,以CheckList为前身,并作为全工作流随机突变测试的确定性镜像。我们的贡献:(a)为生产代理提供了一个完全分解的、亚秒级、无LLM的逐层测试工具,(b)一个覆盖诚实性测试充分性标准,拒绝为未执行的层打分,以及(c)回归注入演示,证明逐切片基线锁定可以定位聚合指标掩盖的回归。

英文摘要:

End-to-end task-success is the dominant way to evaluate LLM agents, but one aggregate number tells you that an agent regressed, not where. We present layer-isolated evaluation: a deployed ordering agent is decomposed into a fixed taxonomy of layers (ontology, intent, routing, decomposition, escalation, safety, memory, and cross-cutting envelope/defense), each exercised by its own assertion slice in a deterministic, no-LLM "pure" mode. The pure suite (238 cases across 23 slices; 225 run in 2.39 s, ~10 ms/case) runs in CI on every change against a locked per-slice baseline. We validate by controlled regression injection, degrading one layer at a time across seven non-safety layers. The effect we did not design in is masking: the aggregate pass-rate barely moves (-1.7 to -5.9 pp for six local regressions), while the matching slice craters (-25 to -91 pp). A layer's slice reacting to its own fault is partly by construction; the measured results are (i) the aggregate masking and (ii) that damage stays off the other slices: the injected layer's slice is the single worst-hit in 5 of 7 cases and top-3 in 7 of 7 (mean rank 1.29 of 19). Localization replicates on a second, structurally different tenant (Starbucks SG): all seven matching slices crater, so it is not a single-catalog artifact. We position it as a concrete, deterministic instantiation of the component-level evaluation EDDOps prescribes but leaves unimplemented, with CheckList as ancestor and as the deterministic mirror image of whole-workflow stochastic mutation testing. Our contributions: (a) a fully decomposed, sub-second, no-LLM per-layer harness for a production agent, (b) a coverage-honesty test-adequacy criterion that refuses to score an unexercised layer, and (c) the regression-injection demonstration that per-slice baseline-locked gates localize regressions an aggregate metric masks.

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

↑