计算机科学 > 计算机视觉与模式识别
[提交于 2026年11月30日]
标题:Code2Figure: Generating Implementation-Faithful and Controllable Method Figures from Research Code
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Takuro Kawada[v1] 2026年11月30日 星期一 05:53:18 UTC (17,750 KB)