arXiv (Cornell University) · 2019 · 51 citations · 37 references
ComputingComputer ScienceComputer VisionMachine LearningNatural Language ProcessingAttention NetworksVisual Question AnsweringAttentionAttention MechanismsCaptioningContextEncoder-decoder ArchitecturesImage Captioning
Attention mechanisms are widely used in encoder/decoder image captioning models, yet the decoder often lacks insight into how well the attended vector aligns with its query, potentially leading to misleading outputs. This work introduces an Attention on Attention (AoA) module that explicitly evaluates the relevance between attention outputs and their queries. AoA first computes an information vector and an attention gate from the attention result and current context, then multiplies them element‑wise to produce a refined attention, and this module is integrated into both the encoder and decoder of the AoANet architecture. On the MS COCO benchmark, AoANet surpasses all prior methods, attaining 129.8 CIDEr‑D on the Karpathy offline split and 129.6 CIDEr‑D (C40) on the official online test. The code is publicly available at https://github.com/husthuaan/AoANet.
Attention mechanisms are widely used in current encoder/decoder frameworks of image captioning, where a weighted average on encoded vectors is generated at each time step to guide the caption decoding process. However, the decoder has little idea of whether or how well the attended vector and the given attention query are related, which could make the decoder give misled results. In this paper, we propose an Attention on Attention (AoA) module, which extends the conventional attention mechanisms to determine the relevance between attention results and queries. AoA first generates an information vector and an attention gate using the attention result and the current context, then adds another attention by applying element-wise multiplication to them and finally obtains the attended information, the expected useful knowledge. We apply AoA to both the encoder and the decoder of our image captioning model, which we name as AoA Network (AoANet). Experiments show that AoANet outperforms all previously published methods and achieves a new state-of-the-art performance of 129.8 CIDEr-D score on MS COCO Karpathy offline test split and 129.6 CIDEr-D (C40) score on the official online testing server. Code is available at https://github.com/husthuaan/AoANet.
37
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
ImageNet: A large-scale hierarchical image database
Jia Deng, Wei Dong, Richard Socher et al. · 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 · 61.8K citations
Kishore Papineni, Salim Roukos, Todd J. Ward et al. · 2001 · 21.5K citations · Full text