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

ReFormer:用于图像描述的关系型Transformer

ReFormer: The Relational Transformer for Image Captioning

InnoPeak Technology, Inc.(InnoPeak科技公司);Stony Brook University(石溪大学)

Xuewen Yang, Yingru Liu, Xin Wang

摘要:

图像描述通过使用场景图来表示图像中对象的关系,能够实现更好的性能。目前的字幕编码器通常使用图卷积网络(GCN)来表示关系信息,并通过级联或卷积将其与对象区域特征合并,以获得用于句子解码的最终输入。然而,由于两个原因,现有方法中基于GCN的编码器对于字幕效果较差。首先,使用图像描述作为目标(即,最大似然估计)而不是以关系为中心的损失不能充分发掘编码器的潜力。其次,使用预先训练的模型而不是编码器本身来提取关系是不灵活的,并且不能有助于模型的可解释性。为了提高图像描述的质量,我们提出了一种新的体系结构ReFormer --一个关系Transformer来生成嵌入了关系信息的特征,并显式地表达图像中对象之间的成对关系。ReFormer采用一种改进的Transformer模型,将场景图生成的目标与图像描述的目标相结合。这种设计允许ReFormer不仅可以生成更好的图像字幕,而且可以提取强关系的图像特征,还可以生成场景图来显式描述成对关系。在公开数据集上的实验表明,我们的模型在图像描述和场景图生成方面明显优于现有的方法

英文摘要:

Image captioning is shown to be able to achieve a better performance by using scene graphs to represent the relations of objects in the image. The current captioning encoders generally use a Graph Convolutional Net (GCN) to represent the relation information and merge it with the object region features via concatenation or convolution to get the final input for sentence decoding. However, the GCN-based encoders in the existing methods are less effective for captioning due to two reasons. First, using the image captioning as the objective (i.e., Maximum Likelihood Estimation) rather than a relation-centric loss cannot fully explore the potential of the encoder. Second, using a pre-trained model instead of the encoder itself to extract the relationships is not flexible and cannot contribute to the explainability of the model. To improve the quality of image captioning, we propose a novel architecture ReFormer -- a RElational transFORMER to generate features with relation information embedded and to explicitly express the pair-wise relationships between objects in the image. ReFormer incorporates the objective of scene graph generation with that of image captioning using one modified Transformer model. This design allows ReFormer to generate not only better image captions with the bene-fit of extracting strong relational image features, but also scene graphs to explicitly describe the pair-wise relation-ships. Experiments on publicly available datasets show that our model significantly outperforms state-of-the-art methods on image captioning and scene graph generation

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

↑