← Back to Paper Radar

LLM Value Functions for Credit Assignment in Agentic RL

Kai-Jie Zhu, Wei-Xiang Yan, Omar Attia, Abbas Kazerouni, A. Toshev, Andrew Szot
2026

Reading guide · Based on sections of the original paper

The authors propose LVRL, which uses a frozen, prompted LLM as a hindsight value critic. Its predicted values are anchored to the group success rate and the final reward, so step-level advantages redistribute the GRPO-style trajectory signal without training a critic. LVOPD reuses those advantages to gate on-policy distillation.

Why read this

This is for practitioners training multi-turn LLM agents on sparse binary rewards who want step-level credit without learning a separate critic and can pay for frontier-model API calls.

What the authors found

  • The authors report that LVRL beat GRPO and PPO in every reported setting, using Claude Opus 4.6 as critic and G=8. On AppWorld Test Challenge, it reached 24.3% with Qwen3-4B (best baseline: PPO, 14.8%) and 26.3% with Qwen3-8B (GRPO, 19.8%). On SWE-bench Verified, Qwen3-8B reached 20.2% versus 12.0% for GRPO and 9.0% for PPO, and Qwen3-32B reached 30.9% versus 24.9% for PPO; the SWE results come from a single training seed. On BabyAI, where both baselines stayed near 0%, Qwen3-8B reached 75.0% in-distribution and 65.5% out-of-distribution. 4.2 Does LVRL Improve Long-Horizon Agent Learning?
  • The authors checked the critic against Monte-Carlo probes on AppWorld: 180 trajectories, 32 continuations per state, and 114 high-confidence events. The critic's value change matched the direction of the Monte-Carlo change for 72% of pitfalls and 66% of recoveries. Agreement was weak early in trajectories (44% in the first third) and strong late (88% in the final third). Early errors tended to overestimate the student's ability. 4.4 Validating Step-Level Value Signals
  • On AppWorld, with Qwen3-235B as both teacher and critic, LVOPD gave small gains: 20.2% versus 19.2% for trajectory-gated OPD with Qwen3-4B, and 23.3% versus 22.2% for pure OPD with Qwen3-8B. The standard deviations overlap. All OPD variants stayed near 0% on BabyAI. 4.3 Does LVOPD Improve On-Policy Distillation?

Main limitation

Results depend heavily on critic capability. With Qwen3-4B on AppWorld, a Qwen3-235B critic reached only 9.8%, compared with 22.3% for GLM-5.2 and 24.3% for Claude Opus 4.6 (base model: 4.2%). Separately, the authors estimate critic queries at $0.06–$0.14 per trajectory, not counting summarization calls. 4.5 Ablation Studies

Where to start

4.4 Validating Step-Level Value Signals · See how the Monte-Carlo labels are built, how the critic behaves on neutral transitions, and why agreement is weak early in trajectories. This shows where the credit signal can be trusted.

Abstract

Reinforcement learning (RL) for large language model (LLM) agents remains challenging in long-horizon tasks with sparse outcome rewards, where assigning credit to individual actions is difficult. Methods such as GRPO assign the same trajectory-level advantage to all actions, while critic-based methods require learning an additional value function that can be costly and unstable. We introduce LLM Value Function RL (LVRL), which uses the pretrained knowledge and in-context learning ability of an LLM to estimate policy-aware state values without finetuning a separate critic. LVRL conditions the value model on group context and calibrates its predictions using known values at the initial and terminal states, enabling step-level credit assignment from estimated value differences. We further extend this idea to learning from an expert policy through on-policy distillation (OPD), introducing LLM Value Function OPD (LVOPD), which focuses teacher supervision on actions associated with decreases in estimated value. We evaluate our approach across diverse agentic benchmarks: AppWorld, BabyAI, and SWE-bench Verified. Across policy scales (4B to 32B), LVRL consistently and substantially outperforms both GRPO and PPO. On AppWorld and SWE-bench Verified, LVRL yields absolute improvements of up to 13.6 and 8.6 percentage points over GRPO. Notably, on tasks requiring extended exploration like BabyAI, LVRL bridges the gap from total failure to 75.0% success. Furthermore, LVOPD yields consistent improvements over standard distillation baselines on AppWorld. Finally, Monte-Carlo analysis confirms that our frozen critic accurately identifies semantic pitfalls and recoveries, proving that LVRL extracts robust, policy-aware step-level credit from sparse terminal outcomes.

Generated automatically from paper sections on 2026-11-28.