arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.02728cs.CV
收藏

场景图分析中的图形对比损失

Graphical Contrastive Losses for Scene Graph Parsing

Rutgers University(罗格斯大学);Nvidia Corporation(英伟达公司)

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

摘要:

大多数场景图解析器使用两阶段管道来检测视觉关系:第一阶段检测实体,第二阶段使用softmax分布预测每个实体对的谓词。我们发现,这样的管道,训练只有一个交叉熵损失超过谓词类,遭受两个常见的错误。第一种是实体实例混淆,当模型混淆了同一类型实体的多个实例(例如多个杯子)时发生。第二个是近端关系歧义,当多个主谓宾三元组与同一个谓词非常接近时,模型就会很难推断出正确的主宾配对(例如,错误配对的音乐家和他们的乐器)。我们提出了一套对比损失公式,专门针对这些类型的错误在场景图解析问题,统称为图形对比损失。这些损失明确地迫使模型通过特定于每种类型的混淆的边缘约束来消除相关和不相关实例的歧义。我们进一步构建了一个关系检测器,称为RelDN,使用上述管道来证明我们提出的损失的有效性。在测试集上,我们的模型比OpenImages Relationship Detection Challenge的获胜方法高出4.7\%(相对16.5\%)。我们还在Visual Genome和Visual Relationship Detection数据集上显示了比以前最好的方法更好的结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