Transfer learning from language models to image caption generators: Better models may not transfer better

Marc Tanti, Albert Gatt, Kenneth P. Camilleri
1/1/2019
cs.CLcs.LGcs.NE

Official code: mtanti/mtanti-phd (5 stars, Python, MIT, last commit 2019-03-01).

Abstract

When designing a neural caption generator, a convolutional neural network can be used to extract image features. Is it possible to also use a neural language model to extract sentence prefix features?

Show full abstract

We answer this question by trying different ways to transfer the recurrent neural network and embedding layer from a neural language model to an image caption generator. We find that image caption generators with transferred parameters perform better than those trained from scratch, even when simply pre-training them on the text of the same captions dataset it will later be trained on. We also find that the best language models (in terms of perplexity) do not result in the best caption generators after transfer learning.

View on arXivView PDF

Code Implementations(1)

mtanti/mtanti-phdOfficial100%
MIT

My PhD thesis code.

50PythonSep 23, 20187 years agoMIT

Similar Papers

Cite this paper

@article{tanti2019transfer,
  title  = {Transfer learning from language models to image caption generators: Better models may not transfer better},
  author = {Marc Tanti and Albert Gatt and Kenneth P. Camilleri},
  year   = {2019},
  eprint = {1901.01216},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.01216}
}

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/1901.01216.svg)](https://codeofpaper.com/paper/1901.01216)

Discussion