Introduction
While Large Vision-Language Models (LVLMs) excel at describing natural scenes, they are surprisingly poor at "seeing" simple graphs, often failing basic tasks like counting edges. This paper introduces VGCURE, a comprehensive benchmark of 22 fundamental graph tasks, and MCDGRAPH, a self-supervised fine-tuning framework that significantly improves a model's ability to perceive and reason over visual structures.
The VGCURE Benchmark
Existing benchmarks often jump straight to complex graph theory problems, skipping the "alphabet" of graph understanding. The authors identify a critical gap: we don't know if models fail because they lack high-level reasoning or because they simply cannot perceive the basic components of a graph (nodes and edges) in an image.
To diagnose these fundamental perceptual failures, the researchers developed the VGCURE Benchmark, consisting of 223,646 samples across 10 graph types. These include synthetic structures (e.g., Barabási-Albert, Erdős-Rényi) and anonymized real-world structures (e.g., DBLP, PubChemQC). The tasks are divided into two categories:
- Graph Understanding: Basic perception tasks like counting nodes/edges, checking directedness, and querying node degrees.
- Graph Reasoning: 2-hop tasks such as finding common neighbors, identifying paths, and solving relational analogies.
The MCDGRAPH Framework
To address these failures, the paper proposes MCDGRAPH, a structure-aware fine-tuning method designed to "teach" models how to look at graphs. It utilizes three self-supervised learning tasks:
- Masked Graph Infilling: Predicting missing nodes or edges based on the remaining image and text triples.
- Contrastive Graph Discrimination: Determining if two different visual layouts represent the same underlying graph structure (isomorphism).
- Graph Description: Generating a comprehensive text summary of the graph's topology.
The authors use LoRA (Low-Rank Adaptation) for efficient fine-tuning, ensuring the models retain general capabilities while gaining specialized structural knowledge.
Key Insights and Performance Analysis
Analysis of baseline models revealed a significant Perception Bottleneck. Models are relatively good at counting nodes but abysmal at identifying edges and relations; "Relation Misunderstanding" accounted for 54% of all errors. Furthermore, performance drops off a cliff as edge density increases, as models struggle with the "spaghetti" of overlapping edges.
Interestingly, closed-source models like GPT-4o-mini did not show a significant advantage over top open-source models like InternVL2 on these structural tasks. By using generic names (e.g., E1, R1) for nodes and edges, the benchmark ensures models are actually "looking" at the graph rather than relying on pre-trained knowledge about specific entities.
Results and Generalization
The MCDGRAPH framework yielded impressive gains across the board. For example, on the "Edge Number Query" task, InternVL2 improved its accuracy from a meager 9.78% to 40.45% after fine-tuning. These improvements weren't just "memorization"; the fine-tuned models performed better even when visual styles (colors, layouts, naming) were changed. Furthermore, the models showed improved performance on external tasks like the "Maximum Flow" problem in VisionGraph, proving that better fundamental perception leads to better high-level reasoning.
Conclusion
This work highlights that the primary hurdle for LVLMs in graph processing is vision, not logic. By focusing on the fundamental "alphabet" of graph perception through the VGCURE benchmark and the MCDGRAPH framework, the authors provide a clear path toward more robust structural reasoning in AI.
Summary updated