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

The State of Reinforcement Finetuning for Transformer-based Agents

Shengchao Hu, Peng Wang, Guozheng Ma, Shi Fu, Li Shen, Ya Zhang, Dacheng TaoICLR 2026

Summary

While Reinforcement Finetuning (RFT) has revolutionized large reasoning models like OpenAI o1, its application to Transformer-based agents (TAs) has remained largely unmapped. This paper provides a systematic study of RFT for these agents and introduces Q-guided Policy Optimization (QP), a hybrid approach that combines supervised stability with reinforcement learning adaptability to consistently outperform existing methods.

Introduction

Transformer-based Agents (TAs) are increasingly used for multi-task decision-making, yet they are typically adapted to new tasks using simple Supervised Finetuning (SFT). While SFT is stable, it often fails to generalize well to novel environments or exploit high-reward behaviors effectively.

In the world of Large Language Models (LLMs), Reinforcement Finetuning (RFT) has become the gold standard for unlocking advanced reasoning capabilities. The authors set out to bridge this gap: Can RFT techniques—like PPO, DPO, or GRPO—be effectively applied to TAs in meta-reinforcement learning (meta-RL) settings? They investigate how different algorithms interact with various parameter-efficient finetuning (PEFT) configurations under realistic, data-constrained conditions.

Methodology: Algorithms and Configurations

The authors conduct a massive empirical sweep across two dimensions:

  1. Algorithms: They test standard SFT, Direct Preference Optimization (DPO), Group Relative Policy Optimization (GRPO), Proximal Policy Optimization (PPO), and Conservative Q-Learning (CQL).
  2. Parameter Configurations: They evaluate Prompt Tuning (updating only task prompts), Adaptor Tuning (LoRA), Decorator Tuning (residual policies), and Full-model Tuning.

The paper's primary contribution is Q-guided Policy Optimization (QP). QP augments standard supervised objectives (like SFT or DPO) with a policy improvement term guided by a learned Q-network. Essentially, it uses the Q-network to "nudge" the model toward actions with higher predicted returns while using the supervised term to stay anchored to the behavior distribution, preventing the "distributional shift" that often plagues offline RL.

Experimental Setup

The study utilizes two major meta-RL benchmarks:

  • Multi-task MuJoCo: Includes locomotion tasks like Cheetah-Dir, Cheetah-Vel, and Ant-Dir.
  • MetaWorld: A robotic manipulation platform featuring 50 distinct tasks.

For each, they generated two types of offline datasets: Medium (sub-optimal proficiency) and Expert (high proficiency). Finetuning was performed in a "few-shot" regime, using only 50 trajectories per task—roughly 0.1% to 1.1% of the data used during initial pretraining.

Key Insights

  • No "One Size Fits All": No single algorithm or parameter configuration is universally optimal. Performance is highly sensitive to the interplay between the algorithm and how many parameters are being updated.
  • The RL Stability Paradox: While supervised methods (SFT, DPO) thrive with full-model updates, pure RL methods (GRPO, CQL) often perform better with parameter-efficient schemes (like Adapters or Decorators). This is because PEFT restricts the update subspace, acting as a natural regularizer against the noisy, high-variance signals inherent in RL.
  • The Sparse Reward Surprise: Surprisingly, some RFT methods performed better with sparse rewards (reward only at the end) than dense rewards. In low-data regimes, dense rewards lead to biased "bootstrapped" value estimates. Sparse rewards act more like Monte Carlo targets, providing a cleaner, albeit less frequent, signal for the update.
  • Scaling Limits: While larger models generally perform better, Full-model tuning on very large models can actually lead to performance plateaus or degradation if the finetuning data is too scarce, due to massive overfitting.

Performance and Results

The proposed QP-SFT and QP-DPO methods emerged as the most robust across nearly all settings.

Normalized performance comparison of finetuning algorithms on Medium and Expert datasets.

As shown in the comprehensive results table below, QP-based methods consistently achieved the highest average scores across various tuning strategies.

Comprehensive performance of different finetuning algorithms across various parameter configurations.

For example, in the MetaWorld benchmark with Adaptor tuning, switching from PPO to QP-DPO yielded a 10% performance improvement. The authors also demonstrated that their approach scales effectively to larger models, such as the 334M-parameter "Dita" agent, particularly in complex, long-horizon tasks.

Limitations and Future Directions

  • Model Scale: The largest models evaluated were around 40M parameters (and one 334M model in the appendix). While large for RL, these are tiny compared to billion-parameter LLMs. The authors note that the dynamics of RFT might change at true "foundation model" scales.
  • Offline Only: The study focuses entirely on offline finetuning from static datasets. Future work could explore how these insights translate to online settings where the agent can actively explore.
  • Computational Cost: While QP is "lightweight," it still requires training a Q-network, which adds overhead compared to pure SFT. Not discussed in detail is the exact trade-off in wall-clock time for the Q-network convergence versus the performance gain.

Summary updated

BibTeX
@inproceedings{hu2026state,
  author = {Shengchao Hu and Peng Wang and Guozheng Ma and Shi Fu and Li Shen and Ya Zhang and Dacheng Tao},
  title = {{The State of Reinforcement Finetuning for Transformer-based Agents}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Cbg9MR6dR7},
}
Figure