Long-horizon agent learning

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

1Beijing University of Posts and Telecommunications2Tsinghua University3Nanyang Technological University

† Corresponding authors

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.

Subtask-local distillation

Sustains useful teacher guidance over long horizons by distilling execution within bounded subtask-local contexts.

Cross-rollout planning credit

Refines credit for individual planning decisions by comparing terminal returns across rollouts with matched subtask–report histories.

Structured signal allocation

Preserves useful execution guidance in failed trajectories by retaining signed planning credit while blocking negative terminal credit to execution.

SCAD training framework. Click the figure to enlarge.

Three student settings across 19 text and multimodal benchmarks.

Qwen3-4B

Teacher: Qwen3-4B-Instruct-2507 · 11 benchmarks

Qwen3-4B: per-benchmark and overall macro accuracy in percent, mean and sample standard deviation over three seeds.
MethodBrowseComp-PlusWebWalkerQAHotpotQA2WikiMultiHopQAMuSiQueNQTriviaQABamboogleOODPopQAOODGAIAOODxbenchOODOverall avg.
Teacher23.61 ± 0.536.67 ± 3.160.51 ± 0.952.31 ± 1.511.28 ± 0.968.72 ± 1.885.13 ± 0.956.92 ± 0.056.92 ± 0.025.42 ± 0.023.67 ± 0.645.56 ± 0.6
Vanilla0.00 ± 0.02.92 ± 0.731.28 ± 0.921.54 ± 0.011.79 ± 0.928.21 ± 0.946.67 ± 1.824.10 ± 0.921.03 ± 0.92.82 ± 1.03.67 ± 0.617.64 ± 0.5
GRPO19.44 ± 4.628.75 ± 1.340.00 ± 1.546.15 ± 1.510.77 ± 1.563.59 ± 1.875.90 ± 1.832.82 ± 5.442.05 ± 6.215.25 ± 0.025.00 ± 3.636.34 ± 1.4
FoldGRPO17.22 ± 0.534.58 ± 5.152.31 ± 5.552.31 ± 1.513.33 ± 0.963.08 ± 0.071.28 ± 1.841.54 ± 1.555.38 ± 1.513.56 ± 6.121.00 ± 1.039.60 ± 0.9
Tree-GRPO18.33 ± 2.235.83 ± 0.750.77 ± 0.051.28 ± 1.818.46 ± 1.561.03 ± 0.978.46 ± 8.138.46 ± 4.152.31 ± 1.518.64 ± 1.725.33 ± 4.540.81 ± 0.3
HiPER21.67 ± 2.532.92 ± 3.154.36 ± 4.746.15 ± 4.116.92 ± 1.566.15 ± 1.573.85 ± 1.543.59 ± 0.953.85 ± 1.518.64 ± 1.728.33 ± 1.241.49 ± 0.5
SFT19.17 ± 3.833.33 ± 7.547.69 ± 1.548.21 ± 5.411.79 ± 1.863.08 ± 1.571.28 ± 0.940.00 ± 1.552.31 ± 1.517.51 ± 9.322.33 ± 1.238.79 ± 2.2
OPD19.72 ± 3.428.75 ± 1.351.79 ± 0.945.64 ± 1.813.85 ± 1.565.64 ± 5.471.79 ± 5.437.44 ± 0.947.18 ± 6.211.86 ± 1.725.00 ± 0.038.06 ± 1.0
SDAR15.83 ± 3.835.00 ± 1.344.10 ± 0.954.87 ± 1.88.72 ± 7.658.46 ± 1.582.56 ± 6.235.90 ± 1.856.41 ± 5.415.82 ± 1.026.67 ± 1.239.49 ± 2.2
ATOD21.39 ± 3.433.75 ± 3.353.85 ± 1.550.77 ± 0.013.85 ± 1.564.10 ± 0.975.90 ± 1.845.13 ± 8.556.92 ± 1.517.51 ± 8.424.67 ± 0.641.62 ± 1.0
TCOD20.83 ± 0.030.83 ± 0.747.69 ± 1.549.23 ± 1.511.79 ± 0.959.49 ± 0.980.00 ± 0.041.54 ± 8.150.77 ± 1.514.12 ± 1.022.00 ± 0.038.94 ± 0.7
MemOPD21.67 ± 3.036.25 ± 1.350.26 ± 0.946.67 ± 1.814.87 ± 1.862.56 ± 0.976.92 ± 5.544.10 ± 0.956.92 ± 1.522.60 ± 1.020.67 ± 3.541.23 ± 0.9
SCAD (Ours)23.06 ± 2.940.42 ± 2.655.38 ± 1.556.41 ± 2.418.97 ± 1.871.28 ± 3.984.10 ± 1.845.64 ± 0.958.97 ± 6.223.16 ± 3.529.67 ± 0.646.10 ± 1.2

