Arrow-Guided VLM: Enhancing Flowchart Understanding via Arrow Direction Encoding

Takamitsu Omasa, Ryo Koshihara, Masumi Morishige
5/9/2025
cs.AIcs.CLcs.CV

No official code found. Best implementation: galirage/Arrow-Guided-VLM-Enhancing-Flowchart-Understanding-via-Arrow-Direction-Encoding (5 stars, Apache-2.0, last commit 2025-07-27).

Abstract

Flowcharts are indispensable tools in software design and business-process analysis, yet current vision-language models (VLMs) frequently misinterpret the directional arrows and graph topology that set these diagrams apart from natural images. We introduce a seven-stage pipeline grouped into three broader processes: (1) arrow-aware detection of nodes and arrow endpoints; (2) optical character recognition (OCR) to extract node text; and (3) construction of a structured prompt that guides the VLMs. Tested on a 90-question benchmark distilled from 30 annotated flowcharts, the method raises overall accuracy from 80 % to 89 % (+9 percentage points) without any task-specific fine-tuning. The gain is most pronounced for next-step queries (25/30 -> 30/30; 100 %, +17 pp); branch-result questions improve more modestly, and before-step questions remain difficult. A parallel evaluation with an LLM-as-a-Judge protocol shows the same trends, reinforcing the advantage of explicit arrow encoding. Limitations include dependence on detector and OCR precision, the small evaluation set, and residual errors at nodes with multiple incoming edges. Future work will enlarge the benchmark with synthetic and handwritten flowcharts and assess the approach on Business Process Model and Notation (BPMN) and Unified Modeling Language (UML).

View on arXivView PDF

Code Implementations(1)

Apache-2.0
51Shell, PythonNov 29, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{omasa2025arrowguided,
  title  = {Arrow-Guided VLM: Enhancing Flowchart Understanding via Arrow Direction Encoding},
  author = {Takamitsu Omasa and Ryo Koshihara and Masumi Morishige},
  year   = {2025},
  eprint = {2505.07864},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.07864v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.07864.svg)](https://codeofpaper.com/paper/2505.07864)

Discussion