Introduction
While Large Language Models (LLMs) demonstrate remarkable capabilities in static tasks like coding and reasoning, their performance often degrades when deployed as decision-making agents in closed-loop environments. Research from Google DeepMind identifies a fundamental "greediness" in these models: they tend to prematurely converge on sub-optimal actions and struggle to explore alternative strategies. This paper explores these failure modes—specifically greediness, frequency bias, and the "knowing-doing gap"—and proposes Reinforcement Learning Fine-Tuning (RLFT) as a robust solution.
The RLFT Framework
To address these limitations, the researchers developed a Reinforcement Learning Fine-Tuning (RLFT) pipeline. Unlike standard supervised learning, which focuses on next-token prediction, RLFT treats the LLM as an agent within an active RL loop.
As shown in the framework above, the model generates a Chain-of-Thought (CoT) rationale before outputting an action. This action is executed in a simulator, and the resulting reward is used to update the model parameters via Proximal Policy Optimization (PPO). This process effectively trains the model to value long-term exploration over immediate, greedy rewards.
Identifying the "Knowing-Doing Gap"
One of the most significant findings is the "knowing-doing gap." In experiments with Gemma 27B, the model was prompted to calculate the Upper Confidence Bound (UCB)—a mathematical metric for optimal exploration. While the model calculated the correct values 87% of the time, it still chose the sub-optimal, greedy action in 58% of those instances. This suggests that the failure of LLM agents is not necessarily a lack of knowledge, but a failure to translate internal logic into external action.
Results: Enhancing Exploration through Reasoning
The study utilized benchmarks like BanditBench and text-based Tic-tac-toe to measure the impact of RLFT. A critical insight was the role of reasoning: RLFT performance dropped significantly when the Chain-of-Thought was removed, indicating that the "thinking" tokens serve as a necessary scratchpad for rationalizing exploratory risks.
As illustrated in the results above, RLFT significantly increases "action coverage"—the variety of actions the model attempts. For the Gemma 2B model, coverage increased by 12%. Furthermore, the data demonstrates that while scaling model parameters (from 2B to 27B) improves logical consistency, it does not inherently solve greediness; explicit RL fine-tuning remains necessary to optimize the exploration-exploitation trade-off.
Conclusion
RLFT on self-generated reasoning chains provides a path forward for creating more capable AI agents. By rewarding exploration and bridging the gap between reasoning and action, fine-tuned models can master complex environments, such as Tic-tac-toe, where the 2B model's win rate jumped from 15% to 75%. Future work will focus on extending these methods to longer-horizon tasks and improving the computational efficiency of generating long reasoning chains.
Summary updated