arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02072cs.CVcs.LG
收藏

EGTR: 从Transformer中提取图用于场景图生成

EGTR: Extracting Graph from Transformer for Scene Graph Generation

NAVER Cloud AI(NAVER 云人工智能);NAVER;Korea University(高丽大学)

Jinbae Im, JeongYeon Nam, Nokyung Park, Hyungmin Lee, Seunghyun Park

AI总结:

针对现有单阶段场景图生成模型忽略检测器自注意力中物体查询内在关联的问题,提出EGTR轻量模型,结合关系平滑技术与连通性预测辅助任务,在多个数据集上实现了高效的场景图生成。

摘要:

场景图生成(SGG)是一项检测物体并预测物体间关系的挑战性任务。DETR提出后,基于单阶段目标检测器的单阶段SGG模型得到了广泛研究。然而,现有方法采用复杂建模来预测物体间关系,却忽略了目标检测器多头自注意力中学习到的物体查询之间的内在关联。我们提出了一种轻量级单阶段SGG模型,该模型从DETR解码器多头自注意力层中学习到的各类关系中提取关系图。通过充分利用自注意力的副产品,仅需一个浅层关系提取头即可有效提取关系图。考虑到关系提取任务对目标检测任务的依赖性,我们提出了一种新颖的关系平滑技术,可根据检测到的物体质量自适应调整关系标签。借助关系平滑,模型按照连续课程进行训练:训练初期专注于目标检测任务,随着目标检测性能逐步提升,再开展多任务学习。此外,我们提出了连通性预测任务,用于预测物体对之间是否存在关系,作为关系提取的辅助任务。我们在Visual Genome和Open Image V6数据集上验证了所提方法的有效性和高效性。我们的代码已公开于https://github.com/naver-ai/egtr。

英文摘要:

Scene Graph Generation (SGG) is a challenging task of detecting objects and predicting relationships between objects. After DETR was developed, one-stage SGG models based on a one-stage object detector have been actively studied. However, complex modeling is used to predict the relationship between objects, and the inherent relationship between object queries learned in the multi-head self-attention of the object detector has been neglected. We propose a lightweight one-stage SGG model that extracts the relation graph from the various relationships learned in the multi-head self-attention layers of the DETR decoder. By fully utilizing the self-attention by-products, the relation graph can be extracted effectively with a shallow relation extraction head. Considering the dependency of the relation extraction task on the object detection task, we propose a novel relation smoothing technique that adjusts the relation label adaptively according to the quality of the detected objects. By the relation smoothing, the model is trained according to the continuous curriculum that focuses on object detection task at the beginning of training and performs multi-task learning as the object detection performance gradually improves. Furthermore, we propose a connectivity prediction task that predicts whether a relation exists between object pairs as an auxiliary task of the relation extraction. We demonstrate the effectiveness and efficiency of our method for the Visual Genome and Open Image V6 datasets. Our code is publicly available at https://github.com/naver-ai/egtr.

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

↑