LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning
Yuhao Wu, Yushi Bai, Zhiqiang Hu, Roy Ka-Wei Lee, Juanzi Li

TL;DR
LongWriter-Zero introduces a reinforcement learning approach to enable ultra-long, high-quality text generation in large language models without relying on synthetic data, outperforming traditional supervised fine-tuning methods.
Contribution
This work presents a novel RL-based training method from scratch for ultra-long text generation, eliminating the need for synthetic data and achieving state-of-the-art results.
Findings
Outperforms supervised fine-tuning on long-form writing tasks.
Achieves state-of-the-art metrics on WritingBench and Arena-Write.
Surpasses larger models like DeepSeek R1 and Qwen3-235B.
Abstract
Ultra-long generation by large language models (LLMs) is a widely demanded scenario, yet it remains a significant challenge due to their maximum generation length limit and overall quality degradation as sequence length increases. Previous approaches, exemplified by LongWriter, typically rely on ''teaching'', which involves supervised fine-tuning (SFT) on synthetic long-form outputs. However, this strategy heavily depends on synthetic SFT data, which is difficult and costly to construct, often lacks coherence and consistency, and tends to be overly artificial and structurally monotonous. In this work, we propose an incentivization-based approach that, starting entirely from scratch and without relying on any annotated or synthetic data, leverages reinforcement learning (RL) to foster the emergence of ultra-long, high-quality text generation capabilities in LLMs. We perform RL training…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
