Spark-to-Paper: End-to-End Research Paper Generation as a Composable Skill
在现有代码助手里用13个技能就能从想法一路写成完整论文,实验结果不支持时系统会自己削弱主张
Spark-to-Paper不需要独立的智能体平台,而是在Claude Code这类现有代码助手内部,用13个可组合的技能把研究想法变成一篇完整论文。系统先确定实验需要什么证据再去做实验,之后依据实测结果修改论文中的主张,并把可机械验证的错误交给确定性检查、把语义判断交给模型自我批判。在8个受控研究主题上,引用有效率达99.5%,图表可编辑率达96.4%,捏造检测率从单次草稿的14%提升到完整体系下的92%。
METAL MEDIA 解读图
Spark-to-Paper 流程结构
证据状态已报告实测结果
- 输入路由(Stage 0)判断输入是简短想法还是成熟提案,以及是否已有实测数据(Proposal Mode 还是 Data-Aware Mode)
- 规划-引用-写作-精修-评审-图表-组装(Stage 1-7)13个技能读写共享项目目录中的产物,依次生成蓝图、参考文献、正文和图表
- 完整性与自我批判层确定性检查(引用、结构、编译)与Self-Review、Adversarial Review共同驱动最多7轮的实验-批判-修改循环
- 实验执行(Stage 8,条件触发)在代码和数据具备时运行真实实验,记录测量结果,并据此更新从摘要到结论的各处主张
- 应对自我推翻循环若7轮循环后原始假设仍不被支持,则记录为失败报告并换一个新想法重启整个流程
他们做了什么
- 把从想法到论文的整个流程(文献检索、实验设计与执行、依据证据修改主张、生成可发表图表、长流程一致性维护)实现为现有代码助手内的13个可组合技能,无需额外的智能体平台或编排服务。
- 把需要判断的工作(组织论证、判断文献相关性、评估证据是否支撑主张)与可机械执行验证的操作(结构检查、引用校验、LaTeX编译、根据数据画图)明确分开。
- 在实验计划阶段就像预注册一样,先确定需要哪些表格和指标,结果留空;实验完成后按supported、partially-supported、unsupported、contradicted、needs-confirmation等标签重新评估主张,并把修改同步传播到摘要、引言、结果和结论。
- 定义了一种叫Self-Refutation Loop(自我推翻循环)的失败模式,即反复实验却始终不能支持原始研究目标,系统仍在同一方向上反复修改;系统将实验-批判-修改循环上限设为7次,超过则记录失败报告并换新想法重新开始。
- 测量结果类图表由程序直接根据数据绘制成矢量PDF,说明性图表则先用图像生成模型制作,再通过代码重建为可编辑的矢量格式。
| System | End-to-end | Runs exper. | Draws figures | Editable vectors | No standing infra. |
|---|---|---|---|---|---|
| AI Scientist / v2 [13, 28] | ✓ | ✓ | ✓ | – | – |
| AutoResearchClaw [12] | ✓ | ✓ | ✓ | – | – |
| Kosmos / Robin [15, 7] | ⚫ | ✓ | ⚫ | – | – |
| Idea2Story [27] | – | – | ⚫ | – | ✓ |
| ARS [26] | ⚫ | – | – | – | ✓ |
| CycleResearcher [25] | ⚫ | ✓ | – | – | – |
| Spark-to-Paper (ours) | ✓ | ✓ | ✓ | ✓ | ✓ |

