跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40508 · v1

Code2Figure: Generating Implementation-Faithful and Controllable Method Figures from Research Code

首次提交 2026-11-30 13:53
版本更新 2026-11-30 13:53
雷达观测 2026-12-01 14:28
arXiv ↗PDF ↗

摘要

As coding agents rapidly generate and edit research implementations, researchers increasingly lose their grasp of their own methods. Method figures can restore this grasp, but scientific figure generation reduces manual effort without aligning figures with the code, and software structure visualization draws design diagrams from the code without organizing them for scientific readability. To address both, we introduce Code2Figure, which generates method figures from research repositories via a figure graph, a hierarchy of scientific components and relations grounded in the source code and optionally informed by paper text. We also introduce Code2FigureBench, a benchmark of 550 published papers. Since 31.5\% of author-created figures contradict the released code, the benchmark avoids treating them as scientific ground truth, measuring implementation faithfulness under 3,300 controlled code modifications, scope controllability using code-verified checklists at four levels of detail, and visual quality against author-created figures. Code2Figure outperforms ten baselines on all three requirements, while its figure graphs achieve high scientific content coverage and evidence support.

作者备注:34 pages, 5 figures, 11 tables

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 13:53 · 最新观测版本

Code2Figure: Generating Implementation-Faithful and Controllable Method Figures from Research Code

As coding agents rapidly generate and edit research implementations, researchers increasingly lose their grasp of their own methods. Method figures can restore this grasp, but scientific figure generation reduces manual effort without aligning figures with the code, and software structure visualization draws design diagrams from the code without organizing them for scientific readability. To address both, we introduce Code2Figure, which generates method figures from research repositories via a figure graph, a hierarchy of scientific components and relations grounded in the source code and optionally informed by paper text. We also introduce Code2FigureBench, a benchmark of 550 published papers. Since 31.5\% of author-created figures contradict the released code, the benchmark avoids treating them as scientific ground truth, measuring implementation faithfulness under 3,300 controlled code modifications, scope controllability using code-verified checklists at four levels of detail, and visual quality against author-created figures. Code2Figure outperforms ten baselines on all three requirements, while its figure graphs achieve high scientific content coverage and evidence support.

查看此版本解读 →查看此版本原文 ↗