Language models can now summarize a 5,000-word document about as well as people can. They are much worse at the reverse task: turning a 500-word sketch into a 5,000-word document that stays consistent. On LCFO, models that summarize well lose 6% to 30% of their quality when asked to expand (LCFO). On LongGenBench, instruction following drops sharply after about 4,000 generated tokens, even for GPT-4o and Llama 3.1-70B (LongGenBench). The usual fix is to plan first and then write. That requires plans to train on, which come either from human annotators or from a stronger proprietary model that reverse-engineers outlines from existing documents (Integrating Planning into Single-Turn Long-Form Text Generation).
We propose to use the strong direction to train the weak one. A model summarizes unlabeled long documents bottom-up, section by section, which gives each document a free hierarchy: full text, then section summaries, then a document outline. It then trains on a masked-modeling objective over that hierarchy: hide random nodes at any level and reconstruct them from the rest. The design borrows from medical imaging, where jointly masking an X-ray and its paired free-text report produced representations that matched fully supervised models with 1% of the labels (Masked Record Modeling). Here the summary levels play the role of the paired report. At inference, the same model checks each section it has just drafted by summarizing it and comparing that summary to its plan node. This detects drift without a separately trained discriminator.
Core Claim
Our claim is that a single open model can close most of the summarize-versus-expand gap with no stronger teacher and few human outlines. It needs two things. First, self-supervised masked reconstruction over hierarchies built from its own summaries. Second, a cycle check during generation: write a section, re-summarize it, compare to the plan, and redraft if they diverge. The concrete prediction is about the shape of the learning curve. When the model is fine-tuned on 0%, 10%, and 100% of LCFO's human-written multi-level summaries, the self-supervised version at 10% should match a version trained on teacher-distilled outlines. Whether random masking across levels beats a fixed set of plan tasks is a separate question, settled by an ablation.
Relation to Prior Work
Three groups of prior work motivate the gap.
Plan-then-write systems. DOC recursively expands outlines and steers OPT-175B with a FUDGE discriminator, a small model that scores partial text against a goal. That discriminator is trained on curated hard negatives (DOC). Re3 instead prompts, revises, and re-grounds in a fixed plan (Re3). Both rely on engineered pipelines. We replace the trained discriminator with the generator's own summarizer.
Self-supervised planners. These avoid human plans but work only at short horizons. SSPlanner predicts an unordered bag of keywords for paragraph completion and recovers about 43% of the correct keywords (Plan ahead). The Latent Anchor Plan model infers one anchor word per sentence on five-sentence stories (Narrative Text Generation with a Latent Discrete Plan). PLANET interleaves latent sentence-plan tokens with contrastive coherence training on 100 to 300 word arguments (PLANET). We keep their label-free spirit. Our plans, however, are multi-level natural-language summaries rather than keywords or single vectors, and our target is documents of 5,000 words and up.
The work our method most directly builds on. Liang et al. multi-task fine-tune a model on three fixed tasks: write directly, write a plan then the text, and write from a given plan. Their plans are reverse-engineered by Gemini Ultra and then filtered by a hallucination detector (Integrating Planning into Single-Turn Long-Form Text Generation). We differ in three ways. Our plans come from the model being trained, not a stronger teacher. We mask randomly over all levels rather than using three fixed formats. Our plan can be checked and repaired during writing, whereas theirs is static.
Two papers constrain the design.
HIGEN shows that a model's self-extracted highlights improve long summarization, but those highlights are biased toward the beginning and end of the document (HIGEN). We therefore summarize section by section and never in one pass over the whole document.
RepTok shows that compressing a self-supervised representation into a single token creates an information bottleneck (RepTok). This is why we keep plans as text at several resolutions rather than compressing them into one latent vector.
Research Program
Building the hierarchy. We split each unlabeled long document into sections, using native headings where they exist and otherwise fixed-size chunks of about 600 words. The base model, Qwen3-8B, summarizes each section at roughly 20% length. It then summarizes the concatenated section summaries into a document outline at roughly 5% length. This mirrors LCFO's compression levels.
We filter the summaries with SummaC faithfulness against their source section, the same metric HIGEN reports. This filter is the only quality control we apply, and it is deliberately cheap.
The pretraining corpora are the unlabeled document sides of SciNews, FreshWiki, and GovReport. We exclude LCFO and every evaluation split.
Training objective. Let $h = (o, s_1..s_K, x_1..x_K)$ be one document's hierarchy. Here $o$ is the outline, $s_k$ is the summary of section $k$, and $x_k$ is the text of section $k$. We sample a mask $M$ over these $2K+1$ nodes and train the model to generate the masked nodes conditioned on the visible ones, serialized in a fixed order with mask placeholders:
$$\mathcal{L} = -\mathbb{E}_{h,\,M}\,\log p_\theta\big(h_M \mid h_{\setminus M}\big)$$
The mask distribution is chosen to cover several useful task types:
- Pure expansion: the outline and summaries are visible and the text is hidden.
- Infilling: one middle section is hidden.
- Plan completion: the outline and some summaries are hidden.
- Ordinary summarization: the text is visible and the summaries are hidden.
Small labeled stage. The model is then fine-tuned on a fraction of LCFO's human-written summaries, treated as gold hierarchies. This stage is what makes the label-efficiency curve measurable.
Generation procedure. Given a sketch, the model:
- Completes the outline and section summaries by masked infilling.
- Writes each section conditioned on the full plan and the previously written text.
- Re-summarizes each finished section.
Drift is measured as the cosine distance, in SONAR sentence-embedding space, between that re-summary and the planned $s_k$. SONAR is the encoder LCFO already uses to align paragraphs. If the distance exceeds a threshold calibrated on held-out training documents, the model redrafts the section, up to two times.
Baselines
Naive reference. The same Qwen3-8B is prompted zero-shot to expand the sketch into the full document in one pass. LongGenBench and LCFO predict this will degrade. It anchors how much any method adds.
Strongest teacher-based method. This is the Liang et al. recipe, with one change: its plans come from the largest open model we can run, in place of Gemini Ultra. It is the strongest competitor because it directly answers whether a better plan source makes our self-supervision unnecessary. Liang et al. report a 3.60 human win/loss ratio over fine-tuned baselines on SciNews, and +2.5% to +4.4% ROUGE-Lsum over direct generation on SciNews and FreshWiki.
For a fair comparison, both systems use:
- the same student model,
- the same unlabeled documents,
- the same number of training tokens and the same hyperparameter-search budget,
- the same SummaC filter.
We count it as beaten only if our system matches or exceeds it on LCFO expansion in human evaluation while using no teacher.
Strongest prompting pipelines. DOC and Re3 are rerun with the same base model as generator. DOC's discriminator is retrained following its published recipe. On WritingPrompts, DOC reports a 22.5% absolute gain in plot coherence over Re3. We count DOC as beaten if our system wins head-to-head human preference on plot coherence at the same total inference-token budget, with all redrafting costs counted.
Ablations that isolate the key ingredients. Two ablations target the masking objective:
- Replace random masking with Liang's three fixed tasks over our self-generated plans.
- Collapse the hierarchy to a single outline level.
One ablation targets the inference-time check: remove the cycle check, or replace it with Re3-style self-critique prompting at matched compute.
Why not just…?
Why not just prompt a long-context model to write the whole document? LongGenBench finds that strength in reading long inputs, as measured by RULER, does not carry over to writing long outputs, with a sharp drop after about 4,000 tokens. LCFO finds that expansion degrades even when summarization is strong. The naive baseline tests this directly on our base model. If it already matches our system on LCFO expansion, the proposal fails.
Why not just distill outlines from a stronger model, as Liang et al. do? This is the most serious threat. If teacher plans are simply better, self-generated ones may only reproduce a weaker version of distillation.
LCFO gives some reason for optimism, since strong models summarize at or above human quality at 5% compression. However, that evidence comes from GPT-4o-mini, not an 8B model, so it does not settle the question.
The matched teacher-distillation baseline answers it. If the teacher version wins clearly, we report that self-generated hierarchies are mainly useful when no teacher is available. We also run a hybrid: teacher plans combined with masked-hierarchy training. This separates the value of the plan source from the value of the objective.
Why not just add Re3-style revision instead of a summarize-and-compare check? Self-critique prompting is simpler and might catch the same drift. The matched-compute ablation decides this. If self-critique is as good, we drop the cycle check and keep only the training contribution.
Why not just fine-tune on long documents with no plans at all? This removes the planning machinery entirely. We include it as a further baseline: the same tokens, the same model, with every node except the text masked out. PLANET's comparison of dynamic against static planning (98.03% versus 71.7% automated coherence) suggests that structure matters. That result, though, comes from short texts and from a static-versus-dynamic plan comparison, not from a comparison against a plan-free model. So our long-document test is needed.
Proposed Experiments
Primary benchmark: LCFO Summary Expansion. The task is generating about 5,000 words from a 500-word summary. We measure it with LCFO's human-evaluation protocol and with automatic paragraph alignment via SONAR. Because LCFO reports about 0.4 correlation between automatic metrics and human scores, human scores decide all conclusions. The file reports only the relative 6% to 30% drop, so there is no reported absolute expansion score on Lacuna to compare against.
Long-output instruction following: LongGenBench. We report STIC-1 and STIC-2 at 16K and 32K tokens, split by instruction type (single, range, periodic). The paper describes the 4,000-token cliff only qualitatively in the file, so no reported numeric result was found on Lacuna for a specific model. All numbers will therefore come from our own runs.
Other benchmarks.
- SciNews and FreshWiki: human win/loss ratio and ROUGE-Lsum against the Liang-style baseline.
- WritingPrompts: pairwise human preference against DOC and Re3 on stories of about 3,500 words.
Decisive checks.
- The label-efficiency curve. We fine-tune on 0%, 10%, and 100% of LCFO's human hierarchies, with and without masked-hierarchy pretraining. The prediction is that pretraining plus 10% matches teacher distillation; if this curve shows no advantage, the core claim fails.
- Whether gains grow with length. We plot STIC-2 against output position, separately for the per-section text and the full document. The prediction is that the gap over the naive baseline widens beyond 4,000 tokens. If it does not, the hierarchy is not addressing long-horizon drift.
- Whether the drift signal is real. On held-out generations, we test whether the SONAR drift distance predicts human-judged section inconsistency. If it does not, redrafting is acting as random resampling and the cycle check should be removed.
References
- LCFO: Long Context and Long Form Output Dataset and Benchmarking
- LongGenBench: Benchmarking Long-Form Generation in Long Context LLMs
- Integrating Planning into Single-Turn Long-Form Text Generation
- Advancing Radiograph Representation Learning with Masked Record Modeling
- DOC: Improving Long Story Coherence With Detailed Outline Control
- Re3: Generating Longer Stories With Recursive Reprompting and Revision
- Plan ahead: Self-Supervised Text Planning for Paragraph Completion Task
- Narrative Text Generation with a Latent Discrete Plan
- PLANET: Dynamic Content Planning in Autoregressive Transformers for Long-form Text Generation
- Enhancing Long Document Long Form Summarisation with Self-Planning
- Adapting Self-Supervised Representations as a Latent Space for Efficient Generation