arXiv:2502.04389cs.SEcs.AI2025-02被引 3

用源文件文本信息绕过视觉模型瓶颈,精准理解图表结构

Overcoming Vision Language Model Challenges in Diagram Understanding: A Proof-of-Concept with XML-Driven Large Language Models Solutions

  • 直接提取xlsx等源文件的文本元数据,避免依赖图像识别
  • 在结构理解任务中准确率高于传统视觉语言模型方法
  • 适合需解析复杂业务图表的自动化文档处理场景

图表在商业文档中用于直观表达复杂关系与流程。尽管视觉-语言模型(VLM)在图像理解任务上取得进展,但准确识别和提取图表中的结构与关系仍具挑战。本研究提出一种文本驱动方法,不依赖VLM的视觉识别能力,而是利用可编辑源文件(如xlsx、pptx、docx)中保留的形状、线条、注释等文本元数据。在验证实验中,从xlsx格式系统设计文档中提取图形数据,并转换为大语言模型(LLM)的文本输入,使模型能分析关系并回答业务相关问题,无需图像处理瓶颈。与基于VLM的方法对比,该框架在需要深入理解图表结构的问题上取得了更高准确率。研究成果不仅适用于.xlsx文件,还可推广至其他带源文件的文档格式。这表明通过直接提取原始文件文本,可有效突破VLM限制,为提升真实业务场景下的工作流效率与信息分析能力提供可行路径。

原文摘要 · Abstract (English)

Diagrams play a crucial role in visually conveying complex relationships and processes within business documentation. Despite recent advances in Vision-Language Models (VLMs) for various image understanding tasks, accurately identifying and extracting the structures and relationships depicted in diagrams continues to pose significant challenges. This study addresses these challenges by proposing a text-driven approach that bypasses reliance on VLMs' visual recognition capabilities. Instead, it utilizes the editable source files--such as xlsx, pptx or docx--where diagram elements (e.g., shapes, lines, annotations) are preserved as textual metadata. In our proof-of-concept, we extracted diagram information from xlsx-based system design documents and transformed the extracted shape data into textual input for Large Language Models (LLMs). This approach allowed the LLM to analyze relationships and generate responses to business-oriented questions without the bottleneck of image-based processing. Experimental comparisons with a VLM-based method demonstrated that the proposed text-driven framework yielded more accurate answers for questions requiring detailed comprehension of diagram structures.The results obtained in this study are not limited to the tested .xlsx files but can also be extended to diagrams in other documents with source files, such as Office pptx and docx formats. These findings highlight the feasibility of circumventing VLM constraints through direct textual extraction from original source files. By enabling robust diagram understanding through LLMs, our method offers a promising path toward enhanced workflow efficiency and information analysis in real-world business scenarios.

图表理解大语言模型文档自动化文本提取

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。