Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learning

Xuanyu Lei, Chenliang Li, Yuning Wu, Kaiming Liu, Weizhou Shen +5 more
6/6/2025
cs.CL

No official code found. Best implementation: Tongyi-Zhiwen/Writing-RL (6 stars, Apache-2.0, last commit 2025-09-18).

Abstract

Recent advances in Large Language Models (LLMs) have enabled strong performance in long-form writing, yet existing supervised fine-tuning (SFT) approaches suffer from limitations such as data saturation and restricted learning capacity bounded by teacher signals. In this work, we present Writing-RL: an Adaptive Curriculum Reinforcement Learning framework to advance long-form writing capabilities beyond SFT. The framework consists of three key components: Margin-aware Data Selection strategy that prioritizes samples with high learning potential, Pairwise Comparison Reward mechanism that provides discriminative learning signals in the absence of verifiable rewards, and Dynamic Reference Scheduling approach, which plays a particularly critical role by adaptively adjusting task difficulty based on evolving model performance. Experiments on 7B-scale writer models show that our RL framework largely improves long-form writing performance over strong SFT baselines. Furthermore, we observe that models trained with long-output RL generalize surprisingly well to long-input reasoning tasks, potentially offering a promising perspective for rethinking long-context training.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Repo for paper "Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learning".

60Roff, ShellJun 9, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{lei2025writingrl,
  title  = {Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learning},
  author = {Xuanyu Lei and Chenliang Li and Yuning Wu and Kaiming Liu and Weizhou Shen and Peng Li and Ming Yan and Ji Zhang and Fei Huang and Yang Liu},
  year   = {2025},
  eprint = {2506.05760},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.05760v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.05760.svg)](https://codeofpaper.com/paper/2506.05760)

Discussion