CAST: Game Solvers as Turn-Level Teachers for LLM Agents
Yu Wang, Yi-Kai Zhang, Wentao Shi, Ziang Ye, Yuchun Miao, Yueqing Sun, Qi Gu, Xunliang Cai, Lan-Zhe Guo, Han-Jia Ye, Fuli Feng
Abstract
Training large language models (LLMs) to act in long-horizon games is a promising step toward generalist decision-making, yet reinforcement learning with verifiable rewards (RLVR) relies on sparse final rewards that reveal little about which decisions determine success. Denser process signals could supply this missing turn-level credit, but existing sources are hard to keep both cheap and accurate. We observe that changes in a game solver's state value reveal whether an action advances the state toward success. Building on this insight, we propose CAST (Credit Assignment from Solver Teachers), which converts these value changes into solver advantages and injects them into RLVR as turn-level signals. We further show that, under a soft-optimal solver assumption, maximizing the solver advantage is equivalent to on-policy distillation from the solver, requiring only scalar values rather than teacher logits. Across Sokoban, Minesweeper, and Rush Hour, CAST outperforms all trained baselines on every game under both in-domain and unseen-difficulty evaluation and achieves the highest average zero-shot performance on ALFWorld and WebShop. Our code is available at https://github.com/Wloner0809/CAST.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
The Physics of Multi-Turn Long-Horizon Planning: From Pre-training to Post-training via Single- and Multi-Teacher On-Policy Agentic Distillation
Shared title terminologycs.CLTianyi Men, Zhuoran Jin, Kang Liu et al.
Learning from Unreliable Operator References: Claim-Level Rewards for Customer Support Agents
Shared title terminologycs.CLDmitrii Stoianov, Olga Tsymboi, Danil Taranets et al.
μ-Bench: Benchmarking Multi-User Task Completion in Shared Interaction Voice Agents
Shared title terminologycs.CLQihao Lin, Guanxu Chen, Shuhang Zheng et al.
DRBench Pro: A Knowledge-Centric Benchmark for Professional Deep Research Agents
Shared title terminologycs.CLHan Huang, Yuchen Yan, Xingyu Wu et al.
Collect for Coverage, Replay with Evidence: Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents
Shared title terminologycs.CLHaowen Hou, Gen Li, Ruilin Li et al.
PoVi: Agentic Poetry-to-Video Generation with Knowledge Grounding and Figurative Understanding
Shared title terminologycs.CLYuxia Zhu, Shiying Zhang, Lingzhuang Sun et al.