Paper: 2607.15272 Authors: Yasheng Sun, Zezi Zeng, Yifan Yang, Chong Luo, Wenyi Wang, Ziwei Liu, Jürgen Schmidhuber Categories: cs.CL, cs.AI
The Gap
We’ve gotten pretty good at editing photos with AI—things like “make the sky bluer.” But scientific figures are a different beast. They aren’t just pictures; they’re dense, structured arguments made of schematics, plots, text labels, and arrows, all following a strict visual grammar. Existing image editing models treat a figure like a monolithic photo, which doesn’t work. The fundamental limitation is that they operate on a flat, opaque raster image (like a PNG), losing the structural information of individual components. This paper tackles that exact boundary: how to edit a scientific diagram at the component level using a natural-language instruction.
Problem: Scientific figures are structured infographics, not photos.
|
v
Assumption: Editing must happen at the vector primitive level (labels, arrows, plots), not the pixel level.
|
v
Method: Mine real author revision pairs (before/after) from arXiv to train an agent that operates on editable vector sources.
|
v
Evidence: An agentic skill-evolution loop progressively improves edit accuracy on held-out revisions.
|
v
Conclusion: Natural paper revisions are a viable, high-quality training signal for complex, instruction-driven figure editing.
The Increment
One sentence: Before this paper, AI couldn’t reliably edit the structured components of a scientific diagram with a text command; after, it can learn to do so by observing how real authors revise their own figures.
Core Mechanism
The system has three main parts. First, it creates a new benchmark by mining the version histories of arXiv papers. It pairs figures from an author’s first draft with the revised version in a later draft, automatically extracting the “revision intent” as a natural language instruction (e.g., “Change the caption of panel (b) to ‘Loss comparison’”). This gives the AI a huge dataset of real-world, expert-performed edits.
Second, it doesn’t work on a final image file. It works on the editable source of the figure, which is often a LaTeX/TikZ or PowerPoint file. This source is parsed into a structured representation of its primitives (text boxes, lines, rectangles, charts) and their properties (position, color, text content). This turns a visual editing problem into a structured data manipulation problem.
Third, and most cleverly, it uses an “agentic learning via skill evolution” loop. Instead of just training a model once on the mined data, it has an agent that proposes edits, executes them on the source, checks the result against the target revision, and then refines its own editing skill specifications based on what it learns from success and failure. This iterative self-improvement is what lifts performance over multiple epochs.
[ arXiv Revision History ]
|
v
[ Mine Pairs (Before Fig, After Fig, Instruction) ] -> [ Benchmark ]
|
v
[ Parse Editable Vector Source (LaTeX/TikZ) ] -> [ Structured Primitive Graph ]
|
v
[ Agentic Editor ]
^ |
| v
[ Skill Evolution Loop ]
(Propose -> Execute -> Compare -> Refine Skill Spec)
|
v
[ Improved Editing Agent ]
Think of it like a chef apprentice learning a new cuisine not from a textbook, but by watching a master chef repeatedly revise their own signature dish. Each revision (e.g., “add more chili, plate it differently”) is a concrete lesson. The apprentice doesn’t just memorize the final recipe; they learn the skill of making targeted adjustments based on feedback. Here, the “master chef” is the collection of all arXiv authors, their “revisions” are the mined before/after figure pairs, and the “skill” is the evolving set of editing operations the AI agent learns to apply.
Key Concepts
- Editable Vector Source: This is the recipe, not the baked cake. When you edit a PNG, you’re smearing icing on the finished product. When you edit the vector source (like the LaTeX code for a TikZ diagram), you’re changing the recipe itself—adjusting ingredient amounts, rearranging steps. SciDiagramEdit works at this recipe level, allowing precise, reversible changes to individual elements like a single label or arrow.
- Agentic Skill Evolution: This is the apprentice’s learning journal. A simple model would just memorize a mapping from “instruction + current state” to “action.” This paper’s model keeps a living document of its *skills—a refined specification of how to handle different types of edits. After each attempt, it reviews what worked and what didn’t, and rewrites its own skill guide. This makes the learning process more adaptive and generalizable.
Framework Shift
Before (mainstream approach): After (this paper):
[ Photo Editor Mindset ] [ Architect Mindset ]
| |
v v
[ Edit Raster Image (PNG) ] [ Edit Blueprint (Vector Source) ]
| |
v v
[ Pixel-Level Manipulation ] [ Primitive-Level Manipulation ]
| |
v v
[ Opaque, Brittle ] [ Structured, Co-editable ]
From treating figures as finished photographs to treating them as editable architectural blueprints, the core shift is moving the editing surface from pixels to primitives.
Expert Assessment
Problem choice: Excellent. Automating the tedious work of figure revision is a real, universally experienced pain point in research. It’s a niche that sits neatly at the intersection of NLP, computer vision, and scientific tooling, and has been largely ignored. This is a genuine gap.
Method maturity: Clever insight with a complex mechanism. The use of revision history as a self-supervised signal is the key insight and is quite elegant. The “skill evolution” loop adds complexity but seems necessary for the task’s diversity. A simpler approach—just fine-tuning a large multimodal model on the mined pairs—might have been a missed opportunity as a baseline.
Experimental integrity: The benchmark creation is innovative but introduces noise. Automatically extracting “revision intent” from a PDF diff is error-prone. The authors acknowledge this, but it’s a fundamental limitation. The held-out validation set is solid, but the final test relies on the same noisy signal. The baselines are fair, comparing against instruction-tuned LMMs and a direct editing model, showing clear improvements.
Writing quality: Clear and well-structured. The motivation is excellent. Where they could have elevated the paper is in the “Skill Evolution” section (Sec 3.3). The mechanism is the novel core, but the description feels a bit abstract. A more intuitive walkthrough or diagram of how the “skill specification” evolves would help immensely.
Verdict: weak accept — The problem is important and the approach of mining revisions is a valuable contribution, but the complexity of the agentic loop and reliance on noisy automatic supervision keep it from being a slam dunk. It opens a clear and promising research direction.
Takeaways
- Mine the “Edit History”, not just the final product. For tasks involving iterative refinement (design, writing, coding), look for version control histories (Git, arXiv versions, Figma history). They are a rich, self-supervised signal for learning *how to edit, not just what the result looks like.
- Push the edit interface down to the source. Whenever possible, design your AI system to operate on the structured, editable representation (code, vector graphics, document model) rather than a rendered output. This preserves structure and enables more precise, interpretable, and reversible edits.
- Use iterative self-improvement for diverse tasks. For tasks where the space of possible actions is large and varied (like editing), a simple one-shot fine-tuning can plateau. An “evolutionary” loop where the model refines its own policy or specification based on execution traces can lead to significant gains in robustness and accuracy.
论文: 2607.15272 作者: Yasheng Sun, Zezi Zeng, Yifan Yang, Chong Luo, Wenyi Wang, Ziwei Liu, Jürgen Schmidhuber 分类: cs.CL, cs.AI
缺口
我们用AI编辑照片已经做得不错了——比如“让天空更蓝”。 但科学图表完全是另一回事。它们不只是图片,而是由示意图、图表、照片、文字标注和箭头构成的密集结构化信息图,遵循严格的视觉语法,用来支撑一个具体论点。 现有的图像编辑模型把图表当作一张扁平的照片来处理,这行不通。 其根本局限在于,它们操作的是一个不透明的光栅图像(如PNG),丢失了各个组件的结构信息。 这篇论文直击的正是这个边界:如何使用自然语言指令,在组件层面上编辑科学图表。
问题:科学图表是结构化信息图,而非照片。
|
v
假设:编辑必须在矢量图元(标签、箭头、图表)层面进行,而非像素层面。
|
v
方法:从arXiv挖掘真实的作者修改对(修改前/后),训练一个操作可编辑矢量源的智能体。
|
v
证据:一个通过技能进化实现的智能体学习循环,在预留的验证集上持续提升了编辑准确率。
|
v
结论:自然的论文修改历史是指令驱动图表编辑的一种有效、高质量的训练信号。
增量
一句话: 在这篇论文之前,AI无法可靠地通过文本命令编辑科学图表的结构化组件;之后,它可以通过观察真实作者如何修改自己的图表来学习这项技能。
核心机制
该系统包含三个主要部分。 首先,它通过挖掘arXiv论文的版本历史创建了一个新基准。 它将作者初稿中的图表与后续修订稿中的版本配对,自动将“修改意图”提取为自然语言指令(例如,“将面板(b)的标题改为‘损失比较’”)。 这为AI提供了海量的真实世界、专家执行的编辑数据集。
其次,它不操作最终的图像文件。 它操作的是图表的可编辑源文件,这通常是LaTeX/TikZ或PowerPoint文件。 这个源文件被解析为其图元(文本框、线条、矩形、图表)及其属性(位置、颜色、文本内容)的结构化表示。 这将视觉编辑问题转变成了一个结构化数据操作问题。
第三,也是最巧妙的,它使用了“通过技能进化的智能体学习”循环。 它不是只用挖掘的数据训练一次模型,而是拥有一个智能体,该智能体提出编辑、在源文件上执行、将结果与目标修订进行比对,然后根据成功与失败的经验,精炼自身的编辑技能规范。 这种迭代式的自我改进,正是其性能在多个训练周期中不断提升的原因。
[ arXiv 修改历史 ]
|
v
[ 挖掘配对(修改前图表,修改后图表,指令) ] -> [ 基准数据集 ]
|
v
[ 解析可编辑矢量源(LaTeX/TikZ) ] -> [ 结构化图元图 ]
|
v
[ 智能体编辑器 ]
^ |
| v
[ 技能进化循环 ]
(提出 -> 执行 -> 比对 -> 精炼技能规范)
|
v
[ 改进的编辑智能体 ]
想象一下,一个厨师学徒学习新菜系,不是通过教科书,而是通过观察一位主厨反复修改自己的招牌菜。 每一次修改(例如,“多加点辣椒,换个摆盘方式”)都是一堂具体的课。 学徒不是仅仅记住最终的食谱;他们学到的是根据反馈进行有针对性调整的技能。 在这里,“主厨”是所有arXiv作者的集合,他们的“修改”是挖掘出的图表修改对,而“技能”是AI智能体学到并不断精进的编辑操作集。
关键概念
- 可编辑矢量源: 这是食谱,而不是烤好的蛋糕。 当你编辑一张PNG图片时,你是在成品上涂抹糖霜。 当你编辑矢量源(比如TikZ图的LaTeX代码)时,你是在修改食谱本身——调整配料比例,重新安排步骤。 SciDiagramEdit就在这个“食谱”层面工作,允许对单个元素(如一个标签或箭头)进行精确、可逆的更改。
- 通过技能进化的智能体学习: 这是学徒的学习日志。 一个简单的模型只会死记硬背从“指令+当前状态”到“动作”的映射。 本文的模型则维护着一份活文档,记录其技能——一份关于如何处理不同类型编辑的精炼规范。 在每次尝试后,它会回顾哪些有效、哪些无效,并重写自己的技能指南。 这使得学习过程更具适应性和泛化能力。
框架转变
之前(主流方法): 之后(本文方法):
[ 照片编辑器思维 ] [ 建筑师思维 ]
| |
v v
[ 编辑光栅图像(PNG) ] [ 编辑蓝图(矢量源) ]
| |
v v
[ 像素级操作 ] [ 图元级操作 ]
| |
v v
[ 不透明,脆弱 ] [ 结构化,可协同编辑 ]
从把图表视为成品照片,到将其视为可编辑的建筑蓝图,核心转变是将编辑界面从像素转移到了图元。
专家评审
选题眼光: 非常好。 自动化繁琐的图表修改工作,是科研中普遍存在的真实痛点。 这是一个精准地处于自然语言处理、计算机视觉和科学工具交叉点的细分领域,此前被大量忽视。 这是一个真正的缺口。
方法成熟度: 巧妙的洞察结合了复杂的机制。 利用修改历史作为自监督信号是核心洞见,相当优雅。 “技能进化”循环增加了复杂性,但对于该任务的多样性似乎是必要的。 一个更简单的方法——仅在挖掘的数据对上微调一个大型多模态模型——可能被作为一个基线而错过了。
实验诚意: 基准的创建具有创新性,但也引入了噪声。 自动从PDF差异中提取“修改意图”容易出错。 作者承认了这一点,但这仍然是一个根本性限制。 预留的验证集是可靠的,但最终测试依赖于相同的噪声信号。 基线是公平的,与指令微调的大型多模态模型和直接编辑模型进行了比较,显示出明显的改进。
写作功力: 清晰且结构良好。 动机阐述非常出色。 他们本可以提升论文的地方在于“技能进化”部分(第3.3节)。 该机制是新颖的核心,但描述感觉有点抽象。 如果能有一个更直观的讲解或示意图,展示“技能规范”如何演变,会大有帮助。
判决: 弱接收 — 问题重要,挖掘修改历史的方法是一个有价值的贡献,但智能体循环的复杂性和对噪声自动监督的依赖,使它难以成为一项决定性成果。 它开辟了一个清晰且有前景的研究方向。
要点总结
- 挖掘“编辑历史”,而不仅仅是最终产品。 对于涉及迭代改进的任务(设计、写作、编程),去寻找版本控制历史(Git、arXiv版本、Figma历史)。 它们是学习如何编辑(而不仅仅是结果看起来如何)的丰富、自监督信号。
- 将编辑接口下沉到源文件层面。 尽可能设计你的AI系统,使其操作结构化的、可编辑的表示(代码、矢量图形、文档模型),而非渲染后的输出。 这保留了结构,使得编辑更精确、可解释、可逆。
- 对多样化任务使用迭代自我改进。 对于可能行动空间巨大且多样的任务(如编辑),简单的一次性微调可能会遇到瓶颈。 一个“进化”循环,让模型根据执行轨迹来精炼自身的策略或规范,可以在鲁棒性和准确率上带来显著提升。