LLM Meets Scene Graph: Can Large Language Models Understand and Generate Scene Graphs? A Benchmark and Empirical Study

Dongil Yang, Minjin Kim, Sunghwan Kim, Beong-woo Kwak, Minjun Park, Jinseok Hong, Woontack Woo, Jinyoung Yeo

As Large Language Models (LLMs) transition from text-based assistants to the "brains" of embodied AI and robotic systems, their ability to process structured spatial data becomes critical. While LLMs excel at natural language, their capacity to interpret and generate scene graphs—structured representations of objects, actions, and relationships—remains a significant research frontier. This paper introduces TSG Bench, a comprehensive benchmark designed to evaluate LLMs on their ability to bridge the gap between natural language and structured spatial reasoning.

The Challenge of Dynamic Environments

For an AI to operate effectively in the real world—such as a robot assisting in a kitchen—it requires more than a general understanding of its surroundings. It needs a precise map of entities and their evolving relationships. Scene graphs are the industry standard for this, typically representing objects as nodes and their interactions as edges.

However, most existing research focuses on generating these graphs from static images. As LLMs are increasingly tasked with planning and execution, we must understand if they can translate complex natural language instructions into these structured formats. TSG Bench specifically targets dynamic, time-evolving scenarios where actions sequentially change the state of the world, a requirement often ignored by static benchmarks.

The TSG Bench Framework

The authors developed a framework to test 11 prominent LLMs (including GPT-4o, Claude 3.5 Sonnet, and LLaMA 3.3) across four distinct tasks designed to measure both comprehension and synthesis:

  1. Scene Graph Question Answering (SGQA): Reasoning over a sequence of graphs to answer logic or temporal questions (e.g., "What was picked up before the wiper was lowered?").
  2. Scene Graph Description Selection (SGDS): A multiple-choice task to identify which text description matches a given graph.
  3. Single-Action Generation (SA-SGG): Generating a single graph from a simple sentence.
  4. Multiple-Action Generation (MA-SGG): The most difficult task, requiring the model to decompose a complex narrative into a sequence of discrete scene graphs.

Dataset Construction

TSG Bench is derived from the Ego-centric Action Scene Graphs (EASG) dataset, covering 120 real-world scenarios across 18 domains like cooking, gardening, and maintenance. The dataset includes 2,041 human-like descriptions and 4,289 corresponding scene graphs. To ensure high quality, the authors used a "human-in-the-loop" approach: LLMs generated initial narratives from raw data, which were then meticulously refined by human annotators to ensure logical flow, lexical diversity, and accurate graph alignment.

Key Insights: The Understanding-Generation Gap

The study reveals a significant disparity in LLM capabilities. While top-tier models like Claude 3.5 Sonnet and GPT-4o demonstrate near-human performance in "reading" or understanding scene graphs (scoring up to 98% in selection tasks), their "writing" or generation performance is notably lower.

The Decomposition Bottleneck

The primary failure mode in generation tasks is not the syntax of the graph, but the logical decomposition of actions. For instance, a sentence like "The timber was cleaned using a fabric" implies a sequence: picking up the fabric, then wiping the timber. LLMs frequently skip these intermediate steps, leading to incomplete or logically flawed graph sequences. Furthermore, models exhibit a form of "numerical blindness," often failing to generate the correct number of sequential graphs when a prompt specifies repetitive actions.

Prompting Strategies: ICL vs. CoT

Interestingly, the research found that 10-shot In-Context Learning (ICL) was generally more effective than Chain-of-Thought (CoT) for structured generation. While CoT aided in complex reasoning for QA tasks, it occasionally introduced "prompt confusion" when the model was required to output strictly formatted JSON or graph structures, leading to formatting errors.

Performance Results

  • Top Performer: Claude-3.5-Sonnet emerged as the strongest model, achieving a 90.60% Exact Match in QA and the highest F1 scores in generation.
  • The Generation Ceiling: Even Claude-3.5-Sonnet only reached a 58.80 F1 score on multiple-action generation, trailing significantly behind the human baseline of 75.60.
  • Small Model Limitations: Smaller open-source models (like Mistral-7B) were largely unable to handle complex generation, often scoring below 12 F1 and frequently "hallucinating" objects or actions not present in the allowed list.

Conclusion and Future Directions

TSG Bench highlights that while LLMs are powerful reasoning engines, their ability to map complex narratives to structured, actionable spatial data is still maturing. The authors identify several frontiers for future research:

  • Multi-Actor Scenarios: Moving beyond ego-centric, single-person actions.
  • Attribute Integration: Incorporating object states (e.g., "broken," "dirty") and physical attributes (color, size) into the graphs.
  • Vision-Language Integration: Developing Vision-Language Models (VLMs) that can generate these structured graphs directly from video, combining spatial perception with linguistic reasoning.

Summary updated

BibTeX
@inproceedings{yang2025llm,
  author = {Dongil Yang and Minjin Kim and Sunghwan Kim and Beong-woo Kwak and Minjun Park and Jinseok Hong and Woontack Woo and Jinyoung Yeo},
  title = {{LLM Meets Scene Graph: Can Large Language Models Understand and Generate Scene Graphs? A Benchmark and Empirical Study}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure