Image Captioning as Neural Machine Translation Task in SOCKEYE

Loris Bazzani, Tobias Domhan, Felix Hieber
10/9/2018
cs.CV
transformer-attention

Official code: awslabs/sockeye (1,214 stars, Python, Apache-2.0, PyTorch, last commit 2024-10-24).

Abstract

Image captioning is an interdisciplinary research problem that stands between computer vision and natural language processing. The task is to generate a textual description of the content of an image.

Show full abstract

The typical model used for image captioning is an encoder-decoder deep network, where the encoder captures the essence of an image while the decoder is responsible for generating a sentence describing the image. Attention mechanisms can be used to automatically focus the decoder on parts of the image which are relevant to predict the next word. In this paper, we explore different decoders and attentional models popular in neural machine translation, namely attentional recurrent neural networks, self-attentional transformers, and fully-convolutional networks, which represent the current state of the art of neural machine translation. The image captioning module is available as part of SOCKEYE at https://github.com/awslabs/sockeye which tutorial can be found at https://awslabs.github.io/sockeye/image_captioning.html .

View on arXivView PDF

Code Implementations(1)

awslabs/sockeyeOfficial100%
PyTorchApache-2.0

Sequence-to-sequence framework with a focus on Neural Machine Translation based on PyTorch

1,214319Python, JavaScriptJun 8, 20172 years agoApache-2.0
attention-is-all-you-needattention-mechanismattention-modeldeep-learningdeep-neural-networks+13 more

Similar Papers

Cite this paper

@article{bazzani2018image,
  title  = {Image Captioning as Neural Machine Translation Task in SOCKEYE},
  author = {Loris Bazzani and Tobias Domhan and Felix Hieber},
  year   = {2018},
  eprint = {1810.04101},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.04101}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1810.04101.svg)](https://codeofpaper.com/paper/1810.04101)

Discussion