Skip to main content
QUICK REVIEW

[논문 리뷰] Attention on Attention for Image Captioning

Lun Huang, Wenmin Wang|arXiv (Cornell University)|2019. 08. 19.
Multimodal Machine Learning ApplicationsComputer Science참고 문헌 48인용 수 51
한 줄 요약

이 논문은 Attention on Attention (AoA)를 도입합니다. 이는 주의 결과와 쿼리 간의 관련성을 측정하는 모듈이며, 이를 인코더와 디코더에 적용하여 AoANet을 구성하고 MS COCO에서 CIDEr-D 점수의 최첨단 성능을 달성합니다.

ABSTRACT

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.

연구 동기 및 목표

  • 이미지 캡션 생성에서 표준 주의에서 주의된 벡터와 쿼리 간의 불일치를 완화하기 위한 동기 부여 및 해결
  • AoA를 Conventional attention의 보강으로 제안하여 주의된 정보의 관련성을 평가하고 활용합니다
  • AoA를 이미지 인코더의 정제 모듈과 캡션 디코더 모두에 통합하여 AoANet을 개발합니다
  • MS COCO에서의 성능 평가와 최첨단 결과를 보여줍니다

제안 방법

  • Attention on Attention (AoA)을 정의하여 주의 결과와 현재 맥락으로부터 정보 벡터와 주의 게이트를 생성한 뒤, 게이트된 요소별 주의를 적용하여 주의된 정보를 얻습니다.
  • 인코더와 디코더 모두에 AoA를 적용합니다: 인코더는 자기 주의를 이용한 정제 모듈에서 객체 간 관계를 모델링하고, 디코더는 캡션 생성 시 유용한 주의 출력의 필터링과 강조를 위해 AoA를 사용합니다.
  • 인코더 정제에서 다중-헤드 자기 주의를 사용하고, 잔차 연결과 층 정규화와 함께 AoA를 적용합니다; 디코더는 AoA 기반 컨텍스트 벡터를 갖는 LSTM을 사용합니다.
  • 교차 엔트로피 손실로 학습한 후 Self-Critical Sequence Training (SCST)을 통한 CIDEr-D 최적화를 수행합니다; 입력은 1024차원으로 투영된 Faster-RCNN 바텀업 피처를 사용합니다

실험 결과

연구 질문

  • RQ1AoA가 이미지 캡션 생성에서 주의 결과와 디코딩 맥락 간의 관련성을 신뢰할 수 있게 측정하고 강제할 수 있는가?
  • RQ2인코더에 AoA를 적용하면 객체 간 관계의 모델링이 향상되고, 디코더에 AoA를 적용하면 캡션 생성 중 잘못된 주의가 감소하는가?
  • RQ3AoANet은 표준 MS COCO 벤치마크에서 이전의 최첨단 방법과 비교하여 어떻게 성능을 보이는가?

주요 결과

  • 단일 AoANet 모델이 오프라인 MS COCO에서 119.8 CIDEr-D(XE 학습)로, 이전의 단일 모델 방법들을 능가합니다.
  • 네 모델의 AoANet 앙상블은 오프라인 MS COCO에서 132.0 CIDEr-D(CIDEr-D 최적화) 달성합니다.
  • 공식 온라인 서버에서 AoANet은 129.6 CIDEr-D(C40)를 달성하고 대부분의 지표에서 선두를 차지합니다.
  • 정성적 분석 및 차등 분석에서 AoA가 잘못된 주의의 감소와 객체 수 계산 및 상호 작용 이해의 향상을 가져옴을 보였습니다(예: 기린 위의 새, 테니스 라켓).
  • MSR-VTT에 대한 일반화 실험에서 AoA가 비디오 캡션 생성에서도 유사한 이득으로 성능을 향상시킬 수 있음을 시사합니다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.