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

基于自适应注意时间的自适应对齐图像描述

Adaptively Aligned Image Captioning via Adaptive Attention Time

Peking University(北京大学);Macau University of Science and Technology(澳门科技大学);Peng Cheng Laboratory(鹏城实验室)

Lun Huang, Wenmin Wang, Yaxian Xia, Jie Chen

摘要:

最近的图像描述的神经模型通常采用具有注意力机制的编码器-解码器框架。然而,这种框架中的注意力机制将一个单个(关注的)图像特征向量对准到一个字幕词,假设从源图像区域和目标字幕词的一对一映射,这是永远不可能的。在本文中,我们提出了一种新的注意力模型,即自适应注意时间(AAT),对准源和目标自适应图像描述字幕。AAT允许框架学习在每个解码步骤中要采取多少注意步骤来输出字幕词。利用AAT,图像区域可以被映射到任意数量的字幕词,而字幕词也可以涉及任意数量的图像区域。AAT是确定性的和可微的,并且不引入任何噪声的参数梯度。在本文中,我们的经验表明,AAT提高了国家的最先进的方法上的任务图像描述。代码可在https://github.com/husthuaan/AAT上获得。

英文摘要:

Recent neural models for image captioning usually employ an encoder-decoder framework with an attention mechanism. However, the attention mechanism in such a framework aligns one single (attended) image feature vector to one caption word, assuming one-to-one mapping from source image regions and target caption words, which is never possible. In this paper, we propose a novel attention model, namely Adaptive Attention Time (AAT), to align the source and the target adaptively for image captioning. AAT allows the framework to learn how many attention steps to take to output a caption word at each decoding step. With AAT, an image region can be mapped to an arbitrary number of caption words while a caption word can also attend to an arbitrary number of image regions. AAT is deterministic and differentiable, and doesn't introduce any noise to the parameter gradients. In this paper, we empirically show that AAT improves over state-of-the-art methods on the task of image captioning. Code is available at https://github.com/husthuaan/AAT.

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

↑