SGTA: Scene-Graph Based Multi-Modal Traffic Agent for Video Understanding

Xingcheng Zhou, Mingyu Liu, Walter Zimmer, Jiajie Zhang, Alois KnollarXiv 2026

TL;DR

The Scene-Graph Based Multi-Modal Traffic Agent (SGTA) is a modular framework that combines structured traffic scene graphs with multi-modal LLM reasoning to improve traffic video understanding. By converting roadside videos into a queryable graph database and using a ReAct-style agent architecture, SGTA decomposes complex traffic queries into transparent, step-by-step reasoning paths.

What Problem Does This Paper Address?

Understanding complex traffic scenarios from roadside cameras is foundational for intelligent transportation systems and autonomous driving. While end-to-end Vision-Language Models (VLMs) have made massive strides in visual question answering (VQA), they typically operate as uninterpretable "black boxes." Furthermore, they frequently struggle with fine-grained spatio-temporal reasoning—such as tracking an object's precise speed, lane changes, or relative positioning over time.

SGTA addresses these limitations by moving away from purely end-to-end pixel-to-text generation, instead bridging symbolic spatial representations with neural multi-modal reasoning.

Fig. 1: Comparison of paradigms for traffic scene understanding.

Methods

The SGTA framework operates in two distinct stages:

  1. Traffic Scene Graph Generation: The system processes raw roadside video using standard perception backbones: YOLOv11 and RT-DETR for object detection, ByteTrack for multi-object tracking, and YOLOP for lane detection. Using camera calibration parameters, 2D pixel coordinates are projected into 3D road coordinates. This data populates a Neo4j graph database structured with three node types (Frames, Lanes, and Instances) and spatio-temporal edges capturing relations like distance, relative position, and lane assignments.

  2. Querying and Reasoning via ReAct: Instead of directly reading the video, an LLM (GPT-4o-mini) acts as an agent using the ReAct (Reasoning and Acting) framework. It interleaves its internal reasoning traces ("Thoughts") with discrete tool invocations ("Actions") to iteratively gather information until it can confidently answer the user's prompt.

Fig. 2: Overview of Scene-graph based multi-modal traffic agent (ours).

The agent has access to two primary categories of tools:

  • Scene Graph Tools: Translates agent requests into deterministic Cypher queries executed over the Neo4j database (e.g., calculating object counts, tracking lifespans, or computing relative positions).
  • Visual Tools: Invokes a VLM on specific cropped image regions to answer questions about visual attributes that aren't captured in the symbolic graph (such as vehicle color or specific model types).
Summary of SGTA tool sets

Datasets

The framework was evaluated using a representative sample of videos and question-answering pairs from the TUMTraffic VideoQA dataset, a benchmark containing real-world traffic accident videos paired with QA annotations, captions, and grounding data.

Key Insights and Ideas

  • Neuro-Symbolic Synergy: Purely symbolic graphs excel at math, counting, and tracking over time, while neural networks excel at open-ended visual description. SGTA successfully pairs them: the graph handles the "where and when," while the VLM handles the "what it looks like."
  • Decomposition of Vague Queries: Complex questions (e.g., "What is the appearance of the vehicle that changed lanes?") are automatically broken down. The agent first queries the graph to find the specific track ID matching the behavior, crops the relevant frames, and then passes only those crops to the VLM.
  • Built-in Interpretability: Because every step requires a tool call, the model provides an explicit audit trail of why it arrived at an answer, making it far more reliable for safety-critical traffic monitoring than end-to-end alternatives.

Key Results

SGTA achieved an overall accuracy of 54% across the evaluated traffic video QA samples.

Performance varied significantly depending on the question type:

  • Class (64%) and Existence (59%): The model performed best when identifying object categories or verifying whether an event/object was present.
  • Positioning (36%): Fine-grained spatial and relative positioning remains the most difficult task for the framework, highlighting the challenges of noisy 3D coordinate projections from monocular roadside cameras.
Performance of QA across different question types

Limitations and Future Work

While the modular approach provides excellent transparency, its accuracy is heavily bottlenecked by the upstream perception pipeline; errors in tracking or 3D coordinate projection directly degrade the scene graph's reliability.

The authors propose three main directions for future work:

  1. Scaling the framework to larger, more diverse traffic datasets while optimizing for real-time constraints.
  2. Integrating trajectory forecasting and risk assessment directly into the agent's reasoning loop for safety-critical applications.
  3. Implementing multi-agent communication frameworks to allow collaborative reasoning across multiple intersections and camera viewpoints.

Summary updated

BibTeX
@misc{zhou2026sgta,
  author = {Xingcheng Zhou and Mingyu Liu and Walter Zimmer and Jiajie Zhang and Alois Knoll},
  title = {{SGTA: Scene-Graph Based Multi-Modal Traffic Agent for Video Understanding}},
  year = {2026},
  eprint = {2604.03697},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.03697},
}
Figure