Manuscript Offprint

arXiv:2610.03372

SCAD: Structured Credit Assignment and Distillation for Long-Horizon Agents

Shangyang Wu, Shuai Zhao, Ziyue Zhu, Jinyang Wu, Anh Tuan Luu, Haoran Luo

ABSTRACT

Training long-horizon agents to solve complex tasks requires effective supervision over extended interaction sequences. However, sparse terminal rewards obscure intermediate contributions, while on-policy distillation can lose informative teacher guidance as student-generated histories grow. To address this problem, we introduce SCAD, which organizes interactions into planning and bounded subtask execution, distills execution in local contexts, and refines planning credit through cross-rollout subtask prefix trees, with planning receiving full terminal credit and execution receiving positive terminal credit and teacher guidance. Across all evaluated benchmarks, SCAD improves macro-average accuracy over the strongest training baseline by 4.48 percentage points for text tasks and 4.19 points for multimodal tasks. SCAD effectively combines outcome-based credit assignment with teacher-guided distillation to improve planning and execution in long-horizon agents.

1 INTRODUCTION

Language model agents use tools to interact with external environments and accomplish tasks (Nakano et al., 2022; Yao et al., 2022). Long-horizon agents solve complex real-world tasks through many interdependent decisions (Sun et al., 2026). Earlier actions shape later information and options, requiring agents to coordinate decisions toward an overall goal (Wu et al., 2025a). Multimodal tasks further require connecting textual information with visual evidence (Li et al., 2026c). Success depends on both choosing productive directions and executing individual actions effectively (Peng et al., 2026). Training agents to acquire these capabilities requires supervision that remains useful throughout an extended sequence of decisions.

Long-horizon agent training uses reinforcement learning (RL) and on-policy distillation (OPD); the latter builds on supervision at learner-visited

Figure

Figure 1: Target challenges and SCAD

states (Ross et al., 2011; Czarnecki et al., 2019). RL emphasizes task outcomes, while OPD supplies teacher guidance for intermediate behavior. Context Folding and CoDA manage histories through subtasks (Sun et al., 2026; Liu et al., 2026b). HiPER separates planning and execution advantages; GiGPO groups shared states for finer credit (Peng et al., 2026; Feng et al., 2025). Tree-GRPO uses tree-search rollouts to induce implicit step credit (Ji et al., 2026). MiniLLM uses reverse KL for language-model distillation (Gu et al., 2024). TCOD increases trajectory depth to stabilize multi-turn OPD (WANG et al., 2026). ATOD combines RL and distillation through annealed weights and turn-level supervision (Tan et al., 2026). These methods organize supervision at different scales.

†^{\dagger}Corresponding authors.

Figure

Figure 2: SCAD training overview (left) and benchmark accuracy (%) across text and multimodal tasks (right; SCAD in red). Axes use separate zero-based scales; † marks out-of-distribution datasets.

However, three challenges remain. (i) Maintaining useful teacher supervision over long interaction histories. Teacher feedback can lose discriminative value along student-generated histories (Li et al., 2026d; Liu et al., 2026a). (ii) Ambiguous credit under long-range dependencies. Terminal outcomes depend on preceding history and subsequent actions, obscuring individual decision contributions and complicating cross-rollout comparisons (Feng et al., 2025; He et al., 2026). (iii) Coordinating task-level rewards and local learning. Outcome rewards guide task success, while teacher feedback guides local learning. Uniform mixing can let negative terminal feedback suppress useful teacher guidance for correctly executed actions in failed trajectories (Hübotter et al., 2026).

To address these challenges, we propose SCAD, a framework for training long-horizon agents through three complementary designs. (i) Subtask-local distillation. We distill bounded subtask execution in local contexts to limit cross-subtask history accumulation, helping sustain useful teacher feedback at later stages. Teacher feedback is computed under the same local context used by the student. (ii) Cross-rollout planning credit. We construct subtask-report prefix trees from completed rollouts and compare terminal returns under matched histories to estimate relative credit for individual planning decisions. (iii) Structured signal allocation. Planning retains signed terminal and tree credit, while execution receives positive terminal credit and local teacher feedback. This allocation preserves teacher guidance in failed trajectories and reinforces execution associated with task success.

We evaluate SCAD on text-based and multimodal long-horizon benchmarks against RL, OPD, and hybrid baselines. SCAD improves overall macro-average accuracy over the strongest training baseline by 4.48 and 4.19 percentage points, respectively. Efficiency analysis shows lower training time than flat GRPO + OPD. Ablations and diagnostics examine component contributions, supervision quality across interaction depths, planning credit, and the link between local execution and global success.

References (100)

Couldn't load all references. Reload the page to try again.