Manuscript Offprint

arXiv:2610.41697

TSBPO: Tree-Structured Branching for Policy Optimization in Interactive Language Agents

Rui Yu, Chong Mu, Jinchuan Zhang

Abstract

Training interactive language agents from terminal outcomes poses three coupled problems: which task and state continuations to sample, how to assign delayed feedback to decisions, and how to aggregate token losses for multi-token actions. We present TSBPO, a tree-structured sampling-to-update paradigm that addresses these problems within one training loop. A likelihood-fitted Root/Branch allocator uses retained task and state evidence to target continuations likely to produce contrasting terminal outcomes under fixed rollout budgets. On the resulting replayed physical trees, trajectory advantages compare immediate sibling segments, while observation-group step advantages compare outcomes at matched task/observation states. The actor then sums clipped token surrogates over each complete response and normalizes across active turns, avoiding response-length averaging in the policy-gradient term. With a Qwen2.5-1.5B actor, fixed checkpoints obtain 97.79% seen and 96.64% unseen stochastic success on ALFWorld and an 81.07% per-episode success rate over six stochastic episodes for each of the 500 WebShop test goals. A WebShop step-term ablation yields 75.93% at the same update-100 evaluation; an ALFWorld aggregation comparison shows higher observed command validity with complete-turn weighting. These results support the evaluated training configuration on two interactive benchmarks.

Keywords: interactive language agents; terminal feedback; training paradigm; dynamic curriculum; physical rollout trees; credit assignment.

1. Introduction

Interactive language agents act through generated commands and receive terminal task feedback after partially observed, variable-length interactions. ALFWorld and WebShop make completion verifiable [1, 12], but a terminal label alone does not identify where additional rollouts should be spent, which turns deserve credit, or how a multi-token response should enter an actor update. The prompt is a bounded account of observations and earlier commands, so replaying a physical occurrence differs from merely matching its current text [25, 26].

TSBPO connects these decisions in one training process. Supervised protocol alignment initializes executable behavior; a Root/Branch curriculum acquires outcome alternatives; realized physical siblings and exact observation groups supply separate credit terms; complete-turn aggregation transfers that credit to token updates. Both evaluated runs use the likelihood-fitted Root/Branch allocator and local state-group contrast objective, with benchmark-specific rollout budgets. Their task results measure the integrated training process rather than the isolated effect of a single component.

We evaluate fixed Qwen2.5-1.5B checkpoints on complete ALFWorld validation sets and all 500 WebShop test goals. Training diagnostics characterize acquired comparisons and prediction reliability; configuration comparisons describe specific optimization choices. The derivations, full protocols, and additional studies appear after the references.

References (34)