| Metric | Measurement |
|---|---|
| Quality | |
| Citation validity | Resolved references / total references |
| Fabrication detection | Detected unsupported claims / injected claims |
| Figure editability | Editable elements / total figure elements |
| Review precision | Verified issues / raised review issues |
| Cross-template robustness | Successful templates / supported templates |
| Efficiency | |
| Generation cost | Monetary cost, tokens, wall-clock time, and deployment footprint |
| System | Citation exist. (%) | Fig. editability (%) | Tokens (M) | USD | Wall-clock |
|---|---|---|---|---|---|
| Human-written preprints (sampled) | 97.8 [94.6, 99.4] | 58 [44, 71] | n/a | n/a | n/a |
| AI Scientist, released papers [13] | 93 (42/45) | 0 (0/210) | n/r | $10–15 (amort.) | ∼12 h / batch |
| AI Scientist-v2, workshop set [28] | 91 (58/64) | 3 (0–8) | n/r | ∼$20–25 / attempt | ≤15 h / run |
| Agent Laboratory, released paper [20] | 96 (27/28) | 0 (0/30) | n/r | $2.33 (gpt-4o) | ∼19 min |
| Single-pass LLM draft (same backbone) | 81 (range 76–86) | n/a | 0.11 (0.09–0.13) | $0.66 (0.55–0.76) | 16 min (13–19) |
| Spark-to-Paper (full stack) | 99.5 [98.4, 100] | 96.4 [92.7, 98.6] | 11.9 [10.2, 13.7] | $8.1 [6.9, 9.6] | 3.2 h [2.6, 3.9] |

| Configuration | Fabr. detection (%) | Review precision (%) | Δ tokens (M) | Δ USD |
|---|---|---|---|---|
| Single-pass draft (no gates) | 14 (5/36) [6, 29] | n/a | ref. | ref. |
| Gates only | 69 (25/36) [53, 82] | n/a | +8.1 ± 0.9 | +5.3 ± 0.5 |
| Gates + self-review | 81 (29/36) [65, 90] | n/a | +1.1 ± 0.2 | +0.6 ± 0.1 |
| Gates + self-review + adversarial review | 92 (33/36) [78, 97] | 74 (42/57) [61, 83] | +2.6 ± 0.4 | +1.6 ± 0.2 |
| Label | Action |
|---|---|
| supported | Retain with evidence-matched wording |
| partially-supported | Narrow the claim or request additional evidence |
| unsupported | Run a feasible missing experiment, weaken, or remove |
| contradicted | Remove or report as a limitation |
| needs-confirmation | Return the unresolved claim for author confirmation |

