HyperGLM: HyperGraph for Video Scene Graph Generation and Anticipation

Trong-Thuan Nguyen, Pha Nguyen, Jackson David Cothren, Alper Yilmaz, Khoa Luu · DOI

TL;DR

This paper introduces HyperGLM, a novel framework that leverages hypergraphs and Large Language Models (LLMs) to significantly improve video scene understanding. By integrating spatial object relationships with temporal causal transitions into a unified "scene hypergraph," HyperGLM enables more robust reasoning and anticipation of complex events in videos, outperforming existing methods across multiple challenging tasks.

What Problem Does This Paper Address?

Understanding dynamic video scenes is crucial for applications like autonomous driving and intelligent surveillance, but current vision-language models struggle with this complexity. While Video Scene Graph Generation (VidSGG) aims to capture object relationships, existing methods often rely on simple pairwise connections. This limitation hinders their ability to model intricate multi-object interactions and perform higher-order reasoning or anticipate future events. The paper addresses this gap by proposing a method that can capture these complex, multi-way relationships and temporal dependencies more effectively.

Methods

The core of HyperGLM is its novel Scene HyperGraph construction. This hypergraph unifies two key components:

  • Entity Scene Graphs: These capture spatial relationships between objects within individual video frames, similar to traditional scene graphs.
  • Procedural Graph: This models the causal transitions and temporal evolution of relationships between objects across frames.

These two components are integrated into a single unified HyperGraph. This structure allows for the representation of higher-order relationships (involving more than two entities) through hyperedges. The model then injects this unified HyperGraph into Multimodal Large Language Models (LLMs). This integration allows the LLMs to leverage the rich, structured temporal and spatial information from the hypergraph for tasks like scene graph generation, anticipation, question answering, captioning, and relation reasoning. A key technique used is a random-walk algorithm to sample substructures from the hypergraph, efficiently capturing connectivity patterns.

Datasets

The paper introduces a new benchmark dataset called VSGR (Video Scene Graph Reasoning). This dataset is substantial, featuring 1.9 million video frames from third-person, egocentric, and drone perspectives. It supports five tasks: Scene Graph Generation (SGG), Scene Graph Anticipation (SGA), Video Question Answering (VQA), Video Captioning (VC), and Relation Reasoning (RR). This dataset is notable for its scale and the inclusion of the Relation Reasoning task, which is less common in existing benchmarks. The authors also used the PVSG and Action Genome datasets for evaluation.

Key Insights and Ideas

  • Hypergraphs for Higher-Order Relationships: The paper demonstrates that hypergraphs are a natural and effective way to model complex, multi-way interactions in video, going beyond pairwise relationships.
  • Unified Spatial-Temporal Representation: By combining entity scene graphs (spatial) with a procedural graph (temporal), HyperGLM creates a comprehensive representation that captures both "what" is happening and "how" it evolves.
  • LLMs as Reasoning Engines for Structured Data: Injecting the structured hypergraph information into LLMs allows them to perform more sophisticated reasoning and anticipation, leveraging their language understanding capabilities with explicit visual context.
  • The Importance of Temporal Dynamics: The procedural graph component is crucial for anticipating future events, highlighting that understanding the evolution of relationships is as important as understanding static relationships.

Key Results

HyperGLM consistently outperforms state-of-the-art methods across all five tasks on the VSGR dataset. Specifically:

  • Scene Graph Generation (SGG): Achieved the highest R@20 scores (7.5% on VSGR, 35.8% on PVSG), with significant improvements in mean Recall.
  • Scene Graph Anticipation (SGA): Outperformed existing methods on both Action Genome and VSGR datasets, achieving R@10 scores of 35.7% and 25.1%, respectively.
  • Video Question Answering (VQA): Reached an accuracy of 45.4% on VSGR.
  • Video Captioning (VC): Achieved scores of 54.5% at CIDEr and 64.9% at ROUGE-L.
  • Relation Reasoning (RR): Achieved an accuracy of 47.2%.

Qualitatively, the paper shows examples where HyperGLM effectively captures evolving interactions and anticipates future events, even in complex scenarios, while other methods struggle with similar predicates or miss temporal dynamics.

Limitations and Future Work

The authors acknowledge that as the number of objects and their interactions increases, managing the complexity of the HyperGraph can become challenging, potentially obscuring essential relationships. Future work could explore more efficient ways to manage and interpret these large-scale hypergraphs to maintain clarity in scene interpretation.

Summary updated

BibTeX
@inproceedings{nguyen2025hyperglm,
  author = {Trong-Thuan Nguyen and Pha Nguyen and Jackson David Cothren and Alper Yilmaz and Khoa Luu},
  title = {{HyperGLM: HyperGraph for Video Scene Graph Generation and Anticipation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02714},
}
Figure