- Rating
- 4
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes Recursive Semantic Divergence (RSD), a way to measure how consistently an LLM agent behaves across repeated runs of the same task.
The key problem is that LLM agents may call different tools, give different answers, or follow different strategies even when starting from the same state. Existing evaluations mostly measure whether the agent succeeds, but not whether it behaves consistently.
RSD measures consistency by comparing two independent rollouts of the same agent. At each step, it uses an NLI model to judge whether the two actions are semantically equivalent, contradictory, or neutral, then recursively accumulates this disagreement over future turns. This makes RSD a trajectory-level metric rather than a single-response or token-level uncertainty score.
The authors train a neural model to approximate RSD from rollout data, then use the learned score as a reward signal for fine-tuning agents. Experiments on ToolSandbox and τ²-bench suggest RSD can reduce variation in agent behavior, especially on ToolSandbox and smaller Qwen models, though results are mixed in some settings.
The main takeaway is: RSD is a proposed metric and training signal for making LLM agents more behaviorally consistent, but consistency is separate from correctness, and the method depends heavily on the quality of the NLI-based disagreement labels.
Strengths and weaknesses
Strengths
- Timely problem: Agent consistency across repeated rollouts is important and not well captured by standard success/completion metrics.
- Clear methodological idea: RSD combines semantic disagreement with a recursive/bisimulation-style trajectory metric, which is a reasonable fit for multi-turn agents.
- Practical use case: The metric is not only diagnostic; it is also used as a reward signal for fine-tuning.
- Empirical breadth: Experiments cover two agent benchmarks, two model sizes, and several baselines: token entropy, semantic entropy, SFT, and hybrid rewards.
Weaknesses
- Mixed empirical results: RSD improves consistency in many settings, but worsens CV on τ²-bench Qwen-2.5-7B, and Table 3 shows almost no direct RSD improvement on τ²-bench.
- Small evaluation scale: Only 8 test samples with 8 trials each are used, which may make the conclusions sensitive to sample choice.
- Consistency vs correctness: RSD can reward consistently bad behavior; the paper acknowledges this, but the mitigation is not fully developed.
- Dependence on NLI labels: The method relies heavily on GPT-4.1/NLI judgments for semantic equivalence, neutrality, and contradiction, which may be costly, noisy, or hard to reproduce.
- Theory assumptions may be strong: The “semantic equivalence classes” used in the dominant-action theorem assume a clean partition induced by bidirectional entailment, which may not hold reliably in practice.
Questions
-
Evaluation scale and significance
The experiments use 8 test samples and 8 trials per sample. How sensitive are the reported CV reductions to the choice of samples, and can the authors provide confidence intervals or significance tests? -
Mixed τ²-bench results
In Table 1, RSD worsens CV for τ²-bench Qwen-2.5-7B, and in Table 3 direct RSD evaluation shows almost no improvement on τ²-bench. Why does RSD help ToolSandbox much more than τ²-bench? -
NLI reliability
Since RSD depends on GPT-4.1/NLI labels, how robust are results to NLI model choice, prompt design, and labeling noise? Were NLI judgments manually validated? -
Consistency vs. correctness
How does the method avoid rewarding agents that are consistently wrong or consistently unhelpful, especially if applied to weaker base policies than those used here? -
Reproducibility of fine-tuning
What are the full GRPO hyperparameters, compute costs, random seeds, and variance across training runs? Are the reported numbers from one fine-tuning run or averaged across multiple runs? -
Definition of semantic action classes
The theory assumes semantic equivalence classes based on bidirectional entailment. In practice, NLI entailment may not be transitive. How does this affect the dominant-action-class guarantee? -
Tool-call-specific disagreement
How are structured tool calls compared by NLI? For example, are two calls to the same tool with slightly different arguments treated semantically, syntactically, or both? -
Comparison to simpler rollout-variance metrics
How does RSD compare to directly measuring pairwise tool-call/action agreement, trajectory edit distance, or progress variance without learning a recursive metric?
Limitations
Yes
Paper formatting concerns
NA
Final justification
After rebuttal, the additional experiments and clarifications improve my confidence in the empirical evaluation.
We thank the reviewer for their time and detailed feedback. Below, we address all points with additional experiments and analysis.
W1: "First, the central semantic distance in Definition 1 is coarse and under-justified .... ."
We justify the 3-class design of dNLI with examples from our dataset.
Our formulation adopts from the standard NLI literature (Bowman et al., 2015; Williams et al., 2018). We interpret the 3 semantic relations for tool calls, text responses and mixed actions:
1. Entailment (d=0): Functionally equivalent actions (same tool with equivalent arguments or text)
Example:
search_flights(origin="NYC", dest="LAX")vssearch_flights(origin="New York City", dest="Los Angeles")."Your reservation is confirmed for Dec 5" vs "I've confirmed your booking for December 5th."
2. Contradiction (d=1): functionally incompatible actions leading to different outcomes (different tools or text).
Example:
search_flights(dest="NYC")vssearch_flights(dest="LAX")"The price is 300" vs "The price is 400"
3. Neutral (d=0.5): partially related actions whose functional equivalence is ambiguous.
Example:
get_reservation(code="ABC123")vslookup_booking(id="ABC123")"Your flight options are available for Dec 5 and Dec 6" vs "I found flights for December 5th"
Finer granularity may increase the approximation error bounds because the task has become inherently harder and prone to calibration error. Moreover, it will negatively affect the downstream GRPO finetuning. 3 classes give a clear separation with enough signal that it produces large group-relative advantages that will help converge the finetuning process faster. With finer granularity, this separation reduces and the gap between consistent and inconsistent behavior shrinks which causes the advantages to become smaller and weaken the gradient signal.
We sampled 12,000 action pairs from τ2-bench Airline and compared the proposed 3-class scoring with a 10-class (0–9) alternative. We see that 42.5% pair scores range from 0-1, and 33.9% of pairs range from 7-9 and only 6.1% of pairs falling in the middle (4-6).
We compute U(s,s) from Definition 2 for the 3-class and the 10-class scoring systems independently and further compare the resulting rankings. The spearman rank correlation is 0.975, which shows that the coarse 3-class scoring produces identical ranking as a 10-class fine-grained scoring. This validates that our discretization is appropriate for comparing agent actions.
We will add the justification in the methodology section 4.2 and the empirical evidence in the Appendix.
W2: "The recursive formulation is elegant on paper, but the practical approximation is not fully convincing. ..."
The key point is that the shared index t does not denote semantically corresponding decision across two rollouts. Instead, it denotes the recursion depth of the Bellman backup. Starting from the same initial state s, we independently sample two trajectories from the policy and recursively follow each trajectory along its own successor chain:
st+1(i)=st(i)⊕at(i)⊕ot+1(i)
st+1(j)=st(j)⊕at(j)⊕ot+1(j)
After the first action, trajectories may diverge. We never attempt to realign them after (e.g., using dynamic time warping or semantic matching). Instead, each rollout advances to its own successor state at every Bellman backup.
This divergence is what U(s,s) measures. If two executions continue making similar decisions, their cummulative disagreement remains small and U(s,s) is low. Conversely, if one rollout calls a different tool or follows a different reasoning path, subsequent actions naturally disagree, increasing the cummulative discounted disagreement.
Accordingly, the recursive update
U(st(i),st(j))=E[dNLI(at(i),at(j))]+γE[U(st+1(i),st+1(j))]
is approximated by following each rollout independently for the next n transitions:
$y_{t} = \sum_{k=0}^{n-1} \gamma^k d_{NLI}(a_{t+k}^{(i)}, a_{t+k}^{(j)}) + \gamma^n \hat{U}_{\bar{\theta}} (s_{t+n}^{(i)}, s_{t+n}^{(j)}) $
Here, the index t+k denotes the next transition along each rollout, rather than semantically corresponding decision points. This follows the formulation mentioned in Castro et al. (2021), where the Bellman expectation is estimated using independently sampled transitions rather than structurally aligned trajectories.
In the revision we will mention this clearly and update the description of Eq. (7)
W3: “The experimental scale is insufficient. The main evaluation is based on 8 trials across 8 test samples, 64 trajectories total per benchmark/model. ...”
We agree that the test sets are relatively small. This is a limitation of the existing benchmarks. τ2-bench airline domain contains only 21 scenarios, leaving a limited held-out test set after reserving data for training and validation. To mitigate this, we evaluate our method on two additional models across two benchmarks.
Table A RSD experiment for two new models report improvement in consistency.
Table A shows up to 20.0% lower CV. For Qwen-3.5-9B we see a smaller improvement, likely because all models were trained with the same fine-tuning budget, which is insufficient for larger models. Combined with the results in the main paper, our metric improves both consistency and performance on 7 of 8 model--benchmark pairs. The only exception is Qwen-2.5-7B, which we discuss in our response to Reviewer 3asA (W3).
Q1: "“How exactly are trajectories aligned for training and evaluation once they diverge structurally? ...”
As discussed in W2, trajectories are not realigned, each rollout advances independently.
If trajectory i terminates before the n-step TD window while trajectory j continues, the TD target is accumulated only over the valid paired transitions. Specifically, if trajectory i terminates after m<n transition, the target becomes
yt=∑k=0m−1γkdNLI(at+k(i),at+k(j))
The bootstrap term in Eq. (7) is omitted because no successor state exists beyond the terminal transition. No padding is introduced, and no actions beyond termination are generated.
Consider two independently samples rollouts from the same initial state:
Traj i:
hotel_booking->flight_booking->confirmedTraj j:
flight_booking->hotel_booking->confirmedAt the first two transition depths, the paired actions are contradictions and the final one is an entailment. The TD target therefore accumulates the discounted disagreement induced by the different execution paths rather than attempting to realign them.
We will discuss the above behavior of our metric for these edgecases in the methodology section.
Q2: “Can you validate the NLI distance for tool-using actions more concretely? ...”
We agree that this is an important validation. We conducted two new qualitative experiments for our NLI classifier.
These results validate GPT-4.1 NLI for tool use actions. We will include this analysis in the appendix.
Q3: "Please clarify the relation between the theory and the practical metric. The dominant-action-class ... "
The theorem and RSD operate on the same quantity at different levels of the Bellman recursion. RSD is defined as
U(s,s)=Eτ,τ′∼Π(⋅∣s)[∑t=0∞γt⋅dNLI(at,at′)]
Separating the first term,
U(s,s)=D0(s)+γE[∑t≥1γt−1dNLI(at,at′)]
where D0(s)=E[dNLI(a0,a0′)] is the expected immediate disagreement. Based on how we have defined the NLI classes, every disagreement term is non-negative which implies. D0(s)≤U(s,s).
Thus, the theorem is proved for the immediate disagreement, while RSD upper-bounds it recursively. Therefore, if the trajectory level RSD is small, the immediate disagreement must also be small, implying that the agent's policy concentrates on a dominant semantic action class.
The semantic classes are induced by bidirectional entailment where dNLI(a,a′)=0. The proof only requires that within class pairs have 0 disagreement and cross class pairs incur positive disagreement (0.5 in our three level discretization). This is also consistent with Semantic Entropy baseline (Kuhn et al., 2023).