OTAP: Structure-Aware Optimal Transport for Evaluating Planning and Execution in Agent Trajectories
Reading guide · Based on sections of the original paper
Why read this
This is for practitioners who grade agent processes in open-ended domains with no formal verifier and who need a deterministic, auditable alternative to success flags, text overlap or LLM judges.
What the authors found
- On the 20-task hand-curated perturbation corpus, OTAP separates valid from invalid variants at 82.0 AUROC. Greedy-embedding and Hungarian baselines score below chance (46.8, 46.2) using the same encoder, and ROUGE-L reaches 67.4. Setting the structure weight to zero drops OTAP to 54.5. 6.2 Validity
- When given identical traced graphs, encoder and references, a TaskBench-style tool F1 beats OTAP at every tested edge-noise rate: 87.2 vs. 80.3 on clean graphs, and 67.9 vs. 67.3 at p=0.5. OTAP declines least (13.0 points) but does not overtake it. Noise was applied to the agent side only. 6.8 Structure-aware baselines and extraction noise
- On 236 sampled perturbed trajectories with blinded 1–5 ratings from three annotators (α=0.90), OTAP has the highest Spearman correlation of the six metrics (0.74 vs. 0.64 for ROUGE-L). The authors do not claim a significant difference. 6.7 External validation
Main limitation
On 720 real LLM blocksworld plans checked by a verifier, OTAP is the weakest validity proxy: 79.2 macro AUROC, against 84.1–86.9 for the other five metrics. The authors advise against using it where a verifier exists. Its advantage also shrinks on GAIA, where graphs come from heuristic extraction, and granularity merges remain unresolved (P3 accuracy 54.7). 6.6 Comparison against validity labels
Where to start
6.5 Results on public benchmarks · See how OTAP's advantage holds on exact or explicit graphs (PlanBench, WebArena) but weakens on GAIA's heuristically traced graphs. This shows how dependency-extraction quality would affect your use case.
Abstract
Large language model agents solve tasks by generating trajectories that interleave planning, tool calls, and intermediate results. Current evaluation metrics reduce such a trajectory to a binary success flag, compare it against a reference by exact matching, or delegate judgment to another language model. A success flag cannot distinguish sound solutions from lucky ones, nor explain why runs fail. Exact matching penalizes valid plans reordered or decomposed differently. We reframe trajectory evaluation as a distance between the agent's execution graph and a set of valid solution graphs, and instantiate it via an unbalanced fused Gromov-Wasserstein transport problem over attributed dependency graphs. The resulting score, termed OTAP (Optimal Transport for Agentic Planning), is a normalized discrepancy score. Its idealized, globally minimized entropy-free objective is invariant to dependency-preserving relabelings of a fixed graph and has a redundant-insertion sensitivity analysis under stated assumptions. Its unbalanced marginals handle missing or hallucinated steps without forcing a match; granularity invariance remains an open problem that soft coupling mitigates only in part. On controlled perturbations and three public benchmarks, OTAP separates valid from invalid trajectories in a regime where semantics-only metrics score below chance. Its performance is encouraging across these settings, while controlled edge-noise experiments reveal sensitivity to dependency extraction. Where a formal verifier exists, strict surface metrics predict validity better than OTAP does, which places OTAP in open-ended domains where no verifier is available. A blinded study of 236 trajectories finds the strongest agreement with OTAP among the six compared metrics. Structure-aware baselines achieve higher clean-graph AUROC, while OTAP has the smallest absolute AUROC decline under the tested edge noise.