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

📅 2026-06-10
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
Traditional end-to-end evaluation struggles to pinpoint the specific layer responsible for regressions in large language model (LLM) agents. This work proposes a hierarchical regression detection method that decomposes production-grade LLM agents into functionally distinct layers and constructs LLM-free, deterministic test suites. By integrating coverage-honest test adequacy criteria with layered assertion slicing, the approach enables sub-second, isolated regression validation. Evaluated on 238 test cases, the method accurately identifies seven categories of manually injected regressions, with per-layer pass rates dropping by 25%–91%, while aggregate metrics decline only marginally by 1.7–5.9 percentage points. These results demonstrate substantially higher sensitivity and precise localization capability compared to conventional end-to-end evaluation.
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

LLM agent evaluation
regression localization
layer-isolated evaluation
deterministic testing
component-level evaluation
Innovation

Methods, ideas, or system contributions that make the work stand out.

layer-isolated evaluation
deterministic testing
no-LLM harness
regression localization
component-level evaluation
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
S
Sawyer Zhang
Lumivate (Lumi)
A
Alexander Wang
Lumivate (Lumi)
S
Sophie Lei
Lumivate (Lumi)