Agent2Figure:通过编译为可编辑向量的证据驱动科学图生成
Agent2Figure: Evidence-Grounded Scientific Figure Generation via Geometry Compilation to Editable Vectors
AI总结:
提出Agent2Figure将科学方法图生成转化为分离语义与几何的编译过程,在PaperBananaBench上提升了生成图的质量并降低了多种错误率。
摘要:
自动生成科学方法图需要同时满足内容忠实性和几何正确性。现有方法分为两类:一类直接生成不可编辑的光栅图像,另一类生成向量代码但要求模型预测绝对坐标,这正是布局错误的来源且最难自动修复。我们提出Agent2Figure,将方法图生成重新表述为分离语义决策与几何求解的编译过程。语言模型首先生成FigureSpec,这是一种带类型、基于证据的中间表示,描述视觉元素、语义关系、分组约束及其在论文中的源文本,不含任何坐标。确定性几何编译器随后求解所有元素位置、连接锚点和正交路径,确保其约束的每个对象和FigureSpec声明的每个关系在构建时满足对齐、无重叠和端口到端口连接。几何检查器和视觉语言审查器诊断剩余问题后,系统会修补FigureSpec并重新编译,而非编辑最终图像。在PaperBananaBench(292个样本)上,Agent2Figure在相同评判标准下总分为63.9,而PaperBanana为57.4,该评分体系中作者自身的图构造得分为50,且将对齐、非正交性和连接器交叉错误率分别降至3.4%、7.2%和1.7%。
英文摘要:
Automatically generating scientific method figures requires both content faithfulness and geometric correctness. Existing approaches fall into two families: one directly produces non-editable raster images, while the other generates vector code but asks the model to predict absolute coordinates, which is where layout errors originate and where they are hardest to repair automatically. We propose Agent2Figure, which reformulates method-figure generation as a compilation process that separates semantic decisions from geometric solving. A language model first produces FigureSpec, a typed, evidence-grounded intermediate representation that describes visual elements, semantic relations, grouping constraints, and their source text in the paper, but contains no coordinates. A deterministic geometry compiler then solves all element positions, connection anchors, and orthogonal paths, so that alignment, non-overlap, and port-to-port connection hold by construction for every object it constrains and every relation FigureSpec declares. A geometry checker and a vision-language reviewer diagnose residual issues, after which the system patches FigureSpec and recompiles rather than editing the final image. On PaperBananaBench (292 samples), Agent2Figure reaches an overall score of 63.9 against 57.4 for PaperBanana under the same judge, on a scale where the author's own figure is 50 by construction, and lowers the alignment, non-orthogonality, and connector-crossing error rates to 3.4%, 7.2%, and 1.7%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。