What is the Role of Recurrent Neural Networks (RNNs) in an Image Caption Generator?

Marc Tanti,Albert Gatt,Kenneth P. Camilleri
DOI: https://doi.org/10.48550/arXiv.1708.02043
2017-08-25
Abstract:In neural image captioning systems, a recurrent neural network (RNN) is typically viewed as the primary `generation' component. This view suggests that the image features should be `injected' into the RNN. This is in fact the dominant view in the literature. Alternatively, the RNN can instead be viewed as only encoding the previously generated words. This view suggests that the RNN should only be used to encode linguistic features and that only the final representation should be `merged' with the image features at a later stage. This paper compares these two architectures. We find that, in general, late merging outperforms injection, suggesting that RNNs are better viewed as encoders, rather than generators.
Computation and Language,Computer Vision and Pattern Recognition,Neural and Evolutionary Computing
What problem does this paper attempt to address?