Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-08T23:21:14.704Z Has data issue: false hasContentIssue false

The role of image representations in vision to language tasks

Published online by Cambridge University Press:  21 March 2018

PRANAVA MADHYASTHA
Affiliation:
Department of Computer Science, University of Sheffield, Regent Court, 211 Portobello St., Sheffield S1 4DP, UK e-mail: p.madhyastha@sheffield.ac.uk, j.k.wang@sheffield.ac.uk, l.specia@sheffield.ac.uk
JOSIAH WANG
Affiliation:
Department of Computer Science, University of Sheffield, Regent Court, 211 Portobello St., Sheffield S1 4DP, UK e-mail: p.madhyastha@sheffield.ac.uk, j.k.wang@sheffield.ac.uk, l.specia@sheffield.ac.uk
LUCIA SPECIA
Affiliation:
Department of Computer Science, University of Sheffield, Regent Court, 211 Portobello St., Sheffield S1 4DP, UK e-mail: p.madhyastha@sheffield.ac.uk, j.k.wang@sheffield.ac.uk, l.specia@sheffield.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Tasks that require modeling of both language and visual information, such as image captioning, have become very popular in recent years. Most state-of-the-art approaches make use of image representations obtained from a deep neural network, which are used to generate language information in a variety of ways with end-to-end neural-network-based models. However, it is not clear how different image representations contribute to language generation tasks. In this paper, we probe the representational contribution of the image features in an end-to-end neural modeling framework and study the properties of different types of image representations. We focus on two popular vision to language problems: The task of image captioning and the task of multimodal machine translation. Our analysis provides interesting insights into the representational properties and suggests that end-to-end approaches implicitly learn a visual-semantic subspace and exploit the subspace to generate captions.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2018 
Figure 0

Fig. 1. RNN conditioned on different types of image representations: (a) penultimate layer, (b) posterior over object class labels and (c) averaged word representations for the top-k object classes.

Figure 1

Fig. 2. Typical architecture of IC and MMT systems. In (a), the input image is encoded as a vector, and a description is decoded using an RNN. In (b), the source sentence encoding is used as decoder input, and the image embedding as input to either (or both) the source encoder or target decoder.

Figure 2

Table 1. Results on the MSCOCO test split for IC, where we vary only the image representation and keep other parameters constant

Figure 3

Table 2. Results for en-de and de-en MMT test sets

Figure 4

Fig. 3. The cosine distance matrix between six groups: Three MSCOCO categories and pairwise combinations of the three categories from the training dataset. Each group is represented by the average image feature of twenty-five randomly selected images from the category or combination of categories.

Figure 5

Fig. 4. Visualization of the t-SNE projection of the initial representational space (left) versus the transformed representational space (right).

Figure 6

Fig. 5. Example outputs from our system with different representations, the sub-captions indicate the annotation along with the frequency in braces. We also show the CIDEr score and the difference in CIDEr score relative to the Bag of Objects representation.

Figure 7

Table 3. Unique captions with beam =1