TL;DR
Graph2Eval is an automated framework that leverages Knowledge Graphs (KGs) to generate high-quality, semantically consistent, and solvable evaluation tasks for multimodal LLM agents. Grounding task generation in structured data relationships overcomes the hallucinations typical of pure LLM generation, providing a scalable and reliable way to benchmark agents across document understanding and web interaction scenarios.
What Problem Does This Paper Address?
As multimodal Large Language Model (LLM) agents become more autonomous, evaluating them fairly has become a moving target. Traditional static benchmarks suffer from data contamination—agents might simply memorize answers from their training data rather than demonstrating true generalization.
While researchers have turned to LLMs to automatically synthesize new tasks, these methods face a major hurdle: without an explicit understanding of how data points relate to one another, LLM-generated tasks often suffer from hallucinations, semantic contradictions, and flat-out unsolvability. Graph2Eval addresses this gap by introducing a structured, knowledge-graph-driven approach to automated task generation.
Methods
The core innovation of Graph2Eval is treating a Knowledge Graph constructed from multi-source data as a latent task space.
The pipeline consists of five key stages:
- Data Ingestion: Preprocesses documents (preserving hierarchies, tables, and figures) and crawls web pages (capturing DOM structures and screenshots).
- KG Construction: Maps elements like paragraphs, buttons, and images into graph nodes embedded with deep semantic vectors, connecting them via heterogeneous edges that represent structural, semantic, or interactive relationships.
- Subgraph Sampling: Extracts localized subgraphs based on specific task objectives. For web tasks, it anchors the search around operational "seed nodes" (like buttons or forms).
- Task Generation: Combines the sampled subgraphs with predefined task templates and meta-paths, using context engineering to guide an LLM to generate concrete, well-formed task instances.
- Coverage Optimization: Applies a multi-stage filtering pipeline (analyzing node reachability, LLM scoring, and similarity) to ensure the generated tasks are diverse, high-quality, and genuinely solvable.
Datasets
The authors introduce Graph2Eval-Bench, a curated evaluation dataset generated by their framework. It contains 1,319 diverse tasks split into two main tracks:
- Document Understanding (1,002 tasks): Designed for Retrieval-Augmented Generation (RAG) Agents using high-quality academic papers as source data.
- Web Interaction (317 tasks): Multi-step interaction tasks designed for Web Agents, drawn from various real-world websites.
Unlike human-annotated benchmarks (such as OSWorld or MMBench), Graph2Eval-Bench can be rapidly scaled and updated automatically while maintaining a high verified KG edge precision of 88%.
Key Insights and Ideas
- KGs as Hallucination Guardrails: By forcing the LLM to generate tasks based on explicitly modeled entity-relation subgraphs, the framework drastically reduces semantic inconsistencies.
- Top-Down Task Synthesis: Unlike previous synthetic data methods (like TaskCraft) that build complex tasks bottom-up by stitching together atomic actions, Graph2Eval takes a top-down approach, sampling from a globally coherent knowledge graph to ensure logical validity.
- Reasoning Over Visual Grounding: The web interaction tasks generated by this framework intentionally emphasize multi-step reasoning, reflection, and memory rather than simple visual grounding, making it a tougher and more realistic test for advanced agents.
Key Results
- Quality Improvements: Compared to a KG-free baseline, tasks generated by Graph2Eval achieved a 20% improvement in semantic consistency and a 17% improvement in solvability on average.
- High Efficiency: Graph2Eval drastically cuts down the time required to build benchmarks. It takes only ~34.87 seconds to generate a document understanding task and ~95.51 seconds per web interaction task.
- Effective Model Discrimination: Graph2Eval-Bench successfully exposes performance gaps between state-of-the-art models. For example, in the web interaction track, Agent S 2.5 (powered by Gemini 2.5 Flash) achieved a success rate of 69.20%, whereas the simpler SoM Agent only managed 14.51%, proving the benchmark's ability to test advanced cognitive agent capabilities.
Limitations and Future Work
While Graph2Eval marks a solid step toward automated evaluation, the authors note a few areas for expansion:
- Safety and Robustness: The current framework does not explicitly generate adversarial prompts or malicious environments. Future iterations aim to incorporate formalized safety policies to test agent robustness.
- Fine-Grained Diagnostics: The authors plan to leverage the structural properties of the KGs to pinpoint exactly where an agent fails (at the specific node or edge level), providing interpretable insights into an agent's cognitive weaknesses.
Summary updated