Manuscript Offprint

arXiv:2609.35215

ASCT: Attentive Search over Counterfactual Trees for Credit Assignment in Agentic Reinforcement Learning

Yang Li, Jinhan Yang, hai liu, Di Wan, Xiyu Chen, Zongsi Xu, Tuo Zhou, Sheng Zhong, Sergey Volkov, Ye Luo, Hao Sun

Abstract

Terminal utility evaluates a complete agentic workflow, but learning requires credit for the decisions within it. We introduce Attentive Search over Counterfactual Trees (ASCT), a framework that turns training-time multi-step search into local action credit. At actor-visited states, an auxiliary tree evaluates alternative legal actions from the same recoverable prefix. Its action-value table is centered by the frozen actor's probabilities and supplies credit for PPO on actor-sampled trajectories. This protocol connects counterfactual evaluation to policy learning while deploying the actor alone. Uniform, UCT, and cost-aware AgentUCT instantiate the framework. On HotpotQA agentic retrieval-augmented generation, all three improve mean held-out utility over trajectory-return PPO and workflow-adapted VinePPO. Across three seeds, ASCT-AgentUCT reaches 0.6187 utility versus 0.5939 for VinePPO, with gains in answer F1 and execution cost, and uses 50.3% fewer recorded auxiliary Qwen tokens. Transfer and component-description studies examine the learned policies beyond the training setting.

1 Introduction

A workflow actor, the trainable large language model (LLM) policy in this paper, chooses components, gathers evidence, and decides when to stop. Terminal utility combines answer quality and execution cost, but a successful workflow can still contain a poor local choice. Learning requires credit that connects each decision to its downstream consequences.

VinePPO estimates state values from Monte Carlo continuations for step-wise credit (Kazemnejad et al., 2025); branching learners derive updates from collections of search trajectories. We study an action-resolved interface: compare executable alternatives at states the actor visits, then use those comparisons to train its own sampled decisions.

Recoverable prefixes make this possible. From the same observations, an evaluator can execute alternative legal actions through later workflow decisions to terminal outcomes. Their value depends on these continuations: different retrieved evidence can change whether another retrieval round is useful. Finite action sets permit root coverage, while shared prefixes permit execution reuse within a limited auxiliary budget.

We introduce Attentive Search over Counterfactual Trees (ASCT). To our knowledge, ASCT is the first agentic RL framework to use multi-step counterfactual tree search as an auxiliary legal-action value estimator for actor-centered credit on separately sampled actor trajectories. Search constructs a local Q table; frozen actor probabilities center its values; PPO updates the actor's sampled decisions with their recorded behavior probabilities. Deployment uses the actor alone.

All three evaluators—Uniform, UCT, and AgentUCT—improve mean held-out utility over trajectory-return PPO and workflow-adapted VinePPO. Across three seeds, ASCT-AgentUCT reaches 0.6187 versus 0.5939 for VinePPO, combining higher answer F1 with lower execution cost and using 50.3% fewer recorded auxiliary Qwen tokens. Transfer and description-controlled experiments examine the learned policies beyond the training setting.

ASCT connects: multi-step action comparison from the same recoverable state; separate evaluation allocation and behavior sampling, linked by actor-centered credit and consistent PPO records; and training-time information acquisition amortized into an actor-only policy. Uniform, UCT, AgentUCT, and WTB provide inherited search and execution components (Li et al., 2026). We evaluate the resulting learning protocol, acquisition cost, and transfer.

References (64)