Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't

Quy-Anh Dang, Chris Ngo
3/20/2025
cs.LGcs.CL

Official code: knoveleng/open-rs (291 stars, MIT, last commit 2026-03-11).

Abstract

Enhancing the reasoning capabilities of large language models (LLMs) typically relies on massive computational resources and extensive datasets, limiting accessibility for resource-constrained settings. Our study investigates the potential of reinforcement learning (RL) to improve reasoning in small LLMs, focusing on a 1.5-billion-parameter model, DeepSeek-R1-Distill-Qwen-1.5B, under strict constraints: training on 4 NVIDIA A40 GPUs (48 GB VRAM each) within 24 hours. Adapting the Group Relative Policy Optimization (GRPO) algorithm and curating a compact, high-quality mathematical reasoning dataset, we conducted three experiments to explore model behavior and performance. Our results demonstrate rapid reasoning gains - e.g., AMC23 accuracy rising from 63% to 80% and AIME24 reaching 46.7%, surpassing o1-preview - using only 7,000 samples and a $42 training cost, compared to thousands of dollars for baseline models. However, challenges such as optimization instability and length constraints emerged with prolonged training. These findings highlight the efficacy of RL-based fine-tuning for small LLMs, offering a cost-effective alternative to large-scale approaches. We release our code and datasets as open-source resources, providing insights into trade-offs and laying a foundation for scalable, reasoning-capable LLMs in resource-limited environments. All are available at https://github.com/knoveleng/open-rs.

View on arXivView PDF

Code Implementations(1)

knoveleng/open-rsOfficial100%
MIT

[AAAI 2026] - Official repo for paper: "Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't"

29130Shell, PythonMar 18, 20257 months agoMIT
low-resourcereasoning-language-modelsreinforcement-learning

Similar Papers

Cite this paper

@article{dang2025reinforcement,
  title  = {Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't},
  author = {Quy-Anh Dang and Chris Ngo},
  year   = {2025},
  eprint = {2503.16219},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.16219v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.16219.svg)](https://codeofpaper.com/paper/2503.16219)

Discussion