Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Graphical Contrastive Losses for Scene Graph Parsing

About

Most scene graph parsers use a two-stage pipeline to detect visual relationships: the first stage detects entities, and the second predicts the predicate for each entity pair using a softmax distribution. We find that such pipelines, trained with only a cross entropy loss over predicate classes, suffer from two common errors. The first, Entity Instance Confusion, occurs when the model confuses multiple instances of the same type of entity (e.g. multiple cups). The second, Proximal Relationship Ambiguity, arises when multiple subject-predicate-object triplets appear in close proximity with the same predicate, and the model struggles to infer the correct subject-object pairings (e.g. mis-pairing musicians and their instruments). We propose a set of contrastive loss formulations that specifically target these types of errors within the scene graph parsing problem, collectively termed the Graphical Contrastive Losses. These losses explicitly force the model to disambiguate related and unrelated instances through margin constraints specific to each type of confusion. We further construct a relationship detector, called RelDN, using the aforementioned pipeline to demonstrate the efficacy of our proposed losses. Our model outperforms the winning method of the OpenImages Relationship Detection Challenge by 4.7\% (16.5\% relative) on the test set. We also show improved results over the best previous methods on the Visual Genome and Visual Relationship Detection datasets.

Ji Zhang, Kevin J. Shih, Ahmed Elgammal, Andrew Tao, Bryan Catanzaro• 2019

Related benchmarks

TaskDatasetResultRank
Scene Graph GenerationVisual Genome (test)--
86
Relation DetectionVRD (test)
R@5025.3
75
Scene Graph GenerationOpen Images v6 (test)
wmAPrel32.16
74
PredCLSAction Genome (test)
Recall@1075.7
54
Predicate ClassificationVisual Genome (VG) 150 object categories, 50 relationship categories (test)--
44
Scene Graph ClassificationAction Genome (test)
Recall@1025
40
Phrase DetectionVRD (test)
R@5031.3
36
Scene Graph Detection (SGDet)Action Genome v1.0 (test)
R@1024.5
32
Scene Graph DetectionAction Genome
Recall@1024.5
30
Scene Graph DetectionVisual Genome (VG) (test)
mR@506
29
Showing 10 of 22 rows

Other info

Follow for update