QeRL: Beyond Efficiency - Quantization-enhanced Reinforcement Learning for LLMs

Wei Huang, Yi Ge, Shuai Yang, Yicheng Xiao, Huizi Mao, Yujun Lin, Hanrong Ye, Sifei Liu, Ka Chun Cheung, Hongxu Yin, Yao Lu, Xiaojuan Qi, Song Han, Yukang Chen

TL;DR

QeRL (Quantization-enhanced Reinforcement Learning) is a novel framework that makes training Large Language Models (LLMs) via Reinforcement Learning (RL) significantly faster and more memory-efficient by utilizing 4-bit NVFP4 quantization. Surprisingly, the authors found that the "noise" introduced by quantization actually improves model performance by encouraging better exploration, allowing QeRL to match the accuracy of full-parameter fine-tuning while using a fraction of the computational resources.

What Problem Does This Paper Address?

Reinforcement Learning is the "secret sauce" behind the recent reasoning breakthroughs in models like DeepSeek-R1 and OpenAI’s o1. However, RL is a massive resource hog. Unlike standard supervised fine-tuning, RL requires "rollouts"—generating thousands of responses to evaluate them against a reward signal. This process is slow and consumes vast amounts of GPU memory because multiple copies of the model (the policy, the reference model, etc.) must be kept in VRAM.

Existing efficiency tricks like QLoRA (which uses 4-bit NormalFloat) help with memory but actually slow down the rollout phase because the model has to constantly "unpack" quantized weights into higher precision to perform calculations. Furthermore, quantization is usually seen as a necessary evil that degrades model accuracy. QeRL asks a provocative question: Can we make quantization faster and actually use its "errors" to our advantage?

Methods

QeRL introduces three key innovations to bridge the gap between efficiency and performance:

  1. NVFP4 Quantization: Instead of the standard NF4 format used in QLoRA, QeRL utilizes NVFP4 (NVIDIA's 4-bit floating-point format). This format is natively supported by newer hardware (like Hopper and Blackwell GPUs), allowing for direct matrix multiplication without the "dequantization tax" that slows down other 4-bit methods.
  2. Adaptive Quantization Noise (AQN): The authors observed that quantization noise increases policy entropy—essentially making the model less rigid and more willing to explore different reasoning paths. To optimize this, they developed AQN, which injects controlled stochastic noise into the model parameters. This noise follows an exponential decay schedule, encouraging heavy exploration early in training and stabilizing as the model converges.
  3. Zero-Overhead Noise Merging: To maintain high speeds, the authors found a way to "fold" this adaptive noise into the existing LayerNorm (RMSNorm) parameters. This means the model gets the benefits of exploration-enhancing noise with zero additional computational cost during the critical rollout phase.

Datasets

The researchers evaluated QeRL on several rigorous mathematical and reasoning benchmarks:

  • GSM8K: Grade school math word problems.
  • MATH 500: A subset of the challenging MATH dataset.
  • BigMath: A large-scale dataset featuring problems ranging from medium to high difficulty (Levels 3–5).
  • SafeRLHF-QA & CommonsenseQA: Used to test the framework's performance on safety-critical and general knowledge tasks.

Key Insights and Ideas

  • Quantization as a Feature, Not a Bug: In Supervised Fine-Tuning (SFT), noise is detrimental because the goal is to perfectly mimic training data. In RL, however, noise acts as a tool. By "flattening" the probability distribution of the next token, quantization prevents the model from getting stuck in local optima and helps it discover novel, high-reward reasoning chains.
  • The Rollout Bottleneck: The paper highlights that rollouts account for the vast majority of RL training time. By using hardware-native FP4, QeRL achieves a "best of both worlds" scenario: the memory savings of 4-bit weights and the execution speed of high-precision formats.
  • Superior Exploration: QeRL models often achieved higher final rewards than 16-bit LoRA models. This suggests that "cleaner" 16-bit models might actually be too focused, missing out on better strategies that the "noisier" quantized models stumble upon during exploration.

Key Results

QeRL demonstrates substantial improvements in both training efficiency and final model performance.

QeRL achieves significant speedups in rollout and end-to-end RL training compared to LoRA and QLoRA.
  • Speed: QeRL delivers a 1.5× speedup in the rollout phase compared to QLoRA and a 1.3× speedup compared to standard BF16 LoRA. End-to-end, it achieves up to a 1.7x relative speedup over QLoRA.
  • Memory Efficiency: It is the first framework to enable RL training of a 32B parameter LLM on a single H100 (80GB) GPU.
  • Convergence: QeRL models reached peak reward levels significantly faster than vanilla LoRA, often showing a steep upward trend in accuracy within the first 200 training steps.
QeRL matches the accuracy of full-parameter fine-tuning on GSM8K and MATH 500 benchmarks.
  • Accuracy: On the Qwen2.5-7B model, QeRL achieved 90.8% on GSM8K and 77.4% on MATH 500, matching the performance of full-parameter fine-tuning while training only ~1% of the parameters.

Limitations and Future Work

While QeRL is a major step forward, the authors note a few areas for further exploration:

  • Hardware Constraints: The full speed benefits of NVFP4 require modern NVIDIA architectures (Hopper or Blackwell). While it can run on older GPUs, the speed gains are less pronounced.
  • Model Scale: The study tested models up to 32B parameters. Whether these findings hold for "frontier" models exceeding 70B or 400B parameters remains to be seen.
  • Task Diversity: The primary focus was on mathematical reasoning. More work is needed to see how QeRL handles creative writing or coding tasks where the "reward" is less binary than a math answer.

Summary updated

BibTeX
@inproceedings{huang2026qerl,
  author = {Wei Huang and Yi Ge and Shuai Yang and Yicheng Xiao and Huizi Mao and Yujun Lin and Hanrong Ye and Sifei Liu and Ka Chun Cheung and Hongxu Yin and Yao Lu and Xiaojuan Qi and Song Han and Yukang Chen},
  title = {{QeRL: Beyond Efficiency - Quantization-enhanced Reinforcement Learning for LLMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zw8zxMJJlm},
}
Figure