2025-10-14 · 专家 · 自然语言处理 · 机器学习

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

QeRL通过结合NVFP4量化和低秩自适应(LoRA),提高了大型语言模型(LLM)强化学习(RL)的效率和探索能力。

更新于 2025-10-15。作者: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。

中文摘要

我们提出了QeRL,这是一种用于大型语言模型(LLMs)的量化和强化学习框架。虽然强化学习对于LLMs的推理能力至关重要,但它资源密集,需要大量的GPU内存和长的 rollout 时长。QeRL通过结合NVFP4量化和低秩自适应(LoRA)来解决这个问题,从而加速了强化学习的 rollout 阶段,同时降低了内存开销。除了效率之外,我们的研究结果表明,量化噪声会增加策略熵,从而增强探索,并允许在强化学习过程中发现更好的策略。为了进一步优化探索,QeRL引入了自适应量化噪声(AQN)机制,该机制在训练过程中动态调整噪声。实验表明,QeRL在 rollout 阶段实现了超过1.5倍的速度提升。此外,这是第一个能够在一个 H100 80GB GPU 上对 32B LLM 进行强化学习训练的框架,同时提高了强化学习的整体速度。它还实现了比 16 位 LoRA 和 QLoRA 更快的奖励增长和更高的最终精度,在 7B 模型中,它在数学基准测试(如 GSM8K 达到 90.8% 和 MATH 500 达到 77.4%)中的性能与全参数微调相匹配。这些结果确立了QeRL在LLMs中强化学习训练的效率与有效性。

英文摘要

We propose QeRL, a Quantization-enhanced Reinforcement Learning framework for large language models (LLMs). While RL is essential for LLMs' reasoning capabilities, it is resource-intensive, requiring substantial GPU memory and long rollout durations. QeRL addresses these issues by combining NVFP4 quantization with Low-Rank Adaptation (LoRA), accelerating rollout phase of RL while reducing memory overhead. Beyond efficiency, our findings show that quantization noise increases policy entropy, enhancing exploration, and enabling the discovery of better strategies during RL. To further optimize exploration, QeRL introduces an Adaptive Quantization Noise (AQN) mechanism, which dynamically adjusts noise during training. Experiments demonstrate that QeRL delivers over 1.5 times speedup in the rollout phase. Moreover, this is the first framework to enable RL training of a 32B LLM on a single H100 80GB GPU, while delivering overall speedups for RL training. It also achieves faster reward growth and higher final accuracy than 16-bit LoRA and QLoRA, while matching the performance of full-parameter fine-tuning on mathematical benchmarks such as GSM8K (90.8%) and MATH 500 (77.4%) in the 7B model. These results establish QeRL as an efficient and effective framework for RL training in LLMs.

解读

一句话总结

QeRL通过结合NVFP4量化和低秩自适应(LoRA),提高了大型语言模型(LLM)强化学习(RL)的效率和探索能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt