arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.11934cs.CVcs.AI
收藏

RelTransformer:一种基于transformer的长尾视觉关系识别方法

RelTransformer: A Transformer-Based Long-Tail Visual Relationship Recognition

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Indian Institute of Technology(印度理工学院)

Jun Chen, Aniket Agarwal, Sherif Abdelkarim, Deyao Zhu, Mohamed Elhoseiny

摘要:

视觉关系识别(VRR)任务旨在理解图像中交互对象之间的成对视觉关系。由于其组成性质,这些关系通常具有长尾分布。当词汇量变大时,这个问题变得更加严重,使这项任务变得非常具有挑战性。本文表明,通过一个注意力机制建模一个有效的消息传递流,可以解决VRR的组合性和长尾挑战的关键。该方法称为RelTransformer,将每个图像表示为全连接的场景图,并将整个场景重构为关系三元组和全局场景上下文。它通过自注意将来自关系三元组和全局场景上下文中的每个元素的消息直接传递到目标关系。我们还设计了一个可学习的记忆来增强长尾关系表示学习。通过大量的实验,我们发现我们的模型在许多VRR基准测试中具有很好的泛化能力。我们的模型在两个大规模长尾VRR基准测试中的表现优于表现最好的模型,即VG 8 K-LT(+2.0%的整体acc)和GQA-LT(+26.0%的整体acc),这两个模型都具有高度偏态的尾部分布。它在VG 200关系检测任务上也取得了很好的效果。我们的代码可在https://github.com/Vision-CAIR/RelTransformer上获得。

英文摘要:

The visual relationship recognition (VRR) task aims at understanding the pairwise visual relationships between interacting objects in an image. These relationships typically have a long-tail distribution due to their compositional nature. This problem gets more severe when the vocabulary becomes large, rendering this task very challenging. This paper shows that modeling an effective message-passing flow through an attention mechanism can be critical to tackling the compositionality and long-tail challenges in VRR. The method, called RelTransformer, represents each image as a fully-connected scene graph and restructures the whole scene into the relation-triplet and global-scene contexts. It directly passes the message from each element in the relation-triplet and global-scene contexts to the target relation via self-attention. We also design a learnable memory to augment the long-tail relation representation learning. Through extensive experiments, we find that our model generalizes well on many VRR benchmarks. Our model outperforms the best-performing models on two large-scale long-tail VRR benchmarks, VG8K-LT (+2.0% overall acc) and GQA-LT (+26.0% overall acc), both having a highly skewed distribution towards the tail. It also achieves strong results on the VG200 relation detection task. Our code is available at https://github.com/Vision-CAIR/RelTransformer.

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

↑