TL;DR
This paper introduces a novel data generation pipeline that "unfolds" full scientific papers into multi-turn writing trajectories containing synthetic writing requests, global plans, and section-by-section deliberations. By training language models on this 60-billion-token corpus, the authors significantly boost document-level planning, academic writing, and long-context comprehension without sacrificing general reasoning capabilities.
What Problem Does This Paper Address?
While synthetic data has become a cornerstone for training large language models (LLMs), recent approaches have shifted from merely cleaning up web text to reconstructing the "thinking process" or rationale behind it. However, these methods have been bottlenecked by scale and scope: they typically operate on short web snippets (1–2K tokens) and only capture local, isolated thoughts.
As a result, models miss out on learning how to structure, plan, and execute long-form, cohesive documents. The authors address this gap by leveraging scientific papers—which possess a highly stable, uniform structure—to scale latent-thought reconstruction to the entire document level.
Methods
The core innovation is a reverse-engineering pipeline called unfolding. Given a cleaned scientific paper, a teacher LLM (Qwen3.5) reconstructs the hypothetical writing process backwards:
- Section Summarization: The teacher model summarizes each section independently.
- Writing Request & Global Plan: Based on the title and section summaries, the teacher infers a natural "writing request" (the prompt) and a "global plan" outlining the strategy for the paper.
- Section Deliberations: Crucially, before each original section text (which is kept verbatim), the teacher generates a "pre-writing deliberation" explaining what the section needs to establish and how it connects to the surrounding argument.
This transforms a static paper into an interactive, multi-turn training trajectory: Request ⊕ Plan ⊕ Deliberation 1 ⊕ Section 1 ... ⊕ Review ⊕ Abstract.
The authors apply this strategy to Continued Pre-Training (CPT). They also extend this reverse-construction approach to Supervised Fine-Tuning (SFT) data by taking a paper passage as an "answer" and generating a matching task prompt and deliberation.
Datasets
The authors introduced three major data resources built from arXiv sources:
- CPT Corpus: 1.8M quality-filtered arXiv papers (from 2006 to Jan 2026), expanding 30B tokens of raw text into a 57–60B token trajectory corpus.
- SFT Dataset: 200K high-quality academic writing and reading instruction samples across 29 task types.
- PAW-Bench (Paper-Anchored Writing Benchmark): A new evaluation benchmark consisting of 2,940 academic writing tasks across 15 types (e.g., writing abstracts, literature reviews, or technical reports) derived from held-out papers (Feb–Jun 2026). Each task includes custom rubrics and hard checklists.
Key Insights and Ideas
- Structure as a Scaffold: Scientific papers are uniquely suited for document-level thought reconstruction because section boundaries provide natural checkpoints for planning and deliberation.
- The Small Generator Paradox: Counterintuitively, using a smaller teacher model (Qwen3.5-4B) to generate the synthetic deliberations led to better downstream writing and reasoning performance than using larger models (9B or 27B). The 4B model used more conversational, reflective language ("imagine", "walking through"), which created a higher training loss and better learning dynamics for the student model.
- Complementary Gains: Combining trajectory-based CPT with targeted academic SFT yields compounding benefits, drastically improving a model's adherence to complex writing constraints and formatting rubrics.
Key Results
The authors evaluated their approach by training a Qwen2.5-7B base model and using GPT-5.5 as a quality judge:
- Writing Improvements: Models trained on the unfolded trajectories consistently outperformed plain-text baselines. On PAW-Bench, the
Our-Data-4B CPT + DeepWriting SFTmodel achieved a rubric score of 59.47, beating the plain-paper control (57.51) and direct SFT (55.42). Combining their CPT with their custom SFT data (Our-Data-27B CPT + Our-Mixed SFT) pushed the PAW-Bench rubric score to 64.13 and raised the checklist pass rate from 0.529 to 0.637. - Long-Context & Comprehension: On the Qasper benchmark (reading comprehension over full NLP papers), the 27B trajectory model scored 43.01, significantly outperforming the direct SFT baseline (39.82) and the plain-paper CPT control (35.89). The model clearly benefited from the length expansion of the training data, where unfolding shifted the median document length from 11.2K to nearly 29K tokens.
- Reasoning Preservation: Unlike typical domain-specific continued pre-training, which often degrades general capabilities, this trajectory-based CPT preserved or slightly improved performance on standard reasoning benchmarks like MMLU-Pro, MATH, and GPQA.
Limitations and Future Work
- Single Base Model Scale: The CPT experiments were restricted to a Qwen2.5-7B base model and a fixed data mixture ratio (30B trajectory tokens + 20B general text tokens). Evaluating larger scale models remains an open direction.
- LLM Judge Dependency: The evaluation relies heavily on advanced LLM judges (GPT-5.5, Gemini 3.1 Pro). While automated checks and spot checks were performed, extensive human evaluation is still required to see if these metrics truly mirror human reader preferences.
- Plausible vs. Actual Thinking: The generated trajectories reconstruct a plausible writing process after the fact; they do not capture the actual, non-linear, and often messy deliberation process of the original human authors.
Summary updated