HyperAIHyperAI

Command Palette

Search for a command to run...

Spark-to-Paper : la génération de bout en bout d'articles de recherche comme compétence composable

Zhuoyang Qian Biao Wu Yiran Wang Chris D Yan Desan Dai Liangwei Zheng Jin Jiang Jusheng Zhang Wenhao Wang

Résumé

Transformer une idée de recherche en un article complet exige plus que de la génération de texte : le système doit retrouver la littérature, concevoir et exécuter des expériences, réviser les affirmations en fonction des preuves, produire des figures prêtes à être publiées et maintenir la cohérence tout au long d'un long processus de génération. Nous présentons Spark-to-Paper, un système de génération d'articles de recherche de bout en bout implémenté sous la forme de treize compétences composables au sein d'un assistant de codage existant, sans nécessiter de plateforme d'agents ou de service d'orchestration séparé. Spark-to-Paper distingue le jugement fondé sur le modèle des opérations déterministes qui peuvent être directement exécutées et vérifiées. Il sépare en outre la planification des expériences de la rédaction des résultats, de sorte que les preuves requises soient spécifiées avant que les résultats ne soient observés et que les affirmations du manuscrit soient révisées en fonction des résultats mesurés. Pour améliorer la fiabilité sur de longues trajectoires de recherche, le système combine des contrôles d'intégrité déterministes avec l'autocritique et borne un mode de défaillance que nous appelons la boucle d'auto-réfutation, dans laquelle des expériences répétées continuent de rejeter l'objectif de recherche initial. Spark-to-Paper produit également des figures vectorielles modifiables par traçage programmatique pour les résultats expérimentaux et par reconstruction basée sur le code pour les diagrammes de méthodes générés. Sur huit sujets de recherche contrôlés, Spark-to-Paper atteint 99,5 % de validité des citations et 96,4 % de modifiabilité des figures. Une ablation contrôlée fait passer la détection de fabrication de 14 % pour une ébauche en une seule passe à 92 % avec la pile complète d'intégrité et de révision, tandis qu'une révision contradictoire atteint une précision de 74 %. Le système complet utilise 11,9 millions de tokens, coûte 8,1 $ par manuscrit et nécessite en moyenne 3,2 heures. Ces résultats montrent que la génération de bout en bout d'articles de recherche peut être implémentée comme un flux de travail léger et composable au sein d'assistants de codage existants, tout en maintenant les preuves expérimentales au cœur de la manière dont les affirmations sont acceptées, révisées ou abandonnées.

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,butitscitationvaliditydroppedto810.66 and completed in 16 minutes, but its citation validity dropped to 81%, illustrating the quality–efficiency trade-off. Agent Laboratory, the cheapest prior system at0.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.


Créer de l'IA avec l'IA

De l'idée au lancement — accélérez votre développement IA avec le co-codage IA gratuit, un environnement prêt à l'emploi et le meilleur prix pour les GPU.

Codage assisté par IA
GPU prêts à l’emploi
Tarifs les plus avantageux

HyperAI Newsletters

Abonnez-vous à nos dernières mises à jour
Nous vous enverrons les dernières mises à jour de la semaine dans votre boîte de réception à neuf heures chaque lundi matin
Propulsé par MailChimp