NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DOC: Improving Long Story Coherence With Detailed Outline Control

Kevin Yang, Dan Klein, Nanyun Peng, Yuandong Tian

Introduction

Generating coherent narratives that exceed 3,000 words remains a significant hurdle for Large Language Models (LLMs). While state-of-the-art models like GPT-4 exhibit high local fluency, they frequently suffer from "global incoherence"—forgetting established character traits, ignoring initial premises, or drifting away from a predefined plot. Previous frameworks, such as $Re^3$, attempted to mitigate this with high-level planning, but brief outlines often fail to provide sufficient guidance for multi-thousand-word stories, leading to improvisation and logical contradictions.

To address these challenges, the Detailed Outline Control (DOC) framework shifts the creative burden from the drafting stage to a hierarchical planning stage. By combining recursive expansion with fine-grained token-level control, DOC ensures that long-form stories remain faithful to their intended plots.

The DOC Framework

The DOC framework consists of two primary components designed to bridge the gap between high-level intent and long-form execution: the Detailed Outliner and the Detailed Controller.

The DOC framework pipeline: from a high-level outline to a detailed plan and final story generation.

1. The Detailed Outliner

Rather than relying on a flat, three-point plan, the Detailed Outliner recursively expands a short initial outline into a dense, hierarchical tree using a breadth-first expansion strategy.

  • Recursive Expansion: The system uses InstructGPT-3 to generate multiple sub-events for each outline item.
  • Logical Sequencing: A RoBERTa-based ordering model and sentence similarity filters ensure that these sub-events are relevant and logically sequenced.
  • State Tracking: Crucially, the outliner tracks settings and character development over time. This persistent memory ensures that character knowledge and environmental changes are maintained across thousands of words.

2. The Detailed Controller

Even with a dense plan, LLMs are prone to "drift" during the drafting phase. To prevent this, DOC incorporates a Detailed Controller based on the FUDGE (Future Discriminator Guided Generation) architecture.

A lightweight discriminator (OPT-350m) is trained on "hard negatives"—passages that begin on-topic but eventually deviate. During drafting, this controller monitors the main generator (OPT-175B) and adjusts the probability distribution (logits) token-by-token. If the generator begins to wander, the controller steers the text back toward the specific goals of the current outline leaf.

Experimental Results

The framework was evaluated on 20 stories averaging 3,500 words, using the WritingPrompts dataset. In head-to-head human evaluations against the previous state-of-the-art ($Re^3$), DOC demonstrated substantial improvements across all key metrics.

Comparison of DOC against baseline methods across coherence, relevance, and interestingness metrics.

As shown in the evaluation data, DOC achieved a 22.5% absolute gain in plot coherence and a 28.2% gain in outline relevance. Furthermore, participants found DOC-generated stories 20.7% more interesting, likely due to the detailed outliner forcing more specific and varied events into the narrative.

In a "Human-In-The-Loop" study, users preferred DOC's interactive workflow by a staggering margin. For the "Control" and "Intuition" metrics, DOC was preferred 80% of the time compared to just 5% for $Re^3$, highlighting the system's effectiveness in allowing humans to steer complex plots through natural language editing of the detailed outline.

Discussion and Limitations

While DOC significantly advances long-form story generation, several challenges remain. Models still occasionally commit factual errors regarding character names or genders. Additionally, if the recursive outliner produces vague leaf nodes, the drafting model may still find room to wander. Future work will focus on scaling these hierarchies to novel-length works (50,000+ words), which will require even deeper memory management and more robust hierarchical control.

Summary updated

BibTeX
@inproceedings{yang2023doc,
  author = {Kevin Yang and Dan Klein and Nanyun Peng and Yuandong Tian},
  title = {{DOC: Improving Long Story Coherence With Detailed Outline Control}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.190},
}
Figure