Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Models
On the map: Multimodal LLMs / vision-language models → VLM benchmarks and visual reasoning
Abstract (arXiv)
Recent advancements in generative AI systems have raised concerns about academic integrity among educators. Beyond excelling at solving programming problems and text-based multiple-choice questions, recent research has also found that large multimodal models (LMMs) can solve Parsons problems based only on an image. However, such problems are still inherently text-based and rely on the capabilities of the models to convert the images of code blocks to their corresponding text. In this paper, we further investigate the capabilities of LMMs to solve graph and tree data structure problems based only on images. To achieve this, we computationally construct and evaluate a novel benchmark dataset comprising 9,072 samples of diverse graph and tree data structure tasks to assess the performance of the GPT-4o, GPT-4v, Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini 1.0 Pro Vision, and Claude 3 model families. GPT-4o and Gemini 1.5 Flash performed best on trees and graphs respectively. GPT-4o achieved 87.6% accuracy on tree samples, while Gemini 1.5 Flash, achieved 56.2% accuracy on graph samples. Our findings highlight the influence of structural and visual variations on model performance. This research not only introduces an LMM benchmark to facilitate replication and further exploration but also underscores the potential of LMMs in solving complex computing problems, with important implications for pedagogy and assessment practices.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in VLM benchmarks and visual reasoning, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 22 of its 74 references that are in the map. First posted on arXiv 15 Dec 2024.
Builds on
22 of 74 references.
Closest ancestors · 1
Same direction, newest first
Other references · 21
- 2015VQA: Visual Question Answeringcited by 2,506
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 99
- 2022Three things everyone should know about Vision Transformerscited by 90
- 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 89
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
- 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 82
- 2023CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classescited by 72
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 64
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 48
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 39
- 2023Large Language Models (GPT) Struggle to Answer Multiple-Choice Questions about Codecited by 32
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 31
9 more
- 2024The Effects of Generative AI on Computing Students' Help-Seeking Preferencescited by 23
- 2023Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generatorscited by 17
- 2024Desirable Characteristics for AI Teaching Assistants in Programming Educationcited by 17
- 2023ChatGPT, Can You Generate Solutions for my Coding Exercises? An Evaluation on its Effectiveness in an undergraduate Java Programming Coursecited by 12
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 10
- 2024"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Modelscited by 5
- 2018Chalktalk : A Visualization and Communication Language -- As a Tool in the Domain of Computer Science Educationcited by 4
- 2024Imagining Computing Education Assessment after Generative AIcited by 2
- 2024Can ChatGPT Pass a Theory of Computing Course?cited by 1
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024VisionGraph: Leveraging Large Multimodal Models for Graph Theory Problems in Visual Context
- 2025Bridging Visualization and Optimization: Multimodal Large Language Models on Graph-Structured Combinatorial Optimization
- 2024Exploring Graph Structure Comprehension Ability of Multimodal Large Language Models: Case Studies
- 2024GITA: Graph to Visual and Textual Integration for Vision-Language Graph Reasoning
- 2026Unveiling Fine-Grained Visual Traces: Evaluating Multimodal Interleaved Reasoning Chains in Multimodal STEM Tasks
- 2024MMCode: Benchmarking Multimodal Large Language Models for Code Generation with Visually Rich Programming Problems
- 2026GraphVerse: A Comprehensive Visual Graph Reasoning Benchmark for Multimodal Large Language Models
- 2026CoVA-SFT: A Large-Scale Dataset for Chain of Visual Abstractions