Which Successes Make Good References? Action-Sequence Alignment for Multi-Turn On-Policy Distillation

Mufei Li (Georgia Tech) with Wei Niu and colleagues at Amazon Web Services study which successful trajectory a teacher should see as a reference when doing on-policy distillation for multi-turn tool-use agents.
Ask this paper
Problem. Conditioning the teacher on a successful same-task trajectory gives hindsight, but different successes reach different interaction states and can mislead the student.
Formulation. Reference selection is cast as free-target optimal transport, which reduces to assigning each failed trajectory its most compatible success.
Selector. Longest common subsequence over action sequences serves as an observable proxy for compatibility, keeping the ordered backbone of actions while allowing recoverable detours.
Result. LCS is the only evaluated selector that improves over reference-free on-policy distillation on both ALFWorld overall scores and all three tau3-bench airline metrics.
Transfer. Models trained on airline also improve all three retail-domain metrics without further training.
Abstract
On-policy distillation (OPD) reduces train-inference distribution mismatch by supervising a student on its own trajectories. For multi-turn tool-use agents, conditioning the teacher on a validated same-task successful trajectory as a reference can provide useful hindsight, but different successes may reach incompatible interaction states and offer misleading supervision. We cast successful-reference selection as a free-target optimal transport problem, which reduces to assigning each failed trajectory its most compatible successful reference. Because latent state paths are hidden, we use action-sequence alignment as an observable proxy for compatibility and instantiate it with longest common subsequence (LCS), which identifies a shared ordered backbone of actions while allowing recoverable detours. This perspective makes trajectory compatibility the central criterion for reference selection in multi-turn OPD. Experiments on ALFWorld and the airline domain of $τ^3$-bench show that LCS is the only evaluated reference selector to improve over reference-free OPD on both ALFWorld overall scores and all three airline metrics. Without further optimization, the airline-trained models also transfer to the retail domain, where LCS improves all three metrics.