Command Palette
Search for a command to run...
Spark-to-Paper: 構成可能なスキルとしてのエンドツーエンド研究論文生成
Spark-to-Paper: 構成可能なスキルとしてのエンドツーエンド研究論文生成
Zhuoyang Qian Biao Wu Yiran Wang Chris D Yan Desan Dai Liangwei Zheng Jin Jiang Jusheng Zhang Wenhao Wang
概要
研究アイデアを完全な論文に仕上げるには、単なるテキスト生成以上のものが必要となる。すなわち、文献の検索、実験の設計と実行、エビデンスに基づく主張の修正、出版可能な図の作成、そして長期にわたる生成プロセス全体での一貫性の維持が求められる。我々は、Spark-to-Paperを提案する。これは、既存のコーディングアシスタント内部に13の構成可能なスキルとして実装されたエンドツーエンドの研究論文生成システムであり、個別のエージェントプラットフォームやオーケストレーションサービスを必要としない。Spark-to-Paperは、モデルに基づく判断を、直接実行・検証可能な決定論的操作から分離する。さらに、実験計画と報告を分離することで、結果を観測する前に必要なエビデンスを特定し、測定された結果に基づいて論文の主張を修正する。長期的な研究軌跡における信頼性を向上させるため、本システムは決定論的な整合性チェックと自己批評を組み合わせ、我々が「自己反駁ループ」と呼ぶ、繰り返しの実験が当初の研究目的を棄却し続けるという失敗モードを抑制する。Spark-to-Paperはまた、実験結果についてはプログラムによる作図を通じて、生成された手法図についてはコードベースの再構築を通じて、編集可能なベクター図を生成する。8つの統制された研究トピックにおいて、Spark-to-Paperは99.5%の引用妥当性と96.4%の図の編集可能性を達成した。統制されたアブレーション実験により、捏造検出率は単一パスドラフトの14%から、完全な整合性・レビュースタックを用いることで92%に向上し、敵対的レビューは74%の適合率を達成した。システム全体では11.9Mトークンを使用し、原稿あたりのコストは$8.1、平均所要時間は3.2時間である。これらの結果は、エンドツーエンドの研究論文生成が、既存のコーディングアシスタント内部の軽量で構成可能なワークフローとして実装可能であり、同時に、主張の採否や修正の中心に実験的エビデンスを据え続けられることを示している。
One-sentence Summary
Vast Intelligence Lab and the University of Technology Sydney present Spark-to-Paper, an end-to-end research paper generation system built as thirteen composable skills inside a coding assistant that decouples model judgment from deterministic checks, separates experiment planning from reporting, and employs integrity checks and self-critique to avoid the Self-Refutation Loop, achieving 99.5% citation validity, 96.4% figure editability, and a cost of $8.1 per manuscript.
Key Contributions
- Spark-to-Paper is an end-to-end research paper generation system implemented as thirteen composable skills inside an existing coding assistant, reusing its native file, tool, and code execution capabilities without a separate agent platform. It separates model-based judgment from deterministic operations and decouples experiment planning from reporting, so required evidence is specified before results are observed and manuscript claims are revised accordingly.
- The system bounds the Self-Refutation Loop, a failure mode where repeated experiments reject the original research objective, by preserving the unsuccessful trajectory as a research report and moving to a new idea, ensuring claims are revised or abandoned according to evidence rather than forced toward a successful narrative.
- Spark-to-Paper generates editable vector figures through programmatic plotting for experimental results and code-based reconstruction for method diagrams, and applies deterministic integrity checks with self-critique to reduce fabrication. Across eight controlled research topics, citation validity reaches 99.5%, figure editability 96.4%, and a controlled ablation boosts fabrication detection from 14% to 92% while adversarial review achieves 74% precision.
Introduction
Automating the full research-to-paper pipeline requires more than just generating text; it involves literature search, experimentation, claim revision, and figure creation. Recent autonomous research agents can perform these tasks end-to-end, but they are typically built as standalone platforms with their own orchestration infrastructure, separate from the coding environments where researchers already work. Meanwhile, modern coding assistants offer file inspection, code execution, and tool use, yet existing skill-based tools only support partial workflows such as drafting or literature retrieval. The authors introduce Spark-to-Paper, a system that combines these capabilities into thirteen composable skills inside an existing coding assistant, enabling end-to-end paper generation with evidence-grounded claim revision, deterministic integrity checks, and editable vector figures, all without requiring a separate agent platform or orchestration service.
Method
The authors present Spark-to-Paper, a system composed of thirteen skills that operates within an existing coding assistant. Each skill addresses a specific research task, such as planning, literature search, writing, or figure generation. Rather than constructing a separate agent system, the framework leverages the coding assistant's native capabilities to read files, execute code, and invoke external tools. All skills share a common project directory, reading artifacts produced by previous steps and writing their outputs back to the project. This file-based interface allows the manuscript to evolve seamlessly across the entire pipeline.
Within each skill, the system separates tasks requiring judgment from those that can be executed mechanically. The language model handles context-dependent decisions, such as argument organization, literature selection, and claim evaluation. Conversely, operations with explicit rules, like checking manuscript structure, validating citations, and compiling LaTeX, are handled by deterministic scripts. This design ensures that open-ended generation is restricted to areas requiring semantic reasoning, while verifiable operations remain reproducible.
The execution of these skills is organized into a structured pipeline.
As illustrated in the framework diagram, the pipeline begins with Stage 0, Input Routing. The system inspects the user input to determine the starting point and selects a result-integrity mode. If no measured results are available, it enters Proposal Mode, where unavailable values must remain unspecified. If experimental data is present, it enters Data-Aware Mode, requiring quantitative statements to be supported by the provided data.
The core pipeline consists of Stages 1 through 7. The planning skill converts the input into a structured blueprint, identifying the research question, contributions, and section structure. The citation skill then builds a verified bibliography by searching for relevant literature and checking metadata, storing valid references in a BibTeX file. The writing skill generates the complete LaTeX manuscript using the blueprint and bibliography, maintaining consistency across sections. Following this, the refinement skill revises the manuscript as a whole to remove repetition and reconcile terminology, after which deterministic checks are rerun. The review skill then challenges the manuscript through multiple isolated passes examining technical soundness and experimental design. Confirmed issues are returned for further refinement. The figure skill generates visualizations, and the assembly skill combines all components into a final LaTeX project, compiling it and verifying the absence of errors.
Stage 8 handles experiment execution conditionally. If a complete draft is available and the planned experiments are feasible, the system runs them, records the outputs, and updates the manuscript with the new evidence. This connects the proposal and data-aware parts of the pipeline.
To maintain reliability over long generation horizons, the authors implement a dual integrity system. Deterministic gates enforce explicit constraints, such as citation consistency and successful compilation. For semantic errors that emerge over time, the system employs model-based self-critique. Self-Review operates locally after edits to fix terminology drift and local inconsistencies. Adversarial-Review operates at the manuscript level, where isolated passes examine the paper from complementary perspectives. Proposed issues must quote specific passages and are checked for validity before being accepted for revision.
To prevent self-refutation loops where the system repeatedly revises a research direction without converging, the number of experiment, critique, and revision cycles is bounded. If the research objective cannot be supported after seven cycles, the trajectory is terminated, and a failure report is generated. The system then initiates a new research trajectory from a different idea.
Figure generation follows two distinct paths. Method and explanatory figures are first created visually using an image-generation model and then reconstructed as editable vector graphics through code, iteratively adjusting the layout to match the visual target. Experimental result figures are generated directly from measured data using plotting programs, ensuring quantitative accuracy.
Experiment
The evaluation setup uses preregistered protocols and controlled experiments on eight topics, comparing Spark-to-Paper against human preprints, prior autonomous systems, and a single-pass baseline. Quality is assessed through citation validity, figure editability, and fabrication detection, with an ablation showing that the full quality-control stack sharply increases detection rates while adversarial review contributes high precision. Case studies confirm that the system autonomously refines its methods and prioritizes evidence over user-imposed prior expectations, leading to manuscripts with consistent, traceable claims.
Spark-to-Paper is the only compared system that provides full end-to-end automation, runs experiments, draws figures, produces editable vector graphics, and requires no standing infrastructure. Other systems either lack editable vector output, require standing infrastructure, or offer only partial capabilities in one or more areas. Spark-to-Paper is the only system that combines full end-to-end automation, fully running experiments, drawing figures, editable vector output, and no standing infrastructure requirement. AI Scientist v2 and AutoResearchClaw match Spark-to-Paper on end-to-end, experiment running, and figure drawing, but they do not provide editable vectors and require standing infrastructure.
The evaluation framework defines five quality metrics, each as a ratio of verified or editable elements to total instances, and one efficiency dimension tracking incremental computational cost. Review precision is only assessed for configurations with an explicit review stage, and all measurements are reported on a fixed set of externally selected topics with uncertainty across topics. Efficiency is measured as token and dollar deltas relative to the preceding configuration, isolating the marginal cost of each quality-control component. Citation validity is the proportion of references that are successfully resolved. Fabrication detection measures the fraction of injected unsupported claims that are flagged as unsupported. Figure editability is the share of editable elements among all figure elements. Review precision is the percentage of raised review issues that are independently verified, excluding ambiguous judgments. Cross-template robustness is the number of successful templates over supported templates. Efficiency is measured by incremental token and dollar costs for each added layer, reported relative to the immediately preceding row.
Spark-to-Paper attains the highest citation validity and figure editability among all evaluated systems, surpassing both human-written preprints and prior autonomous research agents. Prior systems offer moderate citation validity but provide almost no editable figures, while a single-pass LLM baseline is far cheaper and faster yet suffers from substantially lower citation accuracy. The full pipeline therefore delivers human-competitive artifact quality at a moderate increase in cost and runtime. Spark-to-Paper’s citation validity (99.5%) exceeded human preprints (97.8%) and all prior autonomous systems, which ranged from 91% to 96%. Figure editability reached 96.4%, whereas prior systems provided at most 3% editable elements and human preprints averaged 58%. The single-pass LLM baseline cost 0.66andcompletedin16minutes,butitscitationvaliditydroppedto812.33, achieved 96% citation validity but had no editable figures.
Starting from a single-pass draft, introducing gating markedly improves fabrication detection from 14% to 69% while incurring the largest token and monetary overhead. Adding self-review and adversarial review further raises detection to 81% and 92% respectively, each at a smaller incremental cost. The adversarial review stage also achieves 74% precision, indicating that most flagged issues are verifiable. Without any quality-control steps, only 14% of seeded fabrication probes are detected. Gating raises detection to 69% but adds 8.1 million tokens and $5.3 per paper, the largest single-component cost. Self-review improves detection to 81% with a modest cost increase of 1.1 million tokens. The full stack with adversarial review reaches 92% detection and attains 74% review precision, meaning most issues raised are verifiable.
The evaluation compares Spark-to-Paper against prior systems and human preprints using metrics for citation validity, figure editability, fabrication detection, and cost. Spark-to-Paper uniquely provides full end-to-end automation, runs experiments, and produces editable vector figures without standing infrastructure. It achieves higher citation validity and figure editability than both human preprints and earlier agents. Ablations show that stacking gating, self-review, and adversarial review progressively lifts fabrication detection, with adversarial review offering high precision at a modest incremental cost.