acceptodds
Under review as a conference paper at ICLR 2027

Intervened partial replay for multi-turn agent trajectory repair

Abstract

The growing presence of AI agents in real-world applications is contrasted by their very limited reliability in task execution, resulting in agent failures that are intrinsically context-dependent and laborious to fix on a case-by-case basis. Failures in multi-turn interactions often occur at long horizons that are hard to foresee at task initiation. To understand and mitigate these failures, we consider measuring agent reliability in multi-turn interactions as life testing and construct local insertion fixes through agent-agent interactions. Inspired by repair mechanisms in conversations and programs, we propose an offline replay method to produce quality instruction interventions using best-of-N sampling, which induce behavioral changes in the agent trajectory leading to repair. Our replay-based approach delegates trajectory intervention to a separate agent, thereby eliminating the cognitive capacity needed for self-initiated repair. Using a single localized feedback around failure within the agent trajectory, we reduce the inference cost and demonstrate significant performance improvement on existing long-horizon agent tasks without any model capability enhancement, as quantified by the success rate and turn-indexed survival metrics. The results offer insights to designing verbalized controls to shape multiagent interactions that underlie many existing AI agent operations.

Then back it, or bet against it.

Related papers

Open the market on this paper to see 7 more related papers.