이미지 캡셔닝을 위한 정규화 및 기하학 인식이 있는 자기 주의 네트워크
Normalized and Geometry-Aware Self-Attention Network for Image Captioning
Normalized and Geometry-Aware Self-Attention Network for Image Captioning
@misc{guo2020normalized,
title = {Normalized and Geometry-Aware Self-Attention Network for Image Captioning},
author = {Longteng Guo and Jing Liu and Xinxin Zhu and Peng Yao and Shichen Lu and Hanqing Lu},
year = {2020},
eprint = {2003.08897},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2003.08897}
}
Guo, L., Liu, J., Zhu, X., Yao, P., Lu, S., & Lu, H. (2020). Normalized and Geometry-Aware Self-Attention Network for Image Captioning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.08897
GUO L, LIU J, ZHU X, et al. Normalized and Geometry-Aware Self-Attention Network for Image Captioning[EB/OL]. (2020-03-19)[2026-11-29]. https://arxiv.org/abs/2003.08897.
초록
자기주의주의 (SA) 네트워크는 이미지 캡셔닝 분야에서 막대한 가치를 보여주고 있습니다. 본 논문에서는 이미지 캡셔닝 성능을 향상시키기 위해 SA 를 두 가지 측면에서 개선합니다. 첫째, SA 내부에 정규화의 이점을 가져오는 SA 의 재매개화인 정규화된 자기주의 (NSA) 를 제안합니다. 기존에 정규화는 SA 외부에서만 적용되어 왔으나, 우리는 새로운 정규화 방법을 도입하여 SA 내부의 숨겨진 활성화에 대해 이를 수행하는 것이 가능하고 유익함을 증명합니다. 둘째, Transformer 의 주요 한계인 입력 객체의 기하학적 구조를 모델링하지 못하는 문제를 보완하기 위해, 이미지 내 객체 간의 상대적 기하학적 관계를 명시적이고 효율적으로 고려하도록 SA 를 확장한 기하학 인지의 자기주의 (GSA) 클래스를 제안합니다. 이미지 캡셔닝 모델을 구축하기 위해 우리는 이 두 모듈을 결합하여 기본 자기주의 네트워크에 적용합니다. MS-COCO 이미지 캡셔닝 데이터셋에서 광범위하게 평가한 결과, 최첨단 접근법과 비교하여 우월한 성능을 달성했습니다. 또한 비디오 캡셔닝, 기계 번역, 시각적 질문 답변이라는 세 가지 도전 과제에서 수행된 추가 실험은 우리 방법의 일반성을 보여줍니다.
Self-attention (SA) network has shown profound value in image captioning. In this paper, we improve SA from two aspects to promote the performance of image captioning. First, we propose Normalized Self-Attention (NSA), a reparameterization of SA that brings the benefits of normalization inside SA. While normalization is previously only applied outside SA, we introduce a novel normalization method and demonstrate that it is both possible and beneficial to perform it on the hidden activations inside SA. Second, to compensate for the major limit of Transformer that it fails to model the geometry structure of the input objects, we propose a class of Geometry-aware Self-Attention (GSA) that extends SA to explicitly and efficiently consider the relative geometry relations between the objects in the image. To construct our image captioning model, we combine the two modules and apply it to the vanilla self-attention network. We extensively evaluate our proposals on MS-COCO image captioning dataset and superior results are achieved when comparing to state-of-the-art approaches. Further experiments on three challenging tasks, i.e. video captioning, machine translation, and visual question answering, show the generality of our methods.