Weakly Supervised Visual Semantic Parsing

Alireza Zareian, Svebor Karaman, Shih-Fu Chang

Introduction

Scene Graph Generation (SGG) is a fundamental task in computer vision that involves mapping an image to a structured representation of objects and their relationships. Despite its utility in visual reasoning, traditional SGG methods struggle with high computational costs (often $O(N^2)$), the extreme expense of bounding box annotations, and a limited ability to represent complex, multi-entity interactions.

This paper presents Visual Semantic Parsing (VSP) and the corresponding VSPNET architecture. By reimagining predicates as nodes in a bipartite graph rather than simple edges, the authors address these core challenges, enabling efficient, expressive, and weakly supervised scene understanding.

The VSP Framework: Beyond Triplets

The core innovation of VSP is the treatment of predicates as independent nodes. In traditional SGG, relationships are edges connecting two entities (subject-predicate-object). In contrast, VSP uses a bipartite structure where entities and predicates occupy the same semantic space.

Comparison between traditional Scene Graph Generation (SGG) and the proposed Visual Semantic Parsing (VSP).

As shown in the figure above, this shift allows for "semantic roles"—such as subject, object, or instrument—to be represented as edges. This flexibility enables the model to capture higher-order interactions. For instance, while a standard scene graph might separate "girl eating cake" and "cake on fork," VSP can represent the unified action of a girl eating cake with a fork by connecting the "eating" predicate node to the "fork" entity via an instrument role.

Weakly Supervised Learning via Graph Alignment

A significant barrier to scaling SGG is the requirement for millions of localized bounding boxes. VSPNET introduces a novel graph alignment algorithm to facilitate training with only image-level relationship labels.

The model treats the lack of localization as a bipartite matching problem. It generates a "soft" predicted graph and iteratively optimizes its alignment with an unlocalized ground-truth graph using a coordinate-descent approach. This allows the network to learn the spatial grounding of entities and predicates implicitly, effectively disentangling semantic recognition from geometric localization.

Performance and Efficiency

VSPNET demonstrates significant improvements in both speed and accuracy:

  • Computational Efficiency: By utilizing a fixed number of predicate slots ($n_p=100$) rather than evaluating all possible pairs, VSPNET achieves sub-quadratic complexity. It processes images in approximately 0.11 seconds, representing a 7x to 30x speedup over traditional baselines like MotifNet.
  • State-of-the-Art Results: In weakly supervised settings (without bounding boxes), the model achieved a 30.5% Recall@50 on the SGCLS task. Even in fully supervised scenarios, it reached 12.6% Recall@50 on the SGGEN task, outperforming contemporary state-of-the-art models.

Conclusion

Visual Semantic Parsing offers a more scalable and expressive alternative to traditional scene graph generation. By decoupling predicates from edges and employing a robust graph alignment strategy, VSPNET achieves high performance with minimal supervision. Future work may extend this bipartite message-passing approach to video domains or integrate it into complex visual question-answering (VQA) pipelines.

Summary updated

BibTeX
@inproceedings{zareian2020weakly,
  author = {Alireza Zareian and Svebor Karaman and Shih-Fu Chang},
  title = {{Weakly Supervised Visual Semantic Parsing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00379},
}
Figure