DPWriter: Reinforcement Learning with Diverse Planning Branching for Creative Writing

Qian Cao, Yahui Liu, Wei Bi, Yi Zhao, Ruihua Song +4 more
1/14/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Reinforcement learning (RL)-based enhancement of large language models (LLMs) often leads to reduced output diversity, undermining their utility in open-ended tasks like creative writing. Current methods lack explicit mechanisms for guiding diverse exploration and instead prioritize optimization efficiency and performance over diversity. This paper proposes an RL framework structured around a semi-structured long Chain-of-Thought (CoT), in which the generation process is decomposed into explicitly planned intermediate steps. We introduce a Diverse Planning Branching method that strategically introduces divergence at the planning phase based on diversity variation, alongside a group-aware diversity reward to encourage distinct trajectories. Experimental results on creative writing benchmarks demonstrate that our approach significantly improves output diversity without compromising generation quality, consistently outperforming existing baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cao2026dpwriter,
  title  = {DPWriter: Reinforcement Learning with Diverse Planning Branching for Creative Writing},
  author = {Qian Cao and Yahui Liu and Wei Bi and Yi Zhao and Ruihua Song and Xiting Wang and Ruiming Tang and Guorui Zhou and Han Li},
  year   = {2026},
  eprint = {2601.09609},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.09609v1}
}

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/2601.09609.svg)](https://codeofpaper.com/paper/2601.09609)

Discussion