You have fifty PDFs, a Jupyter notebook full of ablation tables, and a conference deadline in two weeks. The AI writing assistants on the market give you a polite blog post. PaperOrchestra gives you a camera-ready PDF with a proper related-work section, cited equations, and conceptual diagrams it drew itself.
The gap is not subtle. End-to-end research agents like AI Scientist-v2 couple writing to their own experimental loops; they cannot ingest your messy notes. Survey generators like AutoSurvey2 and LiRA produce excellent literature reviews but stop there; they do not write methodology, experiments, or conclusions. Single-shot LLM prompts hallucinate citations and miss the narrative thread. Researchers are left stitching fragments by hand.
PaperOrchestra, from Google Research, treats paper writing as a production pipeline, not a prompt. An outline agent decomposes "write a paper" into five verifiable stages, each handled by a specialist agent with explicit handoffs. On PaperWritingBench (200 reverse-engineered papers from CVPR 2025 and ICLR 2025), it beats the best autonomous baseline by 50–68 percentage points on literature-review quality and 14–38 points on overall manuscript quality in human side-by-side evaluations. It still trails expert human writers on novelty framing but closes most of the gap.
The Mental Model: A Documentary Film Crew
A research paper is like a documentary film. You have raw footage (PDFs, code, experimental logs, half-formed ideas) but no finished film appears without a crew. PaperOrchestra is that crew.
The outline agent is the director, producing a JSON outline with visualization plans, literature-search strategies, and section-level writing plans with citation hints. The plotting agent is the cinematographer, using PaperBanana's VLM critic loop to generate conceptual diagrams and statistical plots from scratch. The literature review agent is the researcher, running hybrid web search plus Semantic Scholar verification to build a citation registry and draft the introduction and related work. The section writing agent is the editor, weaving your numbers into tables, your claims into arguments, and the generated figures into a complete LaTeX manuscript. The content refinement agent is the fact-checker, running simulated peer review (via AgentReview) in a score-driven revision loop until the manuscript stops improving.
The key insight is the outline agent's decomposition. A monolithic prompt asks one model to do everything at once (plan, retrieve, write, cite, format, illustrate, self-critique). PaperOrchestra separates these concerns. Each specialist operates on structured inputs and produces structured outputs. The outline agent enforces the handoffs. This is not prompt engineering; it is software architecture applied to generation.
Walking Through the Pipeline: From Messy Notes to Manuscript
Let us trace a concrete mini-example. Input: three PDFs on attention mechanisms, one experiment notebook with ablation results, one idea.md file describing a research gap. Output: an eight-section LaTeX manuscript ready for submission.
Stage 1: Material Ingestion to Source Spans
The outline agent first chunks your inputs into tagged source spans. Every paragraph from idea.md and every numbered finding from the experimental log gets a stable span_id and a source_id like idea::Problem Statement or explog::Ablation Results. The spans are the ground truth. Every claim written later must anchor to one or more spans.
Stage 2: Outline Generation
The outline agent reads all spans and emits a JSON plan with three components: a visualization plan (plot types, data sources, aspect ratios), a literature search strategy (macro context and micro methodology clusters with search queries and citation hints), and a section writing plan (hierarchical bullets plus a master citation-hint list). This outline is the contract between stages; the plotting agent and literature agent execute in parallel, both reading the same plan.
Stage 3: Parallel Execution: Plotting and Literature
The plotting agent (PaperBanana) takes the visualization plan, drafts text descriptions, renders images, feeds them to a VLM critic, and iterates until approved. It also writes context-aware captions, producing conceptual diagrams (architecture schematics, data-flow illustrations) not just data plots.
The literature review agent runs a two-phase pipeline. Phase 1: an LLM with web search rapidly pools candidate papers. Phase 2: each candidate undergoes strict verification via Semantic Scholar API (fuzzy title match, year alignment, retrievable abstract, pre-cutoff date). Verified papers are deduplicated, compiled into a BibTeX file, and passed to the writer for introduction and related work.
Stage 4: Section Writing
The section writing agent receives the partially filled LaTeX (intro and related work done, figures placed). It extracts numeric values from the experimental log to construct tables. Guided by the section-level outline and the citation bank, it drafts abstract, methodology, experiments, and conclusion in a single comprehensive multimodal call. The output is a complete LaTeX manuscript.
Stage 5: Iterative Content Refinement
The content refinement agent (AgentReview) simulates peer review. It scores the manuscript on multiple axes, generates specific feedback, and proposes revisions. Revisions are accepted only if the overall score increases, or ties with non-negative sub-axis gains. The loop halts on any score decrease, negative tie-breaker, or iteration limit (three rounds default). The final LaTeX and compiled PDF are the deliverable.
The Evidence Grounding Score
How does the system know a claim is backed by your materials? Every section claim is checked against the source spans.
The grounding score G is the fraction of claims in a section that have at least one supporting span. In the toy implementation below, we compute this exactly (no LLM judge needed). A claim without a verified span is flagged as a hallucination and sent back for revision. This span-level accountability is the paper's killer feature for factuality.
The Numbers: Where It Wins and Where It Still Loses
Before the tables, define every metric and jargon term in plain English.
P0 (Must-Cite) covers core references strictly necessary: direct baselines, datasets, metrics, and foundational methods the paper builds on. P1 (Good-to-Cite) covers valuable but non-essential background: orthogonal work and supplementary context. A Sparse Idea is a high-level research summary excluding experimental results and formal math, while a Dense Idea preserves mathematical definitions and LaTeX equations. Lit Review Win Margin is PaperOrchestra's win rate minus the baseline win rate in human side-by-side evaluation of Introduction + Related Work; Overall Quality Win Margin is the same but for the full manuscript. ScholarPeer Acceptance is the simulated acceptance rate from the ScholarPeer automated reviewer (Goyal et al., 2026). Citations Generated counts total unique references in the generated bibliography.
Main Results
| Venue | Metric | Single Agent | AI Scientist-v2 | PaperOrchestra |
|---|---|---|---|---|
| CVPR 2025 | Lit Review Win Margin | N/A | N/A | 50–68% |
| CVPR 2025 | Overall Quality Win Margin | N/A | N/A | 14–38% |
| ICLR 2025 | Lit Review Win Margin | N/A | N/A | 50–68% |
| ICLR 2025 | Overall Quality Win Margin | N/A | N/A | 14–38% |
| CVPR 2025 | ScholarPeer Acceptance | 71% | 70% | 84% (GT: 86%) |
| ICLR 2025 | ScholarPeer Acceptance | 72% | 64% | 81% (GT: 94%) |
| CVPR 2025 | Citations Generated | 11 | 14 | 48 (GT: ~59) |
| ICLR 2025 | Citations Generated | 10 | 14 | 46 (GT: ~59) |
Win margins are absolute: PaperOrchestra win rate minus baseline win rate in human SxS. Ranges reflect sparse vs. dense idea settings and judge models (Gemini-3.1-Pro, GPT-5). GT = human-written ground truth papers.
Ablation: What Drives the Gains
| Ablation | Setting | Key Finding |
|---|---|---|
| Sparse vs. Dense Idea | SxS Overall Quality | Dense wins 43–56% vs. 18–24% (more rigorous methodology) |
| Sparse vs. Dense Idea | SxS Literature Review | Near parity: Sparse 32–40% vs. Dense 28–39% (robust literature agent) |
| PlotOff vs. PlotOn | SxS Paper Quality | PlotOn ties/wins 51–66% despite GT figure advantage for PlotOff |
| Content Refinement (Before vs. After) | Automated SxS | Refined drafts win 79–81% with 0% losses |
| Content Refinement | ScholarPeer Acceptance | +19% CVPR, +22% ICLR acceptance rate gains |
Data from Tables 5, 6, and Figure 4. SxS = side-by-side evaluation; PlotOff uses human-authored figures, PlotOn uses autonomously generated visuals.
PaperOrchestra generates four to five times more citations than the baselines. The baselines' apparently competitive F1 scores are a mathematical artifact: they cite so few papers (nine to fourteen) that precision inflates. Their P1 (good-to-cite) recall is near zero. PaperOrchestra's P1 recall improves by 12 to 13 percentage points over the strongest baseline; it actually explores the broader literature.
On literature review quality, PaperOrchestra scores 78.3 (CVPR) and 76.2 (ICLR) on a 0-100 scale, versus 45.4 (CVPR, AI Scientist-v2) and 43.0 (ICLR, AI Scientist-v2) for the best AI baseline. It dominates on citation practices and critical analysis, meaning it synthesizes analytical narratives rather than listing papers.
The refinement loop matters. Ablation shows refined manuscripts beat unrefined drafts 79 to 81 percent of the time with zero losses. Simulated acceptance rates jump +19% (CVPR) and +22% (ICLR). The loop corrects clarity and presentation (the difference between a rough draft and a submission-ready manuscript).
The Honest Gap
Human evaluators still prefer ground-truth papers over PaperOrchestra. The tie/win rate versus human GT is 43% on literature synthesis. The authors note that the shortfall concentrates on novelty framing (the system struggles to distinguish the paper's real conceptual contribution from incremental improvements). It writes competent related work; it does not yet write the "this changes everything" paragraph that an expert would. The authors note this explicitly in limitations.
The Core Algorithm in 60 Lines of Python
The outline agent's task decomposition plus evidence-grounding loop is the algorithmic heart. Below is a condensed implementation (no mock LLMs, no stubbed calls). It uses deterministic string matching for claim-span verification and prints every stage. The full runnable file is at toy_example.py.
# toy_example.py - PaperOrchestra core mechanism import re from dataclasses import dataclass, field from typing import List, Dict from collections import defaultdict @dataclass class SourceSpan: text: str; source_id: str; span_id: str @dataclass class Claim: text: str; section: str; claim_id: str supporting_spans: List[str] = field(default_factory=list) @dataclass class SectionPlan: name: str; required_claim_types: List[str]; citation_hints: List[str] class TinyEmbedder: def __init__(self): self.stopwords = {'the','a','an','and','or','but','in','on','at','to', 'for','of','with','by','is','are','was','were','be', 'been','have','has','had','do','does','did','will', 'would','could','should','may','might','can','this', 'that','these','those','we','our','method','model', 'paper','results','experiments','show','shows', 'demonstrate','achieve','improve','propose','introduce', 'novel','new','state','art','baseline','dataset','metric'} def keywords(self, text: str) -> set: return {w for w in re.findall(r'\b[a-z]{3,}\b', text.lower()) if w not in self.stopwords} def similarity(self, t1: str, t2: str) -> float: k1, k2 = self.keywords(t1), self.keywords(t2) return len(k1 & k2) / len(k1 | k2) if k1 and k2 else 0.0 def supports(self, span: SourceSpan, claim: Claim, thresh: float = 0.25) -> bool: return self.similarity(span.text, claim.text) >= thresh class OutlineAgent: def __init__(self): self.embedder = TinyEmbedder() self.source_spans: List[SourceSpan] = [] def ingest(self, idea_md: str, exp_log: str) -> List[SourceSpan]: print("\n[1/5] Ingesting materials...") spans, sid = [], 0 for src, prefix in [(idea_md, "idea"), (exp_log, "explog")]: for section in re.split(r'\n##+\s+', src): if not section.strip(): continue lines = section.strip().split('\n') header = lines[0] if lines else "Unknown" for para in '\n'.join(lines[1:]).split('\n\n'): if para.strip(): spans.append(SourceSpan(para.strip(), f"{prefix}::{header}", f"s{sid}")) sid += 1 self.source_spans = spans print(f" → {len(spans)} source spans tagged") return spans def plan(self) -> List[SectionPlan]: print("\n[2/5] Outline agent planning sections...") plans = [ SectionPlan("Introduction", ["problem","gap","contribution"], ["foundational","survey"]), SectionPlan("Related Work", ["prior_method","limitation","differentiation"], ["baselines","orthogonal"]), SectionPlan("Methodology", ["architecture","component","formulation"], ["equations","design"]), SectionPlan("Experiments", ["setup","result","ablation"], ["datasets","metrics","baselines","numbers"]), SectionPlan("Conclusion", ["summary","impact","limitation"], ["future"]), ] for p in plans: print(f" → {p.name}: needs {', '.join(p.required_claim_types)}") return plans def write_claims(self, plan: SectionPlan) -> List[Claim]: claims, cid = [], 0 for ctype in plan.required_claim_types: kws = ctype.lower().split('_') relevant = [s for s in self.source_spans if any(kw in s.text.lower() for kw in kws) or any(h.lower() in s.text.lower() for h in plan.citation_hints)] if not relevant: prefix = "idea::" if plan.name in ["Introduction","Related Work","Methodology"] else "explog::" relevant = [s for s in self.source_spans if s.source_id.startswith(prefix)] if relevant: claims.append(Claim(f"[Claim: {ctype}] {relevant[0].text[:100]}...", plan.name, f"c{cid}", [s.span_id for s in relevant[:2]])) cid += 1 return claims def review(self, claims: List[Claim]) -> Dict[str, List[str]]: issues = defaultdict(list) for cl in claims: verified = [sid for sid in cl.supporting_spans if any(s.span_id==sid and self.embedder.supports(s, cl) for s in self.source_spans)] if not verified: issues[cl.claim_id].append("no supporting span") cl.supporting_spans = verified return issues def revise(self, claims: List[Claim], issues: Dict) -> List[Claim]: for cl in claims: if cl.claim_id in issues: for s in self.source_spans: if s.span_id not in cl.supporting_spans and self.embedder.supports(s, cl): cl.supporting_spans.append(s.span_id); break return claims def compile(self, all_claims: List[Claim]) -> str: print("\n[5/5] Compiling final manuscript...") by_sec = defaultdict(list) for cl in all_claims: by_sec[cl.section].append(cl) total_cites = sum(len(c.supporting_spans) for c in all_claims) halluc = sum(1 for c in all_claims if not c.supporting_spans) print(f" Sections: {len(by_sec)} | Claims: {len(all_claims)} | " f"Citations: {total_cites} | Hallucinations: {halluc} | " f"Grounding: {(len(all_claims)-halluc)/len(all_claims):.2f}") return "Done." def run(self, idea: str, explog: str): print("="*50); print("PAPERORCHESTRA TOY PIPELINE"); print("="*50) self.ingest(idea, explog) plans = self.plan() all_claims = [] for p in plans: print(f"\n[3-4/5] Writing + Reviewing + Revising: {p.name}") claims = self.write_claims(p) issues = self.review(claims) if issues: claims = self.revise(claims, issues) all_claims.extend(claims) self.compile(all_claims) if __name__ == "__main__": IDEA = "## Problem\nCurrent AI writing tools produce generic summaries or require rigid pipelines.\n## Hypothesis\nA multi-agent outline agent with span-level grounding can turn messy notes into papers.\n## Method\nFive stages: outline, parallel plot+literature, writing, refinement." EXPLOG = "## Setup\nEvaluated on 200 papers from CVPR/ICLR 2025. Baselines: Single Agent, AI Scientist-v2.\n## Results\nPaperOrchestra: 48 citations, 78 lit-score, 84% acceptance. Baselines: ~12 citations, 43-45 lit-score.\n## Ablation\nOutline agent removal drops quality. Literature agent removal collapses citations. Refinement loop adds +20% acceptance." OutlineAgent().run(IDEA, EXPLOG) The loop is visible: plan → write → review → revise → compile. Every claim carries its span IDs. The embedder verifies support. Unsupported claims get revised. This is the outline agent pattern in miniature and it generalizes to any long-form generation task where factuality matters.
Limits and Engineering Takeaways
PaperOrchestra requires well-structured input materials. Garbage in yields structured garbage out. The literature agent only sees papers in the input set or discoverable via search before the cutoff date (no live web access at writing time). The refinement loop can over-polish and strip author voice. LaTeX compilation fails silently if bibliography keys mismatch, a practical gotcha for deployment.
Three engineering lessons stand out. First, multi-agent orchestration beats a single giant prompt for complex structured output. The outline agent pattern (plan, delegate, review, revise) is reusable beyond paper writing. Second, explicit span-level evidence grounding is the killer feature for factuality. It transforms citation from a post-hoc decoration into a verifiable constraint during generation. Third, open-source the outline agent logic; keep specialist agents swappable. The paper uses PaperBanana for plotting and AgentReview for refinement, but the outline agent does not care. Any plotting module, any review module, any writer model can plug in.
The benchmark itself (PaperWritingBench) may be the lasting contribution. Two hundred reverse-engineered papers with sparse and dense idea variants, experimental logs, templates, and guidelines give the field a standardized way to evaluate writing systems in isolation from experimental pipelines. Future work can test richer input modalities (slides, meeting transcripts, codebases) and interactive human-in-the-loop steering. The goal is not to replace human authors but to eliminate the blank-page paralysis that turns two weeks of drafting into two months.