Qwen3-1.7B

Teacher: Qwen3-4B-Instruct-2507 · 11 benchmarks

Qwen3-1.7B: per-benchmark and overall macro accuracy in percent, mean and sample standard deviation over three seeds.
MethodBrowseComp-PlusWebWalkerQAHotpotQA2WikiMultiHopQAMuSiQueNQTriviaQABamboogleOODPopQAOODGAIAOODxbenchOODOverall avg.
Teacher23.61 ± 0.536.67 ± 3.160.51 ± 0.952.31 ± 1.511.28 ± 0.968.72 ± 1.885.13 ± 0.956.92 ± 0.056.92 ± 0.025.42 ± 0.023.67 ± 0.645.56 ± 0.6
Vanilla1.11 ± 0.52.92 ± 0.717.95 ± 0.915.38 ± 1.55.13 ± 0.926.15 ± 1.531.28 ± 0.912.82 ± 0.914.36 ± 0.93.95 ± 1.06.00 ± 1.012.46 ± 0.2
GRPO9.44 ± 0.527.92 ± 1.941.03 ± 2.428.21 ± 3.27.69 ± 3.140.51 ± 2.473.85 ± 3.124.10 ± 0.939.49 ± 1.87.34 ± 2.025.67 ± 0.629.57 ± 0.6
FoldGRPO14.17 ± 0.831.67 ± 2.645.13 ± 3.237.44 ± 0.910.26 ± 0.947.18 ± 2.477.44 ± 1.826.67 ± 4.444.62 ± 1.59.04 ± 2.629.33 ± 1.533.90 ± 1.0
Tree-GRPO15.00 ± 0.829.17 ± 1.448.72 ± 3.239.49 ± 1.810.26 ± 3.243.59 ± 1.879.49 ± 2.429.74 ± 3.643.59 ± 0.911.30 ± 2.029.33 ± 0.634.52 ± 0.3
HiPER16.39 ± 1.332.50 ± 1.242.56 ± 3.239.49 ± 1.810.77 ± 2.745.64 ± 3.980.00 ± 4.130.26 ± 0.942.56 ± 3.210.17 ± 3.430.00 ± 3.034.58 ± 1.7
SFT11.11 ± 1.027.92 ± 4.441.03 ± 0.929.74 ± 2.47.69 ± 1.546.15 ± 1.576.41 ± 1.827.18 ± 2.439.49 ± 1.87.34 ± 2.624.33 ± 3.230.76 ± 1.1
OPD15.00 ± 3.030.42 ± 4.742.56 ± 3.937.44 ± 1.87.69 ± 1.547.69 ± 1.581.54 ± 1.528.72 ± 3.244.10 ± 3.29.04 ± 1.029.33 ± 2.533.96 ± 1.9
SDAR11.67 ± 1.731.67 ± 0.740.00 ± 4.137.44 ± 0.96.67 ± 2.443.08 ± 1.581.03 ± 3.226.67 ± 3.942.56 ± 1.813.56 ± 1.728.67 ± 2.133.00 ± 1.3
ATOD17.78 ± 1.335.00 ± 4.344.62 ± 1.541.54 ± 1.59.23 ± 1.545.64 ± 2.480.00 ± 4.630.26 ± 1.846.15 ± 3.17.34 ± 4.331.00 ± 1.035.32 ± 0.5
TCOD18.33 ± 1.433.33 ± 3.143.59 ± 0.936.92 ± 6.77.18 ± 2.448.21 ± 3.681.54 ± 1.528.21 ± 1.845.64 ± 3.911.86 ± 1.730.67 ± 2.335.04 ± 1.7
MemOPD15.28 ± 0.535.42 ± 0.743.08 ± 3.138.97 ± 2.46.67 ± 3.648.72 ± 3.977.44 ± 1.828.72 ± 2.445.13 ± 1.810.73 ± 2.630.67 ± 2.934.62 ± 0.9
SCAD (Ours)19.17 ± 1.742.50 ± 2.550.26 ± 2.447.18 ± 3.211.79 ± 2.450.26 ± 2.484.62 ± 3.131.79 ± 2.447.18 ± 2.414.69 ± 2.636.00 ± 2.039.58 ± 1.1

