Report/Preprint
Cite …

Graph Recognition via Subgraph Prediction

André Eberhard, Gerhard Neumann 1 and Pascal Friederich ORCID iD icon 2
1 Institute for Anthropomatics and Robotics (IAR), Karlsruhe Institute of Technology (KIT)
2 Institute of Theoretical Informatics (ITI), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000193399
PDF published on May 19, 2026
CC BY 4.0
Abstract

Despite tremendous improvements in tasks such as image classification, object detection, and segmentation, the recognition of visual relationships, commonly modeled as the extraction of a graph from an image, remains a challenging task. We believe that this mainly stems from the fact that there is no canonical way to approach the visual graph recognition task. Most existing solutions are specific to a problem and cannot be transferred between different contexts out-of-the box, even though the conceptual problem remains the same. With broad applicability and simplicity in mind, in this paper we develop a method, \textbf{Gra}ph Recognition via \textbf{S}ubgraph \textbf{P}rediction (\textbf{GraSP}), for recognizing graphs in images. We show across several synthetic benchmarks and one real-world application that our method works with a set of diverse types of graphs and their drawings, and can be transferred between tasks without task-specific modifications, paving the way to a more unified framework for visual graph recognition.