Skip to main content
QUICK REVIEW

[논문 리뷰] Comparative study of Transformer and LSTM Network with attention mechanism on Image Captioning

Pranav Dandwate, Chaitanya Shahane|arXiv (Cornell University)|2023. 03. 05.
Multimodal Machine Learning ApplicationsComputer Science인용 수 3
한 줄 요약

이 연구는 MS-COCO 데이터셋을 사용하여 이미지 요약 생성에서 Transformer와 LSTM에 주목하는 메커니즘을 비교한다. 사전 훈련된 Inception-V3를 특징 추출에 사용한다. Transformer가 LSTM을 능가하여 BLEU 점수 0.45 대 0.30를 기록함으로써 유사한 훈련 조건과 손실 함수 조건에서도 보다 정확한 관련성 있고 기술적인 요약을 생성하는 데 성공하였다.

ABSTRACT

In a globalized world at the present epoch of generative intelligence, most of the manual labour tasks are automated with increased efficiency. This can support businesses to save time and money. A crucial component of generative intelligence is the integration of vision and language. Consequently, image captioning become an intriguing area of research. There have been multiple attempts by the researchers to solve this problem with different deep learning architectures, although the accuracy has increased, but the results are still not up to standard. This study buckles down to the comparison of Transformer and LSTM with attention block model on MS-COCO dataset, which is a standard dataset for image captioning. For both the models we have used pretrained Inception-V3 CNN encoder for feature extraction of the images. The Bilingual Evaluation Understudy score (BLEU) is used to checked the accuracy of caption generated by both models. Along with the transformer and LSTM with attention block models,CLIP-diffusion model, M2-Transformer model and the X-Linear Attention model have been discussed with state of the art accuracy.

연구 동기 및 목표

  • Transformer와 LSTM에 주목 메커니즘을 적용한 이미지 요약 생성에서의 성능 평가 및 비교.
  • 표준 메트릭을 사용하여 주목 메커니즘이 요약 생성 품질에 미치는 영향 평가.
  • M2-Transformer, X-Linear Attention, CLIP-Diffusion와 같은 최신 아키텍처와의 벤치마킹.
  • 이미지 요약 생성에서 시각적 및 언어적 표현을 통합하는 데 가장 효과적인 파ipeline 식별.
  • MS-COCO 데이터셋에서 두 모델의 훈련 동역학 및 초반 성능 추세 분석.

제안 방법

  • Transformer 및 LSTM 모델 모두에 대해 사전 훈련된 Inception-V3 CNN을 시각적 인코더로 사용하여 이미지 특징을 추출.
  • Transformer에서는 자기 주목(self-attention)을, LSTM에서는 추가 주목(additive attention)을 사용하여 다중 모odal 정렬을 구현한 인코더-디코더 프레임워크 적용.
  • AWS g4dn.xlarge GPU 인스턴스를 사용하여 10 에포크 동안 MS-COCO 2014 데이터셋에서 두 모델을 훈련.
  • BLEU, METEOR, ROUGE, CIDEr, SPICE 등의 다중 메트릭을 사용하여 모델 성능 평가.
  • M2-Transformer, X-Linear Attention, CLIP-Diffusion와 같은 최신 모델과의 결과 비교.
  • 평가를 위해 빔 서치 디코딩과 급진적 추론을 사용하여 최종 요약 생성.

실험 결과

연구 질문

  • RQ1MS-COCO 데이터셋에서 Transformer와 LSTM에 주목 메커니즘을 적용한 모델 간 요약 생성 정확도는 어떻게 비교되는가?
  • RQ2Transformer 및 LSTM 아키텍처에서 주목 메커니즘이 생성된 요약 품질에 어떤 영향을 미치는가?
  • RQ3이미지 요약 작업에서 Transformer와 LSTM의 훈련 동역학 및 초반 성능는 어떻게 비교되는가?
  • RQ4유사한 훈련 조건에서 Transformer 모델이 LSTM 모델보다 더 높은 BLEU 및 CIDEr 점수를 달성할 수 있는가?
  • RQ5제안된 모델은 M2-Transformer 및 X-Linear Attention와 같은 최신 모델과 비교해 볼 때 요약 성능에서 어떻게 비교되는가?

주요 결과

  • Transformer 모델은 최고 BLEU-1 점수 0.45를 기록하여 LSTM 모델(최대 BLEU-1 점수 0.30)을 뚜렷이 앞서갔다.
  • Transformer 모델은 LSTM 모델보다 높은 검증 정확도(48.80%)를 보였으며, 초기 단계 성능도 떨어졌다.
  • 유사한 훈련 설정에도 불구하고, Transformer 모델는 더 빠른 수렴 속도를 보였고, 참조 요약과의 정렬이 더 우수했다.
  • M2-Transformer는 BLEU-1 점수 81.6을 기록하여 평가된 모델들 중 최고 수준의 성능을 보였다.
  • X-Linear Attention 메커니즘은 선형 변환을 통해 계산 복잡도를 감소시켜 정확도를 유지하면서도 효율성을 향상시켰다.
  • CLIP-Diffusion 모델은 Flickr8k+Flickr30k에서 BLEU-4 점수 0.247를 기록하여 강력한 제로샷 전이 성능를 보였지만, 이 연구에서는 MS-COCO에서 성능이 낮았다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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