Qwen3-VL-2B

Teacher: Qwen3-VL-4B · 8 benchmarks

Qwen3-VL-2B: per-benchmark and overall macro accuracy in percent, mean and sample standard deviation over three seeds.
MethodMMSearch-PlusVDR-BenchVisBrowse-BenchMMSearchSimpleVQAID avg.FVQAOODInfoSeekOODLiveVQAOODOverall avg.
Teacher16.19 ± 1.016.79 ± 0.95.64 ± 1.840.61 ± 1.045.71 ± 2.924.99 ± 1.056.19 ± 1.637.14 ± 2.928.89 ± 2.230.90 ± 1.0
Vanilla0.95 ± 0.00.74 ± 0.71.54 ± 1.523.64 ± 1.820.00 ± 2.99.37 ± 1.225.71 ± 2.911.43 ± 0.08.89 ± 0.011.61 ± 0.4
GRPO3.49 ± 2.43.46 ± 1.90.51 ± 0.940.00 ± 1.842.86 ± 0.018.06 ± 0.547.62 ± 1.627.62 ± 1.619.26 ± 2.623.10 ± 0.4
MMSearch-R19.52 ± 1.012.35 ± 1.95.13 ± 0.940.61 ± 4.646.67 ± 10.022.85 ± 3.556.19 ± 1.632.38 ± 1.622.22 ± 2.228.13 ± 2.6
VSearcher10.16 ± 3.314.32 ± 6.06.15 ± 1.537.58 ± 2.147.62 ± 1.623.17 ± 1.551.43 ± 2.936.19 ± 1.623.70 ± 2.628.39 ± 1.7
SFT4.76 ± 4.46.67 ± 0.72.56 ± 2.435.76 ± 6.439.05 ± 1.617.76 ± 0.948.57 ± 0.024.76 ± 1.617.04 ± 7.822.40 ± 0.7
OPD7.30 ± 3.39.88 ± 0.42.56 ± 0.933.33 ± 4.638.10 ± 1.618.23 ± 1.754.29 ± 2.927.62 ± 1.619.26 ± 1.324.04 ± 0.8
VOLD10.79 ± 3.810.12 ± 2.63.08 ± 1.536.36 ± 1.849.52 ± 1.621.98 ± 0.350.48 ± 3.333.33 ± 1.626.67 ± 2.227.54 ± 0.9
HyperEyes11.43 ± 2.512.59 ± 0.75.64 ± 3.936.36 ± 1.849.52 ± 10.023.11 ± 3.053.33 ± 1.635.24 ± 1.627.41 ± 5.628.94 ± 2.6
SCAD (Ours)15.24 ± 3.815.56 ± 0.78.21 ± 6.441.21 ± 6.451.43 ± 2.926.33 ± 1.759.05 ± 1.644.76 ± 7.229.63 ± 1.333.13 ± 1.5

Accuracy (%), mean ± sample standard deviation over three seeds. Overall averages weight each benchmark equally. Bold values indicate the best student mean in each column, excluding the teacher. OOD benchmarks are absent from training. Scroll horizontally to view all benchmarks.

BibTeXShow citation
@misc{wu2026scad,
  title  = {SCAD: Structured Credit Assignment and
            Distillation for Long-Horizon Agents},
  author = {Wu, Shangyang and Zhao, Shuai and Zhu, Ziyue
            and Wu, Jinyang and Luu, Anh Tuan
            and Luo, Haoran},
  year   = {2026},
  eprint = {2610.03372},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url    = {https://arxiv.org/abs/2610.03372}
}