Skip to main content
QUICK REVIEW

[论文解读] Improving Image Captioning by Leveraging Intra- and Inter-layer Global Representation in Transformer Network

Jiayi Ji, Yunpeng Luo|arXiv (Cornell University)|Dec 13, 2020
Multimodal Machine Learning ApplicationsComputer Science参考文献 44被引用 18
一句话总结

本文提出全局增强Transformer(GET),一种新型Transformer架构,通过联合建模层内与层间全局图像表征,提升图像字幕生成性能。通过集成全局增强编码器与全局自适应解码器模块,GET在MS COCO数据集上利用全局上下文增强区域级特征,实现SOTA性能,CIDEr得分达131.6。

ABSTRACT

Transformer-based architectures have shown great success in image captioning, where object regions are encoded and then attended into the vectorial representations to guide the caption decoding. However, such vectorial representations only contain region-level information without considering the global information reflecting the entire image, which fails to expand the capability of complex multi-modal reasoning in image captioning. In this paper, we introduce a Global Enhanced Transformer (termed GET) to enable the extraction of a more comprehensive global representation, and then adaptively guide the decoder to generate high-quality captions. In GET, a Global Enhanced Encoder is designed for the embedding of the global feature, and a Global Adaptive Decoder are designed for the guidance of the caption generation. The former models intra- and inter-layer global representation by taking advantage of the proposed Global Enhanced Attention and a layer-wise fusion module. The latter contains a Global Adaptive Controller that can adaptively fuse the global information into the decoder to guide the caption generation. Extensive experiments on MS COCO dataset demonstrate the superiority of our GET over many state-of-the-arts.

研究动机与目标

  • 解决标准Transformer在图像字幕生成中仅依赖区域级特征、忽略全局图像上下文的局限性。
  • 通过引入全面的全局视觉表征,克服字幕中对象缺失与关系偏差问题。
  • 设计一种机制,在自回归生成过程中根据动态需求自适应地融合全局信息到解码器中。
  • 实现层内与层间全局表征学习,以增强网络深度上的视觉特征。
  • 通过提升生成字幕时的推理能力与上下文感知能力,在MS COCO基准上实现SOTA性能。

提出的方法

  • 提出全局增强编码器,利用全局增强注意力机制将局部特征聚合为层内全局表征。
  • 采用LSTM实现逐层融合模块,以传播并优化编码器各层间的全局表征。
  • 在解码器中引入全局自适应控制器,使用门控自适应控制器或多头自适应控制器实现全局特征的动态融合。
  • 采用门控机制控制全局特征集成到解码器隐藏状态的范围与时机。
  • 使用积分梯度法进行注意力可视化,以解释全局表征如何影响词语生成。
  • 在MS COCO数据集上端到端训练模型,采用标准图像字幕损失函数与优化方法。

实验结果

研究问题

  • RQ1与标准Transformer相比,同时建模层内与层间全局表征是否能提升图像字幕生成性能?
  • RQ2全局上下文的引入在多大程度上减少了生成字幕中的对象缺失与错误预测?
  • RQ3在自回归生成过程中,将全局特征融合到解码器的最优策略是什么?
  • RQ4所提出的全局增强注意力机制是否能有效捕捉图像级语义信息,而不会引入噪声?
  • RQ5不同融合模块(如LSTM与平均池化)对层间全局表征传播质量有何影响?

主要发现

  • 所提出的GET模型在MS COCO测试-SEK划分上取得131.6的CIDEr得分,优于此前SOTA方法。
  • 消融实验表明,同时使用全局增强注意力(GEA)与基于LSTM的层间融合可达到最高性能(CIDEr: 131.6)。
  • 多头自适应控制器(MAC)始终优于门控自适应控制器,表明其在建模复杂特征交互方面更具优势。
  • 引入GEA模块后,性能从基线的37.9(B-4)提升至38.1,证明其在利用全局上下文增强局部表征方面的有效性。
  • 三层编码器与三层解码器的模型表现最佳,增加深度反而导致性能轻微下降,表明存在最优网络深度。
  • 通过积分梯度法生成的可视化结果表明,GET能更准确地将相关图像区域与生成词语对齐,尤其在罕见或语境关键对象(如'snow')上表现更优。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。