[Paper Review] Learning Visual Commonsense for Robust Scene Graph Generation
This paper proposes a novel method, Global-Local Attention Transformer (GLAT), to learn visual commonsense—such as object affordances and intuitive physics—automatically from scene graph data without external knowledge. By disentangling perception and commonsense into separate models and fusing their outputs based on confidence, the approach corrects nonsensical predictions in scene graph generation, significantly improving accuracy on Visual Genome, especially in rare and zero-shot scenarios.
Scene graph generation models understand the scene through object and predicate recognition, but are prone to mistakes due to the challenges of perception in the wild. Perception errors often lead to nonsensical compositions in the output scene graph, which do not follow real-world rules and patterns, and can be corrected using commonsense knowledge. We propose the first method to acquire visual commonsense such as affordance and intuitive physics automatically from data, and use that to improve the robustness of scene understanding. To this end, we extend Transformer models to incorporate the structure of scene graphs, and train our Global-Local Attention Transformer on a scene graph corpus. Once trained, our model can be applied on any scene graph generation model and correct its obvious mistakes, resulting in more semantically plausible scene graphs. Through extensive experiments, we show our model learns commonsense better than any alternative, and improves the accuracy of state-of-the-art scene graph generation methods.
Motivation & Objective
- Address the limitation of existing scene graph generation (SGG) models that are prone to perception errors due to real-world visual challenges.
- Overcome reliance on incomplete or biased external commonsense knowledge bases or simple co-occurrence statistics in SGG.
- Develop a self-supervised method to learn structured visual commonsense directly from annotated scene graph corpora.
- Design a fusion mechanism that intelligently combines perception and commonsense outputs based on model confidence to improve robustness.
- Ensure the method generalizes to rare and zero-shot scenarios by avoiding dataset bias in commonsense learning.
Proposed method
- Propose a self-supervised pretraining framework based on masked autoencoding of scene graphs, where masked entities or predicates are predicted using context.
- Extend the Transformer architecture with local attention heads to explicitly model the structural dependencies in scene graphs, improving graph-aware representation learning.
- Train the Global-Local Attention Transformer (GLAT) on a large corpus of annotated scene graphs to learn visual commonsense patterns such as affordances and intuitive physics.
- Decouple the SGG pipeline into two models: a perception model (e.g., IMP, SNM, KERN) and a commonsense model (GLAT), trained independently.
- Design a confidence-aware fusion module that combines predictions from both models, giving more weight to the output with higher confidence for each triplet.
- Use the fusion module to correct nonsensical predictions—e.g., misclassified objects or implausible relations—by leveraging commonsense reasoning when perception is uncertain.
Experimental results
Research questions
- RQ1Can visual commonsense, such as object affordances and intuitive physics, be learned directly from scene graph data without external knowledge?
- RQ2How can a model be trained to recognize and correct perception errors in scene graph generation using structured commonsense?
- RQ3To what extent can a commonsense model generalize to rare or zero-shot instances without inheriting dataset bias?
- RQ4How can perception and commonsense be fused in a way that respects uncertainty and improves overall robustness?
- RQ5Does a confidence-based fusion mechanism outperform naive averaging or fixed-rules integration in correcting SGG errors?
Key findings
- GLAT outperforms conventional Transformers and graph-based models in learning visual commonsense, as measured by masked prediction accuracy on scene graph data.
- The fusion of perception and commonsense models improves mean recall by up to 1.4 points on mR@50 and 0.9 points on mR@100 over the best baseline (KERN) on the Visual Genome dataset.
- GLAT learns complex commonsense patterns such as object affordances (e.g., chair for sitting) and intuitive physics (e.g., objects not floating) that are absent in standard SGG models.
- The method demonstrates robustness to dataset bias: it correctly corrects mistakes in rare or zero-shot scenarios, such as misclassified birds or hats on birds.
- The fusion mechanism effectively leverages confidence scores, preferring commonsense when perception is uncertain (e.g., low-light conditions) and perception when it is confident.
- In ablation studies, adding GLAT and the fusion module consistently improves performance across all SGG methods (IMP, SNM, KERN), confirming its generalizability and effectiveness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.