NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LLMs are Greedy Agents: Effects of RL Fine-tuning on Decision-Making Abilities

Thomas Schmied, Jörg Bornschein, Jordi Grau-Moya, Markus Wulfmeier, Razvan Pascanu

Introduction

Large Language Models (LLMs) are surprisingly poor at making decisions in interactive environments because they tend to be "greedy"—they stop exploring too early and often fail to act on their own logical reasoning. This paper demonstrates that Reinforcement Learning Fine-Tuning (RLFT) on self-generated Chain-of-Thought (CoT) rationales can significantly mitigate these biases, narrowing the "knowing-doing gap" and creating more robust, exploratory agents.

The Problem: Why Do LLMs Fail as Agents?

While LLMs possess vast "world knowledge," they frequently stumble when deployed as autonomous agents in simple decision-making scenarios. The authors identify three specific failure modes that prevent LLMs from being effective agents:

  1. Greediness: LLMs tend to prematurely commit to the first high-reward action they find, leaving a large portion of the potential action space unexplored (missing up to 55% of options in some tests).
  2. Frequency Bias: Smaller models often simply copy the most frequent actions seen in their interaction history, regardless of the actual rewards those actions produced.
  3. The Knowing-Doing Gap: Perhaps most frustratingly, a model can correctly describe the logic needed to solve a task (e.g., "I should explore untried buttons to find a higher reward") but then immediately perform a greedy, sub-optimal action anyway.

The paper seeks to understand why these failures happen and whether Reinforcement Learning (RL) can train models to align their "thinking" with their "acting."

Methods: Reinforcement Learning Fine-Tuning (RLFT)

To address these shortcomings, the researchers propose Reinforcement Learning Fine-Tuning (RLFT). Instead of just training the model to predict the next token in a static dataset, they allow the model to interact with an environment and receive rewards.

RL Fine-Tuning Architecture
  • Self-Generated CoT: The model is required to generate a Chain-of-Thought rationale before outputting its action.
  • PPO Objective: They use Proximal Policy Optimization (PPO) to fine-tune the model. The reward is based on the environment's feedback (e.g., points in a game or reward from a bandit).
  • Reward Shaping: To ensure the model remains steerable, they add a penalty for invalid output formats and use a KL-divergence constraint to prevent the model from drifting too far from its original language capabilities.
  • Exploration Heuristics: They also evaluate classic RL techniques like $\epsilon$-greedy and LLM-specific ones like self-correction and self-consistency to see which best aids the fine-tuning process.

Datasets and Evaluation

The study evaluates the Gemma 2 family (2B, 9B, and 27B parameters) across several decision-making benchmarks:

  • BanditBench: Includes Multi-armed Bandits (MAB) and Contextual Bandits (CB) in textual formats (e.g., "Button" and "Numbers" scenarios).
  • MovieLens: A contextual bandit task where the agent must recommend movies to users based on demographic descriptions.
  • Tic-tac-toe: A text-based version of the classic game, used to test performance in stateful environments with clear win/loss conditions.

Key Insights and Results

  • The "Aha" Moment on the Knowing-Doing Gap: In a striking experiment, the authors tasked Gemma-27B with running the UCB (Upper Confidence Bound) algorithm. The model calculated the correct values 87% of the time but still chose the greedy action in 58% of those cases. This proves the issue isn't a lack of "intelligence" or "logic," but a failure to translate that logic into action.
  • CoT is the Engine of RLFT: Fine-tuning without Chain-of-Thought reasoning barely improved performance. The "thinking" tokens are where the model learns to weigh exploration against exploitation.
  • Scale Doesn't Cure Greed: While larger models (27B) successfully escaped "Frequency Bias" (copying the prompt), they remained just as "greedy" as smaller models, sticking to known rewards rather than exploring.
Action Coverage and Regret with and without CoT
  • Exploration Boost: RLFT increased action coverage by approximately 12% in bandit tasks, meaning the models actually tried more options before settling on a strategy.
  • Tic-tac-toe Mastery: In the Tic-tac-toe environment, RLFT took Gemma-2B from a meager 15% win rate to a 75% win rate against a random opponent. It even managed to force draws against an optimal MCTS (Monte Carlo Tree Search) baseline.
  • Regret Reduction: Across Gaussian Bandit scenarios, RLFT consistently lowered cumulative regret (a measure of how much reward was missed) compared to standard In-Context Learning (ICL).

Limitations and Future Work

  • Short Horizons: Due to the computational cost of generating long CoT traces and the limits of context windows, experiments were capped at 50 interaction steps. Real-world agent tasks often require thousands of steps.
  • Simple Environments: While bandits and Tic-tac-toe are excellent for isolating specific biases, they lack the high-dimensional complexity of environments like web browsing or software engineering.
  • Inference Cost: Requiring a model to generate hundreds of "thinking" tokens for every single action is slow and expensive. The authors suggest that future work should look into more efficient architectures (like RNNs or State Space Models) to handle these long-term dependencies.

Summary updated

BibTeX
@inproceedings{schmied2026llms,
  author = {Thomas Schmied and Jörg Bornschein and Jordi Grau-Moya and Markus Wulfmeier and Razvan Pascanu},
  title = {{LLMs are Greedy Agents: Effects of RL Fine-tuning on Decision-Making Abilities}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=weUP6H5Ko9},
}
Figure