Back to Search Start Over

Where to put the Image in an Image Caption Generator

Authors :
Tanti, Marc
Gatt, Albert
Camilleri, Kenneth P.
Publication Year :
2017

Abstract

When a recurrent neural network language model is used for caption generation, the image information can be fed to the neural network either by directly incorporating it in the RNN -- conditioning the language model by `injecting' image features -- or in a layer following the RNN -- conditioning the language model by `merging' image features. While both options are attested in the literature, there is as yet no systematic comparison between the two. In this paper we empirically show that it is not especially detrimental to performance whether one architecture is used or another. The merge architecture does have practical advantages, as conditioning by merging allows the RNN's hidden state vector to shrink in size by up to four times. Our results suggest that the visual and linguistic modalities for caption generation need not be jointly encoded by the RNN as that yields large, memory-intensive models with few tangible advantages in performance; rather, the multimodal integration should be delayed to a subsequent stage.<br />Comment: Accepted in JNLE Special Issue: Language for Images (24.3) (expanded with content that was removed from journal paper in order to reduce number of pages), 28 pages, 5 figures, 6 tables

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.1703.09137
Document Type :
Working Paper
Full Text :
https://doi.org/10.1017/S1351324918000098