GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignment
Abstract
GoLongRL presents an open-source approach for long-context reinforcement learning with diverse reward optimization through capability-oriented data construction and TMN-Reweight methodology.
We present GoLongRL, a fully open-source, capability-oriented post-training recipe for long-context reinforcement learning with verifiable rewards (RLVR). Existing long-context RL methods often treat data construction as a matter of designing increasingly complex retrieval paths, leading to homogeneous task coverage and reward formulations that inadequately reflect practical long-context requirements. Our work offers two contributions. (1) Capability-oriented data construction with full open release. We openly release a dataset of 23K RLVR samples, the complete construction pipeline, and all training code. Guided by a taxonomy of long-context capabilities, the dataset spans 9 task types, each paired with its natural evaluation metric. It comprises curated open-source samples from established corpora and synthetic samples whose QA pairs are generated from real source documents such as books, academic papers, and multi-turn dialogues. Under the same vanilla GRPO setup, our dataset alone outperforms the closed-source QwenLong-L1.5 dataset. Moreover, our Qwen3-30B-A3B model trained on this data delivers long-context performance comparable to DeepSeek-R1-0528 and Qwen3-235B-A22B-Thinking-2507, suggesting that broader coverage and greater reward diversity substantially benefit long-context capability improvement. (2) TMN-Reweight for heterogeneous multitask optimization. To address optimization challenges from heterogeneous rewards, we propose TMN-Reweight, which combines task-level mean normalization for cross-task reward scale alignment with difficulty-adaptive weighting for more reliable advantage estimation. TMN-Reweight further improves average performance over vanilla GRPO, with general capabilities preserved or improved across reported evaluations.
Community
We present GoLongRL, a fully open-source, capability-oriented post-training recipe for long-context reinforcement learning with verifiable rewards (RLVR) 🚀
GoLongRL-30B-A3B achieves long-context performance comparable to DeepSeek-R1-0528 and Qwen3-235B-A22B-Thinking-2507—while using a significantly smaller activated parameter budget ⚡
Under the same vanilla GRPO setup, our dataset alone outperforms the QwenLong-L1.5 dataset by +6.1pp at the 4B scale and +2.6pp at 30B 📈
🔥 Actually open-source — not “weights-only”, not partial releases:
we release training data, full code, and models. No hidden pipelines, no inaccessible datasets, no black boxes.
If you want to reproduce, audit, or build on top of it—you can. End to end.
Resources:
📄 Paper: https://arxiv.org/pdf/2605.19577
🧠 Github Project: https://github.com/xiaoxuanNLP/GoLongRL
🤖 Models:
- GoLongRL-30B-A3B: https://huggingface.co/Kwai-Klear/GoLongRL-30B-A3B
- GoLongRL-4B: https://huggingface.co/Kwai-Klear/GoLongRL-4B
Models citing this paper 2
Kwai-Klear/GoLongRL-30B-A3B
Datasets citing this paper 1
Kwai-Klear/GoLongRL
Spaces citing this paper 0
No Space linking this paper