Diagram2Structure:通过 DiagramDiff 解锁大语言模型的图表理解能力——一个面向离线图表结构化的框架
Diagram2Structure: Unlocking LLMs' Diagram Comprehension through DiagramDiff, a Framework for Structuring Offline Diagrams
把离线图表图像重建为标准化结构化数据(元素实例+关系),再交给 LLM 做语义推理与编辑,为视觉-语言模型处理结构化图形提供了一条「先结构化、后推理」的可复用管线,也给出了图表重建与元素识别的评测设定。
原文依据 we propose DiagramDiff, a framework consisting of a high-precision diagram reconstruction model and an instance-level diagram element recognition model
摘要译文
由模型翻译 · 术语统一 · 请对照原文核对关键结论图表在日常生活中被广泛使用。然而,离线图表通常以图像形式存在,缺乏结构化的数据表示,这显著限制了其可复用性与可编辑性。当前研究主要集中于支持在线图表的基础查询任务,无法满足对复杂离线图表的语义理解与交互需求。尽管大语言模型(LLM)具备强大的推理与知识整合能力,但由于无法准确理解离线图表的结构与内容,其在处理离线图表时的表现并不理想。为解决这些问题,我们提出 DiagramDiff,该框架由一个高精度图表重建模型和一个实例级图表元素识别模型组成。该框架将离线图表转换为标准化的数据结构,使大语言模型从无法理解离线图表转变为能够执行语义推理、逻辑校验与高效图表编辑等任务的智能助手。我们构建了一个包含图表及其对应问答(Q&A)与编辑任务的数据集。实验表明,DiagramDiff 在图表重建与识别任务上取得了最优性能,显著增强了大语言模型对离线图表的理解与交互能力。
英文原文摘要 1475 字符
Diagrams are widely used in daily life. However, offline diagrams typically exist in the form of images, lacking structured data representation, which significantly limits their reusability and editability. Current research mainly focuses on supporting basic query tasks for online diagrams and does not meet the semantic understanding and interaction requirements for complex offline diagrams. Although large language models (LLMs) possess powerful reasoning and knowledge integration capabilities, their performance in processing offline diagrams is unsatisfactory due to the inability to accurately understand the structure and content of offline diagrams. To address these issues,we propose DiagramDiff, a framework consisting of a high-precision diagram reconstruction model and an instance-level diagram element recognition model. The framework converts offline diagrams into standardized data structures, enabling LLMs to transition from being unable to understand offline diagrams to becoming intelligent assistants capable of performing tasks such as semantic reasoning, logical validation, and efficient diagram editing. We have constructed a dataset containing diagrams and their corresponding question and answering(Q&A) and editing tasks. Experiments demonstrate that DiagramDiff achieves state-of-the-art performance in diagram reconstruction and recognition tasks, significantly enhancing LLMs' understanding and interaction capabilities with offline diagrams.