- Rating
- 5
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes SOTERIA, a framework for LLM tool-use agents where the agent first generates a structured plan in a DSL, then checks that plan against formalized tool contracts and policy specifications before execution. Plans are represented as guarded transition systems, can invoke reusable verified sub-plans, and are verified using Dafny-style verification conditions for preconditions, progress, and trace-level policy constraints. At runtime, the system gives the executor a simplified “worklist” version of the plan while a SpecMonitor intercepts tool calls and blocks ones that would violate the formal specifications. The experiments instantiate this framework on airline, retail, and Toolathon tasks by manually/formally encoding benchmark policies into 108 specifications, then compare against unguarded agents, LLM guardrails, and AgentSpec-style monitors. The reported results show zero observed specification violations for SOTERIA and higher conformance-gated task success in most settings, though the guarantees are only with respect to the provided formal specs and tool contracts.
Strengths and weaknesses
Strengths:
-
Convincing and clearly explained research problem, with good positioning for novelty with respect to alternative approaches to LLM-based agent correctness.
-
The formal methodology proposed, which combines plans modelled as guarded transition systems, hierarchical reasoning about plan correctness and runtime enforcement, seems appropriate, well designed and novel in this space.
-
The experimental evaluation shows positive results and makes good use of ablations to illustrate how and where the new approach is effective.
Weaknesses:
-
It was not fully clear to me how challenging the process of generating specifications (tool contracts and policy requirements) is, how much human effort is needed, and how much certainty can be established regarding a match with the natural language instructions. This should be discussed in more detail.
-
There seems to be no attempt to factor in statistical variations into the experimental results (see Q1).
-
Some of the baselines used in the experimental evaluation could perhaps have been stronger (see Q2).
Questions
Q1: The checklist states that no error bars or significance tests are reported because temperature-0 LLM calls “minimize run-to-run variance.” However, the experiments use closed cloud APIs, multi-turn user simulations, planning retries, and tool-execution loops, all of which may still introduce nondeterminism or sensitivity to small prompt/model changes. Can the authors report repeat-run variability, confidence intervals, or at least a small replicated experiment for the main metrics—especially conformance-gated success and violation counts—to substantiate that the observed gains are statistically robust rather than artifacts of a single run?
Q2: Would it be possible to compare to other, stronger baselines? Some comparisons may favour SOTERIA because the baselines lack plan guidance. A stronger baseline might combine conventional planning with runtime monitoring or use hand-written workflows/state machines.
Limitations
Yes
Paper formatting concerns
None
Final justification
Despite some small limitations in presentation, I remain positive about the paper and believe that it can be accepted.
We thank the reviewer for the positive assessment and the constructive suggestions. We address the questions below, and will add clarifications and results to the paper
(1) Specification authoring effort and policy-to-spec certainty. We expand on this in our reply to Reviewer DfBr (W3). In brief: we obtain a cold-start specification set from an LLM auto-formalizer, then manually validate and complete it against the policy — the step that establishes the natural-language-to-spec match. Authoring took on the order of a few hours on each of τ2-Airline, τ2-Retail and Toolathon, dominated by reading the policy and checking the auto-formalized output rather than writing formulas. Manual validation corrected three types of drifts (unfaithful formalization, non-idiomatic operator use, and hidden/implicit requirements); after completion, the set covers the policy's rules enforceable over the tool-call trace. We also delimit what our operators can and cannot express (Reviewer DfBr W2(i)/W3), and will add the discussions into the paper.
(2) Statistical variation across runs. We ran a replicated experiment with 5 independent full passes over all τ2-Airline tasks (GPT-5.4-mini, caching off), and report mean ± sd with a 95% CI:
Due to our API and time budget, Soteria here used 3 planner retries (versus 8 in our main results, where it reaches 60.0 utility); this lowers its utility in the table above, but does not affect conformance and #violations. Despite reducing the compute, the Soteria–baseline gap sits well outside the baselines' own spread, so the gains are statistically robust. Moreover, Soteria achieves 100% conformance and 0 violations across all five replicates, whereas the baselines are genuinely noisy (e.g., NeMo's utility CI spans 31.7-43.5 and its violations range from 17-25 due to the randomness of LLM-based guardrails). We will add these error bars to the paper.
Additional measurements of detailed cost and latency breakdown are discussed in response to Reviewer DfBr's question (W4).
(3) Stronger baselines. For a pure-plan baseline, we point to our ablation study (Sec. 4.2): a flat plan-then-execute configuration with no verification and no SpecMonitor reaches only 44.0% success / 74.0% conformance / 13 violations on τ2-Airline, above the unguarded agent (34.0% success / 64.0% conformance / 29 violations), but far from Soteria. Adding verification and then the SpecMonitor is what closes the gap to 100% conformance / 0 violations, so the guarantee comes from the formal machinery, not from planning alone.
As a stronger external baseline, we have added Agent Behavioral Contract (ABC), a design-by-contract per-action monitor closer to our paradigm, on τ2-Airline and Retail (details in Reviewer DfBr W1): it still admits violations (5 Airline, 17 Retail) and does not reach 100% conformance. Value-flow and temporal properties are not expressible in its per-action contracts, whereas Soteria reaches 0 violations with higher conformance-gated success.
We also discuss Agent-C, Pro2Guard, and the SMT-based ARc there (Reviewer DfBr W1).