arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06079cs.CVcs.AI
收藏

通过双自一致性强化学习实现科学图形程序合成

Scientific Graphics Program Synthesis via Dual Self-Consistency Reinforcement Learning

Zhejiang University(浙江大学);Shanghai Artificial Intelligence Laboratory, OpenDataLab(上海人工智能实验室,OpenDataLab);Shanghai Jiao Tong University(上海交通大学);Peking University(北京大学)

Juekai Lin, Yun Zhu, Honglin Lin, Sijing Li, Tianwei Lin, Zheng Liu, Xiaoyang Wang, Wenqiao Zhang, Lijun Wu

AI总结:

本文提出双自一致性强化学习框架,结合高质量数据集和多维基准,提升科学图形到可编辑TikZ代码的转换能力,实现视觉与结构的高精度优化。

摘要:

图形程序合成对于解释和编辑视觉数据至关重要,有效将静态视觉反向工程为可编辑的TikZ代码。尽管TikZ是科学图表的行业标准,因其对严格空间精度的要求,给多模态大语言模型带来了显著挑战。目前进展受限于两个主要缺口:(1) 数据质量缺口:现有图像-TikZ数据集往往缺乏严格可执行性和可靠的视觉对齐;(2) 评估缺口:缺乏对结构和视觉保真的基准。为此,我们提出一个闭环框架,包含SciTikZ-230K,一个大规模高质量数据集,来自我们的执行中心数据引擎,涵盖11种不同的科学领域;SciTikZ-Bench,一个横跨基础几何构造到复杂分层图表的多维基准,用于评估视觉保真度和结构逻辑。为进一步扩大视觉-代码优化方法的范围,我们引入了新颖的双自一致性强化学习优化范式,利用往返验证来惩罚退化代码并提升整体自一致性。借助这些,我们的训练模型SciTikZer-8B实现了最先进的性能,持续优于Gemini-2.5-Pro等专有模型和Qwen3-VL-235B-A22B-Instruct等大规模模型。

英文摘要:

Graphics Program Synthesis is pivotal for interpreting and editing visual data, effectively facilitating the reverse-engineering of static visuals into editable TikZ code. While TikZ is the de facto standard for scientific schematics due to its programmatic flexibility, its requirement for rigorous spatial precision presents a significant challenge for Multimodal Large Language Models. Progress is currently stifled by two primary gaps: (1) Data Quality Gap: existing image-TikZ corpora often lack strict executability and reliable visual alignment; (2) Evaluation Gap: a lack of benchmarks for both structural and visual fidelity. To address these, we present a closed-loop framework featuring: SciTikZ-230K, a large-scale, high-quality dataset from our Execution-Centric Data Engine covering 11 diverse scientific disciplines; SciTikZ-Bench, a multifaceted benchmark spanning from basic geometric constructs to intricate hierarchical schematics to evaluate both visual fidelity and structural logic. To further broaden the scope of visual-code optimization methodology, we introduce a novel Dual Self-Consistency Reinforcement Learning optimization paradigm, which utilizes Round-Trip Verification to penalize degenerate code and boost overall self-consistency. Empowered by these, our trained model SciTikZer-8B achieves state-of-the-art performance, consistently outperforming proprietary giants like Gemini-2.5-Pro and massive models like Qwen3-VL-235B-A22B-Instruct.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