Adaptive Visual Scene Understanding: Incremental Scene Graph Generation

Naitik Khandelwal, Xiao Liu, Mengmi Zhang

Artificial Intelligence systems are increasingly adept at analyzing static images, but the real world is dynamic. As AI agents move through changing environments, they must continuously learn to recognize new objects and the relationships between them without forgetting what they already know. This paper introduces a framework for Continual Scene Graph Generation (CSEGG) and proposes a novel method called RAS (Replays via Analysis by Synthesis) to tackle the pervasive issue of "catastrophic forgetting."

The Challenge of Dynamic Scene Understanding

Scene Graph Generation (SGG) is the process of translating an image into a structured, network-like map of objects (nodes) and their interactions (edges)—for example, [kid] - (sitting on) -> [chair].

A visual representation of a scene graph mapping objects and their relationships.

While current SGG models perform well on static datasets, they are typically "one-and-done." When introduced to new data—such as a new relationship type like "parked on"—standard models often suffer from catastrophic forgetting, where new knowledge overwrites previously learned information.

Continual learning is already a major focus in image classification, but applying it to SGG is significantly harder. This difficulty stems from the combinatorial complexity of relationships: as you add new objects, the potential relationships between them and existing objects grow non-linearly. Furthermore, real-world data follows a long-tailed distribution, meaning some relationships appear frequently while others are exceedingly rare.

RAS: Replays via Analysis by Synthesis

To solve this, the authors introduce RAS. Traditional continual learning often relies on "Experience Replay," which involves storing a massive buffer of old images. This approach is memory-intensive and raises privacy concerns. RAS, instead, takes a symbolic, generative approach:

  1. Decomposition & Re-composition: Instead of saving raw images, the system stores only textual "triplets" (subject-predicate-object) from previous tasks.
  2. Context-Aware Synthesis: A BERT-based context checker ensures these stored triplets make logical sense together. They are then fed into a Stable Diffusion model to generate realistic synthetic images of past scenarios.
  3. Pseudo-Labeling: A frozen version of the model from the previous task analyzes these synthetic images to generate scene graph notations.
  4. Balanced Replay: To combat the long-tail problem, a Long-Tailed Distribution (LTD) module ensures the model synthesizes and practices more frequently on rare (tail) relationships.

By training on a mix of new real-world data and synthesized "memories," the model maintains its proficiency across all tasks without needing a massive image database.

Benchmarking Continual Learning

To systematically test CSEGG, the researchers reorganized the standard Visual Genome (VG) dataset into a new benchmark featuring three distinct learning protocols:

  • S1: Relationship-Incremental: The model knows the objects but must learn new relationships between them over successive tasks.
  • S2: Scene-Incremental: The model is deployed in entirely new environments and must learn new objects and relationships simultaneously.
  • S3: Relationship Generalization: A rigorous test evaluating whether the model can recognize known relationships between entirely unknown objects.
New objects and relationships emerge as the model moves across different scenes over time.

Key Insights and Performance

  • Memory and Privacy Efficiency: Storing textual scene graphs is vastly more efficient than storing pixels. RAS requires only about 1.2 GB of storage, compared to the ~2 GB required by image-based replay methods, while also preserving privacy.
  • Superior Performance and Reduced Forgetting: In the S1 and S2 scenarios, RAS consistently outperformed standard baselines (like EWC and PackNet). It demonstrated significantly lower "Forgetfulness" scores; for instance, using the SGTR backbone, RAS achieved an Average Recall of 10.78 compared to a Naive baseline's 1.33.
  • Zero-Shot Generalization: In the challenging S3 scenario, the model showed a surprising ability to locate "objectness" in unknown entities, achieving 23% reasonable object proposals with minimal training.
  • The Importance of Context: Ablation studies proved the Context Checker is vital. Without it—if triplets are randomly combined for synthesis—performance drops by about 2%, highlighting that realistic scene structure is crucial for effective learning.

Limitations and the Road Ahead

While RAS marks a significant step forward, it is not without limitations. Because it relies on a frozen "old" model to label synthetic images, any errors made by that older model can propagate into the new one. Additionally, while Stable Diffusion generates high-quality images, integrating more precise control signals (like bounding box layouts) could further reduce noise in the synthetic training data.

Finally, this research focuses on static images. The authors note that the next frontier is video SGG, where temporal consistency will add an entirely new layer of complexity to adaptive visual scene understanding.

Summary updated

BibTeX
@inproceedings{khandelwal2024adaptive,
  author = {Naitik Khandelwal and Xiao Liu and Mengmi Zhang},
  title = {{Adaptive Visual Scene Understanding: Incremental Scene Graph Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=6lwKOvL3KN},
}
Figure