CoolFace
Modelpublic

Gen-Verse/DemyAgent-4B

sourceHugging Faceupdated 1y agoView on Hugging Face
11likes129downloads
Model Card

<div align="center">

<h1>Demystifying Reinforcement Learning in Agentic Reasoning<h1>

<p align="center"> <a href="https://arxiv.org/abs/2510.11701"> <img src="https://img.shields.io/badge/Paper-Arxiv-red?logo=arxiv&logoColor=red" alt="Paper on arXiv"/> </a> <a href="https://github.com/Gen-Verse/Open-AgentRL"> <img src="https://img.shields.io/badge/Open--AgentRL-GitHub-black?logo=github&logoColor=white" alt="Open-AgentRL on GitHub"/> </a> <a href="https://huggingface.co/datasets/Gen-Verse/Open-AgentRL-30K"> <img src="https://img.shields.io/badge/30KRLDataset-Hugging%20Face-orange?logo=huggingface&logoColor=yellow" alt="30K RL Dataset"/> </a> <a href="https://huggingface.co/Gen-Verse/DemyAgent-4B"> <img src="https://img.shields.io/badge/DemyAgent--4B-Hugging%20Face-FFCC00?logo=huggingface&logoColor=yellow" alt="DemyAgent-4B Model"/> </a> </p> </div>

๐ŸŽฏ About This Repository

This repository contains the DemyAgent-4B model weights, a 4B-sized agentic reasoning model that achieves state-of-the-art performance on challenging benchmarks including AIME2024/2025, GPQA-Diamond, and LiveCodeBench-v6. DemyAgent-4B is trained using our GRPO-TCR recipe with 30K high-quality agentic RL data, demonstrating that small models can outperform much larger alternatives (14B/32B) through effective RL training strategies.

๐ŸŒŸ Introduction

In our work, we systematically investigate three dimensions of agentic RL: data, algorithms, and reasoning modes. Our findings reveal:

  • โ€”๐ŸŽฏ Data Quality Matters: Real end-to-end trajectories and high-diversity datasets significantly outperform synthetic alternatives
  • โ€”โšก Training Efficiency: Exploration-friendly techniques like reward clipping and entropy maintenance boost training efficiency
  • โ€”๐Ÿง  Reasoning Strategy: Deliberative reasoning with selective tool calls surpasses frequent invocation or verbose self-reasoning We contribute high-quality SFT and RL datasets, demonstrating that simple recipes enable even 4B models to outperform 32B models on the most challenging reasoning benchmarks.

๐Ÿ“ฆ Resources

**Type****Name****Link**
๐Ÿ“Š Dataset3K Agentic SFT Data๐Ÿค— HuggingFace
๐Ÿ“Š Dataset30K Agentic RL Data๐Ÿค— HuggingFace
๐Ÿค– ModelQwen2.5-7B-RA-SFT๐Ÿค— HuggingFace
๐Ÿค– ModelQwen3-4B-RA-SFT๐Ÿค— HuggingFace
๐Ÿค– ModelDemyAgent-4B๐Ÿค— HuggingFace
Note: - Qwen2.5-7B-RA-SFT and Qwen3-4B-RA-SFT are finetuned from Qwen2.5-7B-Instruct and Qwen3-4B-Instruct-2507 using our 3K Agentic SFT Data - DemyAgent-4B is trained through Agentic RL with our 30K Agentic RL data using the GRPO-TCR recipe

๐Ÿ† Performance

We evaluate our models on challenging benchmarks spanning mathematics, science, and code generation tasks.

Benchmark Results

**MATH****Science****Code**
MethodAIME2024AIME2025GPQA-DiamondLiveCodeBench-v6
Self-Contained Reasoning
Qwen2.5-7B-Instruct16.710.031.315.2
Qwen3-4B-Instruct-250763.347.452.035.1
Qwen2.5-72B-Instruct18.915.049.0-
DeepSeek-V339.228.859.116.1
DeepSeek-R1-Distill-32B70.046.759.6-
DeepSeek-R1-Zero (671B)71.053.559.6-
Agentic Reasoning
Qwen2.5-7B-Instruct4.85.625.512.2
Qwen3-4B-Instruct-250717.916.344.323.0
ToRL-7B43.330.0--
ReTool-32B72.554.3--
Tool-Star-3B20.016.7--
ARPO-7B30.030.053.018.3
rStar2-Agent-14B80.6<u>69.8</u>60.9-
DemyAgent-4B (Ours)<u>72.6</u>70.0<u>58.5</u><u>26.8</u>

Key Highlights

โœจ Despite having only 4B parameters, DemyAgent-4B achieves:

  • โ€”๐Ÿฅ‡ State-of-the-art on AIME2025 (70.0%), outperforming even DeepSeek-R1-Zero (671B)
  • โ€”๐Ÿฅˆ Second place on AIME2024 (72.6%) and GPQA-Diamond (58.5%)
  • โ€”๐Ÿš€ Competitive performance against 14B-32B models with 4-8ร— fewer parameters
  • โ€”๐Ÿ’ก Superior efficiency compared to long-CoT models through deliberative tool use

๐Ÿ“ Citation

bibtex
@article{yu2025demystify,
  title={Demystifying Reinforcement Learning in Agentic Reasoning},
  author={Yu, Zhaochen and Yang, Ling and Zou, Jiaru and Yan, Shuicheng and Wang, Mengdi},
  journal={arXiv preprint arXiv:2510.11701},
  year={2025}
}