ResearchPod Summary
Training LLM agents for long-horizon games is often hindered by the sparsity of rewards; agents only receive feedback upon winning or losing, making it difficult to determine which specific actions led to success. The authors investigate whether game solvers—which can calculate the 'cost-to-go' from any state—can provide dense, turn-level signals to guide LLM training more effectively than standard outcome-only reinforcement learning (RLVR).
The authors introduce CAST (Credit Assignment from Solver Teachers). Instead of relying solely on final rewards, CAST uses a game solver to evaluate every action taken by the LLM. By comparing the solver's state value before and after an action, the system calculates a 'solver advantage.' This scalar value indicates whether an action moved the agent closer to the goal. The authors prove that maximizing this advantage is mathematically equivalent to on-policy distillation from the solver, allowing the LLM to learn from the solver's expertise without needing the solver's full action distribution (logits). To ensure training stability, they apply an asinh transformation to compress extreme values and batch-level RMS normalization to maintain consistent signal scales across different game environments.
CAST consistently outperforms existing outcome-only RLVR baselines and process-level methods like GiGPO across Sokoban, Minesweeper, and Rush Hour. It demonstrates superior performance in both in-domain settings and on harder, unseen difficulty levels. Furthermore, the agents trained with CAST show strong zero-shot transfer capabilities to held-out domains such as ALFWorld and WebShop. The authors also demonstrate that the approach is practical, adding negligible computational overhead, and remains effective even when using a learned value network instead of an exact solver.
This work provides a scalable way to inject expert knowledge into LLM agents for complex decision-making tasks. By converting scalar solver values into turn-level credit, it bridges the gap between general-purpose LLMs and domain-specific solvers, enabling more efficient and reliable agent training in structured environments.
AI-generated third-party summary by ResearchPod. Not official content or an endorsement by the paper authors or affiliated organizations.