Abstract
Visual Agentic Reinforcement Fine-Tuning (Visual-ARFT) is a novel framework designed to equip open-source Large Vision-Language Models (LVLMs) with autonomous tool-use capabilities. By employing Reinforcement Learning with Verifiable Rewards (RLVR), specifically the Group Relative Policy Optimization (GRPO) algorithm, Visual-ARFT enables models to utilize web browsers and Python code execution to solve complex, multi-step visual reasoning tasks. Experimental results demonstrate that Visual-ARFT significantly enhances the performance of models like Qwen2.5-VL, allowing them to outperform proprietary models such as GPT-4o on specialized multimodal agentic benchmarks.
1. Introduction
While proprietary models like OpenAI’s o3 have showcased sophisticated "agentic" capabilities—actively using tools to reason about and manipulate visual data—open-source alternatives have largely remained passive processors. The challenge lies in the expensive nature of Supervised Fine-Tuning (SFT) for multi-step decision-making. Visual-ARFT addresses this by introducing a reinforcement learning approach that teaches models to autonomously plan, execute code, and search the web to resolve visual ambiguities and retrieve external knowledge.
2. The Visual-ARFT Framework
The core of Visual-ARFT is the application of RLVR to LVLMs. Unlike standard Reinforcement Learning from Human Feedback (RLHF), which relies on subjective preference models, Visual-ARFT uses deterministic, programmatic rewards.
The reward system is structured into three primary components:
- Format Reward: Enforces the use of XML-style tags (
<think>,<search>,<code>,<answer>) to maintain structured reasoning and tool invocation. - Accuracy Reward: Utilizes F1 scores for final answers to provide a smoother gradient for learning compared to strict Exact Match (EM) metrics.
- Tool-Specific Rewards: For search tasks, rewards are based on the semantic similarity of queries to ground-truth objectives. For coding, the model is rewarded simply for generating executable code, encouraging unconstrained exploration of image processing logic (e.g., using OpenCV to fix distortions).
3. Multimodal Agentic Tool Bench (MAT)
To evaluate these capabilities, the authors introduced the Multimodal Agentic Tool Bench (MAT), consisting of two primary settings:
- MAT-Search: 150 multi-hop VQA questions requiring external web searches to identify visual entities and their properties.
- MAT-Coding: 200 test cases where images are synthetically distorted (blurred, rotated, or cropped). The model must write Python code to restore the image before it can accurately answer questions about its content.
4. Experimental Results
Visual-ARFT was applied to the Qwen2.5-VL-3B and 7B models, yielding substantial performance gains across all benchmarks.
Key findings include:
- Superiority over GPT-4o: The Qwen2.5-VL-7B model enhanced with Visual-ARFT achieved an 18.56% F1 improvement on MAT-Coding and a 10.28% F1 improvement on MAT-Search, surpassing the performance of GPT-4o. Even the smaller 3B variant outperformed GPT-4o in coding tasks.
- Data Efficiency: The model developed robust search-based reasoning skills using as few as 20 manually annotated training examples, demonstrating the high efficiency of the RLVR approach.
- Cross-Domain Generalization: The agentic reasoning patterns learned in multimodal environments transferred effectively to text-only multi-hop QA tasks (e.g., HotpotQA), where the 7B model saw average gains of +29.3% F1 over direct inference.
5. Conclusion
Visual-ARFT represents a significant step forward for open-source LVLMs, proving that reinforcement learning with verifiable rewards can effectively bridge the gap in agentic capabilities. By encouraging unconstrained tool exploration and utilizing flexible reward metrics like F1, the framework produces models that are not only more accurate but also more capable of autonomous problem-solving in complex, real-world visual scenarios.
Summary updated