arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.10079cs.LGcs.AIcs.CL
收藏

稀疏强化学习:通过稳定稀疏回放突破大语言模型强化学习的内存瓶颈

Sparse-RL: Breaking the Memory Wall in LLM Reinforcement Learning via Stable Sparse Rollouts

School of Information, Renmin University of China(中国人民大学信息学院);Key Laboratory of Data Engineering and Knowledge Engineering(数据工程与知识工程重点实验室);Ant Group(蚂蚁集团)

Sijia Luo, Xiaokang Zhang, Yuxuan Hu, Bohan Zhang, Ke Wang, Jinbo Su, Mengshu Sun, Lei Liang, Jing Zhang

AI总结:

本文提出稀疏强化学习方法,通过稳定稀疏回放解决大语言模型强化学习中的内存瓶颈问题,采用稀疏采样和重要性重加权技术减少计算开销并提升模型鲁棒性。

摘要:

强化学习(RL)已成为激发大语言模型(LLMs)复杂推理能力的关键技术。然而,长时间回放过程中存储键值(KV)缓存带来的显著内存开销成为关键瓶颈,通常限制了在有限硬件上的高效训练。尽管现有KV压缩技术能缓解推理问题,但直接应用于RL训练会导致严重的策略不匹配,从而导致性能崩溃。为此,我们引入稀疏RL,使在稀疏回放下实现稳定的RL训练。我们证明不稳定性源于密集旧策略、稀疏采样策略和学习者策略之间的根本性策略不匹配。为缓解此问题,稀疏RL结合了稀疏感知拒绝采样和基于重要性的重加权技术,以纠正压缩导致的信息损失带来的策略偏差。实验结果表明,稀疏RL相比密集基线减少了回放开销,同时保持了性能。此外,稀疏RL本质上实现了稀疏感知训练,显著增强了稀疏推理部署中的模型鲁棒性。相应的训练数据和代码已公开在仓库中。

英文摘要:

Reinforcement Learning (RL) has become essential for eliciting complex reasoning capabilities in Large Language Models (LLMs). However, the substantial memory overhead of storing Key-Value (KV) caches during long-horizon rollouts acts as a critical bottleneck, often prohibiting efficient training on limited hardware. While existing KV compression techniques offer a remedy for inference, directly applying them to RL training induces a severe policy mismatch, leading to catastrophic performance collapse. To address this, we introduce Sparse-RL empowers stable RL training under sparse rollouts. We show that instability arises from a fundamental policy mismatch among the dense old policy, the sparse sampler policy, and the learner policy. To mitigate this issue, Sparse-RL incorporates Sparsity-Aware Rejection Sampling and Importance-based Reweighting to correct the off-policy bias introduced by compression-induced information loss. Experimental results show that Sparse-RL reduces rollout overhead compared to dense baselines while preserving the performance. Furthermore, Sparse-RL inherently implements sparsity-aware training, significantly enhancing model robustness during sparse inference deployment. The corresponding training data and code are publicly available on the repository.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