TL;DR
SuperWriter introduces a novel framework and a 7B parameter language model designed to master long-form text generation by mimicking the human writing process: planning, writing, and refining. By combining stage-wise supervised fine-tuning (SFT) with a hierarchical Direct Preference Optimization (DPO) procedure powered by Monte Carlo Tree Search (MCTS), SuperWriter-LM achieves state-of-the-art coherence and quality, outperforming open-source models many times its size.
What Problem Does This Paper Address?
Standard Large Language Models (LLMs) typically generate text in a single, continuous forward pass. While highly effective for short-form tasks, this "direct generation" approach degrades significantly over long sequences, often resulting in a loss of structural coherence, logical contradictions, and repetitive phrasing.
The core issue is a mismatch between how LLMs are trained and how humans actually write. Human authors rarely produce complex, lengthy documents in one uninterrupted breath; they utilize iterative processes like outlining, drafting paragraph-by-paragraph, and revising. Furthermore, standard pre-training corpora consist almost entirely of finished products (books, articles), completely omitting the underlying cognitive steps of planning and editing. SuperWriter addresses this gap by explicitly embedding structured thinking paradigms directly into the LLM generation pipeline.
Methods
The authors introduce SuperWriter-Agent, a three-stage framework that structures the long-form generation process:
- Stage 1: Plan: Discussion agents collaborate to brainstorm core themes, character backgrounds, and paragraph-level structures, outputting a detailed outline with allocated word counts.
- Stage 2: Write: Operates on a "thinking before writing" paradigm. For each paragraph, a Thinker Step identifies key ideas and logical scaffolds before a Writer Step drafts the actual text using the prior paragraph as context.
- Stage 3: Refine: A Checker Step reviews the text for inconsistencies or awkward transitions, and an Editor Step performs targeted modifications.
To train a single model (SuperWriter-LM, based on Qwen2.5-7B) to internalize this workflow without needing dozens of expensive agent API calls at inference time, the authors employ two key strategies:
- Stage-wise SFT: The pipeline is segmented into independent training samples (Plan, Write, Refine) to keep context lengths under a manageable 32K tokens.
- Hierarchical DPO via MCTS: Traditional DPO only evaluates the final output. SuperWriter uses MCTS to explore a tree of generation paths (e.g., multiple plans leading to multiple drafts and refinements). A judge LLM scores the final leaf nodes, and these quality signals are back-propagated upward to optimize decisions at every stage of the hierarchy.
Datasets
- Training Data: 4,000 long-form instructions filtered from WildChat-1M and LMSYS-Chat-1M using DeepSeek-R1-Distill-Qwen-32B. SuperWriter-Agent (powered by GPT-4o) expanded these into 12,000 high-quality, stage-segmented training instances.
- Evaluation Benchmarks: Evaluated on WritingBench, a comprehensive benchmark spanning 6 major writing domains (Academic, Finance, Politics, Literature, Education, Advertising) across 1,200 prompts. Pairwise win-rates were also tested on 200 real-world user queries.
Key Insights and Ideas
- Internalizing Agentic Workflows: The paper proves that a relatively small 7B model can successfully internalize complex, multi-step agent behaviors through structured data distillation, requiring only 3 sequential forward passes during inference instead of 30–40 separate agent calls.
- Solving the Credit Assignment Problem: In long-form text, a poor ending is often caused by a flawed outline written thousands of words prior. Using MCTS to back-propagate final quality scores up to the planning stage effectively solves this credit assignment problem for text optimization.
- Output Length Capability: While modern LLMs boast massive input context windows (100K+ tokens), their actual output length is typically bottlenecked. Process-oriented, stage-wise training is shown to be a viable path toward unlocking true long-form output capabilities.
Key Results
- State-of-the-Art 7B Performance: On WritingBench, SuperWriter-LM achieved an average score of 8.51, substantially outperforming larger open-source models like Qwen-2.5-72B-Instruct (7.90) and Llama-3.3-70B-Instruct (7.01). It fell just short of the 671B parameter DeepSeek-R1 (8.55).
- High Win-Rates: In pairwise automatic evaluations on real-world user queries, SuperWriter-LM achieved a 94.9% win-rate against LongWriter-8B and a 98.4% win-rate against DeepSeek-R1-Distill-Qwen-7B. Human evaluators also preferred SuperWriter-LM over the baseline in 56.2% of cases.
- Ablation Validation: Sequential additions of the SuperWriter data (+0.78), the Three-Stage pipeline (+0.26), and Hierarchical DPO (+0.04) all yielded consistent performance steps upward from the base Qwen2.5-7B model.
Limitations and Future Work
- Inference Latency: Because the model must execute three sequential stages (Plan $\rightarrow$ Write $\rightarrow$ Refine), it incurs higher user-perceived latency compared to standard single-pass generation models.
- Factual Grounding at Scale: Due to its moderate 7B scale, the model occasionally exhibits shallow factual grounding or subtle reasoning errors in highly specialized, knowledge-intensive domains (e.g., medical or legal writing).
- Lack of Online Reinforcement Learning: The current alignment strategy relies entirely on offline DPO from static pairs. Implementing online RLHF for long-form generation remains an open challenge due to the massive rollout costs associated with scoring long text sequences.
Summary updated