Trace-to-Architecture: Capability Bottleneck Diagnosis for Harness Revision
Wenfeng Wang, Jianrui Shi, Mingang Guo, Jiayuan Ma, Yuqi Lu, Jiajun Sun, Guojiang Zhao, Jing Li
Abstract
Improving an LLM agent requires knowing what to change when it fails. Similar failures can require different fixes, and resolving one problem can expose another. We introduce Trace-to-Architecture (T2A), a framework that uses execution trajectories to determine what to change in an agent's harness and when those changes apply. A development agent diagnoses failures using execution evidence from successful and failed tasks, revises the corresponding harness components, and then checks whether target tasks improve, selected successful tasks remain successful, and the edits are actually triggered. New execution evidence guides subsequent diagnosis and revision. Across ALFWorld, ScienceWorld, and AppWorld, T2A achieves the highest aggregate score for all three evaluated task agents, exceeding their respective strongest baselines by 6.2--30.3 points. We also integrate T2A's diagnosis and validation procedures into Meta-Harness, improving the resulting harnesses' mean ScienceWorld score by 21.6 points from the same starting harness.
Create a lesson
Related papers
Comparative Performance of Machine Learning Architectures for Fault Detection and Diagnosis in Chemical Processes
Shared title terminologycs.AIRayane Ammar Khodja, Alexandre Voisin, Victor Costa et al.
PruneNAS: Constraint Aware Neural Architecture Search based Pruning
Shared title terminologycs.AISudhakar Sah, Nikhil Chhabra, Honnesh Rohmetra et al.
STEdgeFormer: MCU and NPU Deployable Transformer Architecture
Shared title terminologycs.AISudhakar Sah
DermKG: A Concept-Centric Knowledge Graph for Interpretable Skin Disease Diagnosis from Dermatological Morphology
Shared title terminologycs.AICheng Huang, Yanmei Li, Mao Lin
Embedding Geometry Shapes LLM Routing: Tracing Failure Modes and Improving Generalization
Shared title terminologycs.AILeonardo Torti, Emanuele Rimoldi, Tomer Galanti et al.
Verification Turns Capability Gaps into Routing Decisions: Small Language Models for Clinical Documentation
Shared title terminologycs.AINina Fatehi, Meysam Ghaffari, Animesh Agarwal et al.