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 is a novel framework that combines 4-bit NVFP4 quantization with Low-Rank Adaptation (LoRA) to drastically accelerate and reduce the memory footprint of Reinforcement Learning (RL) for LLMs. Crucially, it turns a traditional bug into a feature: it leverages quantization noise as a dynamic exploration mechanism, allowing a 32B model to be trained on a single H100 GPU while matching or exceeding the accuracy of 16-bit full-parameter training.

What Problem Does This Paper Address?

Reinforcement Learning is essential for unlocking advanced multi-step reasoning capabilities in LLMs (as seen in models like DeepSeek-R1). However, RL training is notoriously resource-intensive. It requires running multiple model copies simultaneously (e.g., policy, reference, and reward models) and generating long rollout sequences, leading to massive GPU memory overhead and sluggish training cycles.

Standard parameter-efficient methods like LoRA reduce trainable parameters but fail to speed up the slow rollout phase. Meanwhile, existing 4-bit quantization methods like QLoRA actually slow down rollouts by 1.5–2× because they rely on NormalFloat 4-bit (NF4) precision, which requires slow unpacking via lookup tables before matrix multiplication. QeRL aims to break this efficiency-versus-speed bottleneck.

Methods

QeRL introduces a highly optimized training pipeline that pairs NVFP4 quantization (NVIDIA's hardware-supported 4-bit floating-point format) with LoRA layers for gradient backpropagation.

To overcome the static, deterministic nature of standard quantization errors, the authors introduce two key innovations:

  1. Adaptive Quantization Noise (AQN): This mechanism injects channel-wise random noise during training that follows an exponential decay schedule. This balances high exploration early in training with stable exploitation later on.
  2. Noise Merging: Instead of creating separate, memory-heavy noise vectors, QeRL mathematically transforms the additive noise so it can be merged directly into the model's existing LayerNorm/RMSNorm parameters. This achieves zero-parameter overhead and keeps the core 4-bit weights fully compatible with ultra-fast Marlin inference kernels.
Illustration of QeRL compared to standard LoRA and QLoRA pipelines.

Datasets

The framework was trained and evaluated on prominent mathematical reasoning datasets:

  • GSM8K: Used for training and evaluating 3B and 7B models.
  • BigMath: A large-scale dataset containing 122,000 samples spanning difficulty levels 3 to 5, used for training 7B, 14B, and 32B models.
  • Evaluation Benchmarks: Final models were tested against competitive math benchmarks including MATH 500, AIME 24/25, and AMC 23.

Key Insights and Ideas

  • Quantization Noise as an Exploration Feature: In Supervised Fine-Tuning (SFT), quantization noise is a nuisance that degrades performance. In RL, however, the authors discovered that this noise acts as an implicit exploration mechanism. It "flattens" the model's output probability distribution (increasing policy entropy), preventing the model from becoming prematurely overconfident and encouraging it to discover better, alternative reasoning paths.
How quantization noise increases policy entropy to encourage broader exploration in RL.
  • Hardware-Aligned Quantization Beats Lookup Tables: Moving away from QLoRA's NF4 format to hardware-native NVFP4 allows the framework to leverage optimized matrix multiplication kernels directly on Hopper and Blackwell GPUs, eliminating the unpacking bottleneck entirely.

Key Results

  • Massive Hardware Efficiency: QeRL is the first framework capable of training a 32B LLM using Group Relative Policy Optimization (GRPO) on a single H100 80GB GPU, shrinking model memory footprints to 25–30% of their 16-bit counterparts.
  • Substantial Speedups: It delivers over a 1.5× speedup in the rollout phase compared to vanilla LoRA, and up to a 2× rollout throughput improvement on larger 14B and 32B models.
  • Uncompromised Accuracy: On Qwen2.5-7B, QeRL achieved 90.8% on GSM8K and 77.4% on MATH 500, matching full-parameter fine-tuning performance and significantly outperforming QLoRA and vanilla LoRA.
Figure 1: Rollout speedup and accuracy of QeRL on Qwen2.5-7B-Instruct. QeRL achieves faster RL rollout and end-to-end training speeds (batch=8), while delivering performance superior to vanilla LoRA and QLoRA, also comparable to full-parameter RL on mathematical benchmarks.

Limitations and Future Work

While highly effective for model sizes up to 32B parameters, the authors note that it remains to be seen if QeRL maintains this performance edge on ultra-large models exceeding 70B parameters. Additionally, the evaluations in this paper were strictly focused on mathematical reasoning; future work is required to validate its effectiveness on other complex domains like code generation or general-purpose language tasks.

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