Abstract
Video Scene Graph Generation (VSGG) is essential for high-level video understanding, yet traditional methods are often hindered by the "offline bottleneck," requiring entire video sequences to generate predictions. We introduce DiffVsgg, a framework that reformulates VSGG as an iterative denoising process using Latent Diffusion Models (LDMs). By unifying object detection and relationship prediction into a single shared feature embedding and utilizing previous predictions as temporal "prompts," DiffVsgg achieves state-of-the-art performance in an online fashion. This approach significantly reduces memory overhead and enables real-time reasoning suitable for autonomous systems.
The Challenge: Offline vs. Online Reasoning
Video Scene Graph Generation involves identifying objects and their dynamic relationships (e.g., "person-holding-ball") across video frames. Most existing solutions operate in an offline mode, processing the entire video at once to aggregate temporal context. This leads to two primary issues:
- Memory Inefficiency: Processing long video sequences consumes massive GPU memory, making these models difficult to deploy on edge devices.
- Latency: Offline models cannot provide real-time feedback, rendering them useless for applications like autonomous driving or interactive robotics.
Furthermore, many current methods rely on simple temporal aggregation (like averaging context via Transformers) rather than true temporal reasoning about how relationships evolve.
Methods: Scene Graphs as Latent Space
The core innovation of DiffVsgg is treating the scene graph as a structured latent space that can be refined through diffusion.
Unified Feature Embedding
Unlike traditional pipelines that treat object detection and relationship prediction as disjointed steps, DiffVsgg unifies object classification, bounding box regression, and predicate (relationship) prediction. These are represented within a single shared feature embedding, specifically an adjacency matrix $A^t$. This unification helps prevent "error propagation," where a failure in initial object detection typically cascades into incorrect relationship predictions.
Iterative Denoising and Temporal Prompting
Drawing inspiration from generative models like Stable Diffusion, DiffVsgg starts with a "noisy" version of the scene graph and uses a Denoising U-Net to iteratively refine it. To enable online processing, the model uses the denoised graph from the previous frame ($A^{t-1}$) as a conditional input—or "prompt"—for the current frame ($A^t$). This ensures temporal consistency, allowing the model to maintain a persistent understanding of interactions as they unfold.
Motion-Enhanced Denoising
To better distinguish between similar actions (e.g., "moving toward" vs. "moving away from"), the authors inject explicit motion cues—calculated from object velocity and direction—directly into the diffusion process. This provides the model with the necessary spatial-temporal context to resolve ambiguous interactions.
Evaluation and Results
The model was rigorously evaluated on Action Genome (AG), the benchmark standard for VSGG, comprising over 10,000 videos and 1.7 million predicate instances.
Performance Highlights
- State-of-the-Art Accuracy: In the most challenging Scene Graph Detection (SGDET) task, DiffVsgg achieved a Recall@10 of 32.8, outperforming the previous leader (DSG-DETR) by 3.3 points.
- Long-Tail Robustness: The model showed significant improvements in Mean Recall (mR), indicating it is far more effective at identifying rare or complex relationships that traditional models often overlook.
- Efficiency: Despite the iterative nature of diffusion, DiffVsgg is remarkably lightweight. With only 46.7M parameters, it is the most parameter-efficient model among top competitors. It operates at approximately 8.7 FPS, bringing the field significantly closer to real-time viability.
Conclusion and Future Work
DiffVsgg demonstrates that framing scene graph generation as a diffusion problem allows for more robust, online-capable temporal reasoning. While 8.7 FPS is a major step forward, it does not yet reach the 24-30 FPS required for true real-time operation. The primary bottleneck remains the iterative reverse diffusion process (currently 20 steps). Future research will likely focus on faster diffusion sampling methods and reducing the dependency on initial off-the-shelf object detectors to further streamline the pipeline.
Summary updated