CVCLDec 21, 2024

Beyond End-to-End VLMs: Leveraging Intermediate Text Representations for Superior Flowchart Understanding

arXiv:2412.16420v113 citationsh-index: 8
Originality Incremental advance
AI Analysis

This work addresses the problem of improving modularity and error attribution in flowchart understanding for researchers and users, though it is incremental as it builds on existing VLM and LLM methods.

The paper tackles the challenges of limited controllability and explainability in end-to-end vision-language models for flowchart understanding by proposing TextFlow, a two-stage method that generates textual representations from images and performs question-answering, achieving state-of-the-art performance on benchmarks like FlowVQA and FlowLearn.

Flowcharts are typically presented as images, driving the trend of using vision-language models (VLMs) for end-to-end flowchart understanding. However, two key challenges arise: (i) Limited controllability--users have minimal influence over the downstream task, as they can only modify input images, while the training of VLMs is often out of reach for most researchers. (ii) Lack of explainability--it is difficult to trace VLM errors to specific causes, such as failures in visual encoding or reasoning. We propose TextFlow, addressing aforementioned issues with two stages: (i) Vision Textualizer--which generates textual representations from flowchart images; and (ii) Textual Reasoner--which performs question-answering based on the text representations. TextFlow offers three key advantages: (i) users can select the type of text representations (e.g., Graphviz, Mermaid, PlantUML), or further convert them into executable graph object to call tools, enhancing performance and controllability; (ii) it improves explainability by helping to attribute errors more clearly to visual or textual processing components; and (iii) it promotes the modularization of the solution, such as allowing advanced LLMs to be used in the Reasoner stage when VLMs underperform in end-to-end fashion. Experiments on the FlowVQA and FlowLearn benchmarks demonstrate TextFlow's state-of-the-art performance as well as its robustness. All code is publicly available.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes