Introduction
Vision-Language Models (VLMs) have demonstrated impressive capabilities in general tasks, yet they often falter when faced with complex visual reasoning—such as counting objects in cluttered scenes, solving geometric problems, or predicting spatial transformations. Traditionally, researchers have relied on Supervised Fine-Tuning (SFT) with extensive Chain-of-Thought (CoT) datasets. However, SFT often leads to "cognitive rigidity," where models memorize specific patterns and fail to generalize when visual domains shift slightly.
This paper introduces Reason-RFT, a novel two-stage framework designed to overcome these limitations. By combining the stability of SFT with the exploratory power of Reinforcement Learning (RL), Reason-RFT achieves state-of-the-art performance and remarkable data efficiency in visual reasoning tasks.
The Reason-RFT Framework
The core of Reason-RFT is a two-stage training paradigm that first "activates" reasoning capabilities and then "enhances" them through reinforcement.
Stage 1: SFT-based Reasoning Activation
The model is initially trained on a small, high-quality dataset of CoT examples. This stage is crucial for teaching the VLM the basic logic of step-by-step reasoning and the required output format, specifically using <think> and <answer> tags. This "activation" phase provides a stable starting point for the subsequent RL phase.
Stage 2: RL-based Reasoning Enhancement
Following activation, the model undergoes reinforcement learning using Group Relative Policy Optimization (GRPO). GRPO is chosen for its efficiency, as it computes relative advantages within a group of sampled responses, avoiding the need for a separate value network.
The reward system is multi-layered:
- Format Reward: A binary reward ensuring adherence to the
<think>/<answer>structure. - Accuracy Reward: Task-specific metrics, including exact matches for counting, mathematical tolerance for geometry, and sequence matching for spatial transformations.
Key Insights
The Transient Adaptation Gap
A significant finding is the "Transient Adaptation Gap." Models trained with pure RL (skipping Stage 1) often experience a sharp drop in accuracy during the initial training steps as they struggle to discover the correct output format. Stage 1 SFT effectively bridges this gap, allowing the model to focus on reasoning from the start of the RL phase.
Greedy Reward Stratification
During RL, models exhibit a "greedy" learning behavior. They first optimize for the simpler Format Reward, leading to shorter, well-formatted responses. Once the format is mastered, they begin to tackle the more complex Accuracy Reward, which naturally results in longer and more sophisticated reasoning chains.
Reasoning Redundancy and Reward Types
The study also explores the nature of reasoning. Models initialized with SFT tend to inherit a more verbose reasoning style from their teacher models. Furthermore, the authors found that "hard" rewards (penalizing partial matches) are superior for out-of-domain generalization compared to "soft" rewards, as they force the model to learn more robust underlying principles.
Experimental Results
Reason-RFT was evaluated on a benchmark covering Visual Counting, Structure Perception, and Spatial Transformation, with a specific focus on Domain-Shift (DS) scenarios.
- Superior Generalization: On spatial transformation tasks under domain shift, the 2B Reason-RFT model outperformed GPT-4o by 31.7%.
- Extreme Data Efficiency: Reason-RFT achieved over 90% of the performance of a full-dataset SFT model while using less than 5% of the training data.
- Robustness: General VLM benchmarks like MMMU showed improvement (e.g., from 34.00 to 41.14 for the 2B model), indicating that the RL phase enhances general reasoning without causing catastrophic forgetting.
Conclusion and Future Work
Reason-RFT demonstrates that a hybrid SFT-RL approach is highly effective for building VLMs that can truly reason and generalize. While currently tested on models up to 7B parameters, future research will focus on scaling this framework to larger architectures and applying it to real-world, noisy environments such as autonomous driving and robotics.
Summary updated