| Artifact | Stage | Purpose |
|---|---|---|
| blueprint.json | Planning | Paper structure, claims, notation, experiments |
| template.json | Planning | Venue specification and execution mode |
| refs.bib | Citation | Verified bibliography |
| claims_map.json | Citation | Claim–citation associations |
| sections/*.tex | Writing | Section-level manuscript sources |
| figures/ | Figure | Figures and generation records |
| results.facts.json | Data | Grounded quantitative evidence |
| main.tex/pdf | Assembly | Final manuscript project |
| logs/*.io.md | All stages | Stage-level input and output records |

研究结果
- 在8个受控研究主题上,完整系统达到99.5%的引用有效率和96.4%的图表可编辑率。
- 在人为注入不实主张的受控消融实验中,捏造检测率从单次草稿的14%提升到完整完整性与评审体系下的92%。
- 对抗性评审对其提出问题的精确率(precision)为74%。
- 完整系统平均每篇论文使用1190万token,成本为8.1美元,平均耗时3.2小时。

可应用场景
- 把一个粗略的研究想法快速扩展成完整的初稿论文。
- 在已有代码和实验结果的情况下,自动更新论文文字、表格和图表以匹配实测数据。
- 把捏造检测和引用校验机制用作稿件审计的辅助工具。
- 参考其主张修改流程(缩小结论范围或移入局限性部分)来处理实验结果与预期不符的情况。

局限与待验证事项
- 评估仅覆盖8个受控研究主题,尚未验证在更广泛领域或真实投稿场景下的泛化能力。
- 图1和表1中与其他系统的比较是作者根据公开文档做出的自评排序,并非实测基准。
- 图5中展示案例论文的页数、参考文献数和图表数量是系统维护者自行报告的数据,并非独立测量结果。
- 论证是否有说服力、贡献是否重要、实验设计是否科学合理等判断仍依赖模型判断,无法被确定性验证。
- 证据是否在语义上支撑某个主张目前由模型判断完成,这一判断本身的准确率未被单独测量。

为什么重要
它展示了把目前分离的实验代码工作流和论文写作工具合并到研究者已经在用的代码助手里的一条可行路径。同时它给出了一套具体且经过测量的机制,用来抓住无根据或捏造的主张,这对评估自动化科研写作工具的可信度很有参考价值。
本文术语
- 确定性检查(deterministic gate) · 规则明确、可以机械判断通过或失败的验证步骤,例如引用校验或LaTeX编译是否成功
- 自我推翻循环(Self-Refutation Loop) · 反复实验持续得出原始研究目标不成立的结论,但系统仍在同一方向上不断修改而不停止的失败模式
- 对抗性评审(Adversarial Review) · 在整篇稿件层面,多个独立评审流程从理论合理性、实验设计等不同角度对论文提出质疑
- Data-Aware Mode / Proposal Mode · 根据是否已有实测数据选择的两种执行模式,决定定量陈述必须满足的严格程度
论文原文摘要(英文)
Turning a research idea into a complete paper requires more than text generation: the system must retrieve literature, design and execute experiments, revise claims according to evidence, produce publication-ready figures, and maintain consistency across a long generation process. We present Spark-to-Paper, an end-to-end research paper generation system implemented as thirteen composable skills inside an existing coding assistant, without requiring a separate agent platform or orchestration service. Spark-to-Paper separates model-based judgment from deterministic operations that can be directly executed and checked. It further separates experiment planning from reporting, so that required evidence is specified before results are observed and manuscript claims are revised according to measured outcomes. To improve reliability over long research trajectories, the system combines deterministic integrity checks with self-critique and bounds a failure mode we call the Self-Refutation Loop, in which repeated experiments continue to reject the original research objective. Spark-to-Paper also produces editable vector figures through programmatic plotting for experimental results and code-based reconstruction for generated method diagrams. Across eight controlled research topics, Spark-to-Paper achieves 99.5% citation validity and 96.4% figure editability. A controlled ablation increases fabrication detection from 14% for a single-pass draft to 92% with the full integrity and review stack, while adversarial review achieves 74% precision. The full system uses 11.9M tokens, costs $8.1 per manuscript, and requires 3.2 hours on average. These results show that end-to-end research paper generation can be implemented as a lightweight, composable workflow inside existing coding assistants while keeping experimental evidence central to how claims are accepted, revised, or abandoned.
在 arXiv 阅读最新论文
- SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?让AI编程助手去修复真实科学软件,连最强的那个也有一半以上任务没做对
- FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Serving把稀疏注意力从论文原型变成能真正上线服务的加速方案
- PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agents让客服AI坐席不只是拦住一个危险动作,而是把整个流程走对
- EXIMO: VLM Guided Exploration of VLA Policies不用人工遥控演示,让会说话的AI来教机械臂做新家务
- EnvHarness: Awakening Static Worlds for Agent Learning不重新搭建训练环境,而是给现有环境套一层可插拔组件,针对每个智能体的具体弱点重新塑形
- Bounded Sovereignty and the Control Tax: Pricing AI Oversight When the Deployer Does Not Own the Model租用AI而非拥有AI的机构,安全监管能力只剩一半
- Beyond Imitation: Filtering On-Policy Distillation by Reasoning ProgressAI模仿老师模型学习时,会误伤本来推理正确的步骤,新方法专门过滤掉这种误伤
- PersonalBench: Measuring the Authorship Gap in LLM Personalization让AI模仿某人的文风,结果发现它始终摆脱不了自己的腔调
METAL MEDIA 最新报道
图片来源: Zhuoyang Qian et al., arXiv:2608.11924, arxiv-nonexclusive