by applying convolutional neural networks to large-scale, labeled datasets, often exceeding human performance. These systems give outputs such as class labels, segmentation masks, or bounding boxes, but it would be more natural for humans to interact with these systems through natural language. To this end, the research community has introduced various multi-modal tasks, such as image captioning, referring expressions , visual question-answering [1, 34], visual reasoning , and visual dialogue [6, 5].
These tasks require models to effectively integrate information from both vision and language. One common approach is to process both modalities independently with large unimodal networks before combining them through concatenation , element-wise product [25, 31], or bilinear pooling . Inspired by the success of attention in machine translation , several works have proposed to incorporate various forms of spatial attention to bias models towards focusing on question-specific image regions [48, 47]. However, spatial attention sometimes only gives modest improvements over simple baselines for visual question answering  and can struggle on questions involving multi-step reasoning .
More recently, [44, 38] introduced Feature-wise Linear Modulation (FiLM) layers as a promising approach for vision-and-language tasks. These layers apply a per-channel scaling and shifting to a convolutional network’s visual features, conditioned on an external input such as language, e.g., captions, questions, or full dialogues. Such feature-wise affine transformations allow models to dynamically highlight the key visual features for the task at hand. The parameters of FiLM layers which scale and shift features or feature maps are determined by a separate network, the so-called FiLM generator, which predicts these parameters using the external conditioning input. Within various architectures, FiLM has outperformed prior state-of-art for visual question-answering [44, 38], multi-modal translation , and language-guided image segmentation .
However, the best way to design the FiLM generator is still an open question. For visual question-answering and visual reasoning, prior work uses single-hop FiLM generators that predict all FiLM parameters at once [38, 44]Multi-hop FiLM Generator is better suited for tasks involving longer input sequences and multi-step reasoning such as dialogue. Even for shorter input sequence tasks, single-hop FiLM generators can require a large RNN to achieve strong performance; on the CLEVR visual reasoning task  which only involves a small vocabulary and templated questions, the FiLM generator in  uses an RNN with 4096 hidden units that comprises almost 90% of the model’s parameters. Models with Multi-hop FiLM Generators may thus be easier to scale to more difficult tasks involving human-generated language involving larger vocabularies and more ambiguity.
As an intuitive example, consider the dialogue in Fig. 1 through which one speaker localizes the second girl in the image, the one who does not “have a blue frisbee.” For this task, a single-hop model must determine upfront what steps of reasoning to carry out over the image and in what order; thus, it might decide in a single shot to highlight feature maps throughout the visual network detecting either non-blue colors or girls. In contrast, a multi-hop model may first determine the most immediate step of reasoning necessary (i.e., locate the girls), highlight the relevant visual features, and then determine the next immediate step of reasoning necessary (i.e., locate the blue frisbee), and so on. While it may be appropriate to reason in either way, the latter approach may scale better to longer language inputs and/or or to ambiguous images where the full sequence of reasoning steps is hard to determine upfront, which can even be further enhanced by having intermediate feedback while processing the image.
In this paper, we therefore explore several approaches to generating FiLM parameters in multiple hops. These approaches introduce an intermediate context embedding that controls the language and visual processing, and they alternate between updating the context embedding via an attention mechanism over the language sequence (and optionally by incorporating image activations) and predicting the FiLM parameters. We evaluate Multi-hop FiLM generation on ReferIt  and GuessWhat?! , two vision-and-language tasks illustrated in Fig. 1. We show that Multi-hop FiLM models significantly outperform their single-hop counterparts and prior state-of-the-art for the longer input sequence, dialogue-based GuessWhat?! task while matching the state-of-the-art performance of other models on ReferIt. Our best GuessWhat?! model only updates the context embedding using the language input, while for ReferIt, incorporating visual feedback to update the context embedding improves performance.
In summary, this paper makes the following contributions:
We introduce the Multi-hop FiLM architecture and demonstrate that our approach matches or significantly improves state-of-the-art on the GuessWhat?! Oracle task, GuessWhat?! Guesser task, and ReferIt Guesser task.
We show Multi-hop FiLM models outperforms their single-hop counterparts on vision-and-language tasks involving complex visual reasoning.
We find that updating the context embedding of Multi-hop FiLM Generator based on visual feedback may be helpful in some cases, such as for tasks which do not include object category labels like ReferIt.
In this section, we explain the prerequisites to understanding our model: RNNs, attention mechanisms, and FiLM. We subsequently use these building blocks to propose a Multi-hop FiLM model.
2.1 Recurrent Neural Networks
One common approach in natural language processing is to use a Recurrent Neural Network (RNN) to encode some linguistic input sequence into a fixed-size embedding. The input (such as a question or dialogue) consists of a sequence of words of length , where each word is contained within a predefined vocabulary . We embed each input token via a learned look-up table and obtain a dense word-embedding . The sequence of embeddings is then fed to a RNN, which produces a sequence of hidden states by repeatedly applying a transition function :
To better handle long-term dependencies in the input sequence, we use a Gated Recurrent Unit (GRU) with layer normalization  as transition function. In this work, we use a bidirectional GRU, which consists of one forward GRU, producing hidden states by running from to , and a second backward GRU, producing states by running from to . We concatenate both unidirectional GRU states at each step to get a final GRU state, which we then use as the compressed embedding of the linguistic sequence .
The form of attention we consider was first introduced in the context of machine translation [3, 33]. This mechanism takes a weighted average of the hidden states of an encoding RNN based on their relevance to a decoding RNN at various decoding time steps. Subsequent spatial attention mechanisms have extended the original mechanism to image captioning  and other vision-and-language tasks [47, 24]. More formally, given an arbitrary linguistic embedding and image activations where , , are the width, height, and channel indices, respectively, of the image features at one layer, we obtain a final visual embedding as follows:
where is a multi-layer perceptron and is an arbitrary fusion mechanism (concatenation, element-wise product, etc.). We will use Multi-modal Low-rank Bilinear (MLB) attention  which defines as:
2.3 Feature-wise Linear Modulation
Feature-wise Linear Modulation was introduced in the context of image stylization  and extended and shown to be highly effective for multi-modal tasks such as visual question-answering [44, 38, 7].
A Feature-wise Linear Modulation (FiLM) layer applies a per-channel scaling and shifting to the convolutional feature maps. Such layers are parameter efficient (only two scalars per feature map) while still retaining high capacity, as they are able to scale up or down, zero-out, or negate whole feature maps. In vision-and-language tasks, another network, the so-called FiLM generator , predicts these modulating parameters from the linguistic input . More formally, a FiLM layer computes a modulated feature map as follows:
where and are the scaling and shifting parameters which modulate the activations of the original feature map . We will use the superscript to refer to the FiLM layer in the network.
FiLM layers may be inserted throughout the hierarchy of a convolutional network, either pre-trained and fixed  or trained from scratch . Prior FiLM-based models [44, 38, 7] have used a single-hop FiLM generator to predict the FiLM parameters in all layers, e.g., an MLP which takes the language embedding as input [44, 38, 7].
3 Multi-hop FiLM
In this section, we introduce the Multi-hop FiLM architecture (shown in Fig. 2) to predict the parameters of FiLM layers in an iterative fashion, to better scale to longer input sequences such as in dialogue. Another motivation was to better disantangle the linguistic reasoning from the visual one by iteratively attending to both pipelines.
We introduce a context vectorthat acts as a controller for the linguistic and visual pipelines. We initialize the context vector with the final state of a bidirectional RNN and repeat the following procedure for each of the FiLM layers in sequence (from lowest to highest convolutional layer): first, the context vector is updated by performing attention over RNN states (extracting relevant language information), and second, the context is used to predict a layer’s FiLM parameters (dynamically modulating the visual information). Thus, the context vector enables the model to perform multi-hop reasoning over the linguistic pipeline while iteratively modulating the image features. More formally, the context vector is computed as follows:
where the dependence of on may be omitted to simplify notation. is a network (shared across layers) which aids in producing attention weights. can be any fusion mechanism that facilitates selecting the relevant context to attend to; here we use a simple dot-product following , so . Finally, FiLM is carried out using a layer-dependent neural network :
As a regularization, we append a normalization-layer  on top of the context vector after each attention step.
External information. Some tasks provide additional information which may be used to further improve the visual modulation. For instance, GuessWhat?! provides spatial features of the ground truth object to models which must answer questions about that object. Our model incorporates such features by concatenating them to the context vector before generating FiLM parameters.
Visual feedback. Inspired by the co-attention mechanism [31, 54], we also explore incorporating visual feedback into the Multi-hop FiLM architecture. To do so, we first extract the image or crop features (immediately before modulation) and apply a global mean-pooling over spatial dimensions. We then concatenate this visual state into the context vector before generating the next set of FiLM parameters.
In this section, we first introduce the ReferIt and GuessWhat?! datasets and respective tasks and then describe our overall Multi-hop FiLM architecture111 The code and hyperparameters are available at
The code and hyperparameters are available athttps://github.com/GuessWhatGame.
ReferIt [23, 51] is a cooperative two-player game. The first player (the Oracle) selects an object in a rich visual scene, for which they must generate an expression that refers to it (e.g., “the person eating ice cream”). Based on this expression, the second player (the Guesser) must then select an object within the image. There are four ReferIt datasets exist: RefClef, RefCOCO, RefCOCO+ and RefCOCOg. The first dataset contains 130K references over 20K images from the ImageClef dataset , while the three other datasets respectively contain 142K, 142K and 86K references over 20K, 20k and 27K images from the MSCOCO dataset . Each dataset has small differences. RefCOCO and RefClef were constructed using different image sets. RefCOCO+ forbids certain words to prevent object references from being too simplistic, and RefCOCOg only relies on images containing 2-4 objects from the same category. RefCOCOg also contains longer and more complex sentences than RefCOCO (8.4 vs. 3.5 average words). Here, we will show results on both the Guesser and Oracle tasks.
GuessWhat?!  is a cooperative three-agent game in which players see the picture of a rich visual scene with several objects. One player (the Oracle) is randomly assigned an object in the scene. The second player (Questioner) aims to ask a series of yes-no questions to the Oracle to collect enough evidence to allow the third player (Guesser) to correctly locate the object in the image. The GuessWhat?! dataset is composed of 131K successful natural language dialogues containing 650k question-answer pairs on over 63K images from MSCOCO . Dialogues contain 5.2 question-answer pairs and 34.4 words on average. Here, we will focus on the Guesser and Oracle tasks.
4.2 Task Descriptions
Game Features. Both games consist of triplets , where is an RGB image and is some language input (i.e., a series of words) describing an object in . The object is defined by an object category, a pixel-wise segmentation, an RGB crop of based on bounding box information, and hand-crafted spatial information , where
We replace words with two or fewer occurrences with an token.
The Oracle task. Given an image , an object , a question , and a sequence of previous question-answer pairs where , the oracle’s task is to produce an answer that correctly answers the question .
The Guesser task. Given an image , a list of objects , a target object and the dialogue
, the guesser needs to output a probabilitythat each object is the target object . Following , the Guesser is evaluated by selecting the object with the highest probability of being correct. Note that even if the individual probabilities are between 0 and 1, their sum can be greater than 1. More formally, the Guesser loss and error are computed as follows:
where is the indicator function and the number of objects in the game.
We use similar models for both ReferIt and GuessWhat?! and provide its architectural details in this subsection.
Object embedding The object category is fed into a dense look-up table , and the spatial information is scaled to [-1;1] before being up-sampled via non-linear projection to . We do not use the object category in ReferIt models.
Visual Pipeline We first resized the image and object crop to before extracting dimensional features from a ResNet-152 
(block3) pre-trained on ImageNet. Following , we feed these features to a
convolution layer with Batch Normalization37]
(ReLU). We then stack four modulated residual blocks (shown in Fig2), each producing a set of feature maps via (in order) a convolutional layer (128 units), ReLU activations, a convolutional layer (128 units), and an untrainable Batch Normalization layer. The residual block then modulates with a FiLM layer to get
, before again applying ReLU activations. Lastly, a residual connection sums the activations of both ReLU outputs. After the last residual block, we use aconvolution layer (512 units) with Batch Normalization and ReLU followed by MLB attention  (256 units and 1 glimpse) to obtain the final embedding . Note our model uses two independent visual pipeline modules: one to extract modulated image features , one to extract modulated crop features .
To incorporate spatial information, we concatenate two coordinate feature maps indicating relative x and y spatial position (scaled to ) with the image features before each convolution layer (except for convolutional layers followed by FiLM layers). In addition, the pixel-wise segmentations are rescaled to floating point masks before being concatenated to the feature maps.
Linguistic Pipeline We compute the language embedding by using a word-embedding look-up (200 dimensions) with dropout followed by a Bi-GRU (units) with Layer Normalization . As described in Section 3, we initialize the context vector with the last RNN state . We then attend to the other Bi-GRU states via an attention mechanism with a linear projection and ReLU activations and regularize the new context vector with Layer Normalization.
FiLM parameter generation We concatenate spatial information and object category information to the context vector. In some experiments, we also concatenate a fourth embedding consisting of intermediate visual features after mean-pooling. Finally, we use a linear projection to map the embedding to FiLM parameters.
Final Layers We first generate our final embedding by concatenating the output of the visual pipelines ;
before applying a linear projection (512 units) with ReLU and a softmax layer.
In our experiments, we re-implement several baseline models to benchmark the performance of our models. The standard Baseline NN simply concatenates the image and object crop features after mean pooling, the linguistic embedding, and the spatial embedding and the category embedding (GuessWhat?! only), passing those features to the same final layers described in our proposed model. We refer to a model which uses the MLB attention mechanism to pool the visual features as Baseline NN+MLB. We also implement a Single-hop FiLM mechanism which is equivalent to setting all context vectors equal to the last state of the Bi-GRU . Finally, we experiment with injecting intermediate visual features into the FiLM Generator input, and we refer to the model as Multi-hop FiLM (+img).
|visDif + MMI ||-||74.6%||76.6%||-||59.2%||55.6%||64.0%|
|NEG Bag ||-||75.6%||78.0%||-||-||-||68.4%|
|Multi-hop FiLM (+img)||84.9%||%||83.1%||%||65.8%||%|
ReferIt Guesser We report the best test error of the outlined methods on the ReferIt Guesser task in Tab. 1. Note that RefCOCO and RefCOCO+ split test sets into TestA and TestB, only including expression referring towards people and objects, respectively. We do not report  and  scores on RefCOCOg as the authors use a different split (umd). Our initial baseline achieves 77.6%, 60.8%, 63.1%, 73.4% on the RefCOCO, RefCOCO+, RefCOCOg, RefClef datasets, respectively, performing comparably to state-of-the-art models. We observe a significant improvements using a FiLM-based architecture, jumping to 84.9%, 87.4%, 73.8%, 71.5%, respectively, and outperforming most prior methods and achieving comparably performance with the concurrent MAttN  model. Interestingly, MAttN and Multi-hop FiLM are built in two different manners; while the former has three specialized reasoning blocks, our model uses a generic feature modulation approach. These architectural differences surface when examining test splits: MAttN achieves excellent results on referring expression towards objects while Multi-hop FiLM performs better on referring expressions towards people.
|Oracle Models||Quest.||Dial.||Object||Image||Crop||Test Error|
|Dominant class (“no”)||✗||✗||✗||✗||✗||50.9%|
|Question only ||✓||✗||✗||✗||✗||41.2%|
|Image only ||✗||✗||✗||✓||✗||46.7%|
|Crop only ||✗||✗||✗||✗||✓||43.0%|
|No-Vision (Quest.) ||✓||✗||✓||✗||✗||21.5%|
|Baseline NN (Quest.)||✓||✗||✓||✓||✓||23.3%|
|Baseline NN (Dial.)||✗||✓||✓||✓||✓||22.4%|
|Baseline NN + MLB (Quest.)||✓||✗||✓||✓||✓||21.8%|
|Baseline NN + MLB (Dial.)||✗||✓||✓||✓||✓||21.1%|
|Single-hop FiLM (Quest.)||✓||✗||✓||✓||✓||17.8%|
|Single-hop FiLM (Dial.)||✗||✓||✓||✓||✓||17.6%|
|Multi-hop FiLM (+img)||✗||✓||✓||✓||✓||17.1%|
GuessWhat?! Oracle We report the best test error of several variants of GuessWhat?! Oracle models in Tab. 2. First, we baseline any visual or language biases by predicting the Oracle’s target answer using only the image (46.7% error) or the question (41.1% error). As first reported in , we observe that the baseline methods perform worse when integrating the image and crop inputs (21.1%) rather than solely using the object category and spatial location (20.6%). On the other hand, concatenating previous question-answer pairs to answer the current question is beneficial in our experiments. Finally, using Single-hop FiLM reduces the error to 17.6% and Multi-hop FiLM further to 16.9%, outperforming the previous best model by 2.4%.
GuessWhat?! Guesser We provide the best test error of the outlined methods on the GuessWhat?! Guesser task in Tab. 3. As a baseline, we find that random object selection achieves an error rate of 82.9%. Our initial model baseline performs significantly worse (38.3%) than concurrent models (36.6%), highlighting that successfully jointly integrating crop and image features is far from trivial. However, Single-hop FiLM manages to lower the error to 35.6%. Finally, Multi-hop FiLM architecture outperforms other models with a final error of 30.5%.
Single-hop FiLM vs. Multi-hop FiLM In the GuessWhat?! task, Multi-hop FiLM outperforms Single-hop FiLM by 6.1% on the Guesser task but only 0.7% on the Oracle task. We think that the small performance gain for the Oracle task is due to the nature of the task; to answer the current question, it is often not necessary to look at previous question-answer pairs, and in most cases this task does not require a long chain of reasoning. On the other hand, the Guesser task needs to gather information across the whole dialogue in order to correctly retrieve the object, and it is therefore more likely to benefit from multi-hop reasoning. The same trend can be observed for ReferIt. Single-hop FiLM and Multi-hop FiLM perform similarly on RefClef and RefCOCO, while we observe 1.3% and 2% gains on RefCOCO+ and RefCOCOg, respectively. This pattern of performance is intuitive, as the former datasets consist of shorter referring expressions (3.5 average words) than the latter (8.4 average words in RefCOCOg), and the latter datasets also consist of richer, more complex referring expressions due e.g. to taboo words (RefCOCO+). In short, our experiments demonstrate that Multi-hop FiLM is better able reason over complex linguistic sequences.
Reasoning mechanism We conduct several experiments to better understand our method. First, we assess whether Multi-hop FiLM performs better because of increased network capacity. We remove the attention mechanism over the linguistic sequence and update the context vector via a shared MLP. We observe that this change significantly hurts performance across all tasks, e.g., increasing the Multi-hop FiLM error of the Guesser from 30.5 to 37.3%. Second, we investigate how the model attends to GuessWhat?! dialogues for the Oracle and Guesser tasks, providing more insight into how to the model reasons over the language input. We first look at the top activation in the (crop) attention layers to observe where the most prominent information is. Note that similar trends are observed for the image pipeline. As one would expect, the Oracle is focused on a specific word in the last question 99.5% of the time, one which is crucial to answer the question at hand. However, this ratio drops to 65% in the Guesser task, suggesting the model is reasoning in a different way. If we then extract the top 3 activations per layer, the attention points to or tokens (respectively) at least once, 50% of the time for the Oracle and Guesser, showing that the attention is able to correctly split the dialogue into question-answer pairs. Finally, we plot the attention masks for each FiLM layer to have a better intuition of this reasoning process in Fig. 4.
Crop vs. Image. We also evaluate the impact of using the image and/or crop on the final error for the Guesser task 3. Using the image alone (while still including object category and spatial information) performs worse than using the crop. However, using image and crop together inarguably gives the lowest errors, though prior work has not always used the crop due to architecture-specific GPU limitations .
Visual feedback We explore whether adding visual feedback to the context embedding improves performance. While it has little effect on the GuessWhat?! Oracle and Guesser tasks, it improves the accuracy on ReferIt by 1-2%. Note that ReferIt does not include class labels of the selected object, so the visual feedback might act as a surrogate for this information. To further investigate this hypothesis, we remove the object category from the GuessWhat?! task and report results in Tab. 5 in the supplementary material. In this setup, we indeed observe a relative improvement 0.4% on the Oracle task, further confirming this hypothesis.
Pointing Task In GuessWhat?!, the Guesser must select an object from among a list of items. A more natural task would be to have the Guesser directly point out the object as a human might. Thus, in the supplementary material, we introduce this task and provide initial baselines (Tab. Guesser (Pointing Task)) which include FiLM models. This task shows ample room for improvement with a best test error of 84.0%.
6 Related Work
The ReferIt game  has been a testbed for various vision-and-language tasks over the past years, including object retrieval [36, 51, 52, 54, 32, 50], semantic image segmentation [16, 39], and generating referring descriptions [51, 32, 52]. To tackle object retrieval, [36, 51, 50] extract additional visual features such as relative object locations and [52, 32]
use reinforcement learning to iteratively train the object retrieval and description generation models. Closer to our work,[17, 54] use the full image and the object crop to locate the correct object. While some previous work relies on task-specific modules [51, 50], our approach is general and can be easily extended to other vision-and-language tasks.
The GuessWhat?! game  can be seen as a dialogue version of the ReferIt game, one which additionally draws on visual question answering ability. [42, 28, 53] make headway on the dialogue generation task via reinforcement learning. However, these approaches are bottlenecked by the accuracy of Oracle and Guesser models, despite existing modeling advances [54, 44]; accurate Oracle and Guesser models are crucial for providing a meaningful learning signal for dialogue generation models, so we believe the Multi-hop FiLM architecture will facilitate high quality dialogue generation as well.
A special case of Feature-wise Linear Modulation was first successfully applied to image style transfer , whose approach modulates image features according to some image style (i.e., cubism or impressionism).  extended this approach to vision-and-language tasks, injecting FiLM-like layers along the entire visual pipeline of a pre-trained ResNet.  demonstrates that a convolutional network with FiLM layers achieves strong performance on CLEVR , a task that focuses on answering reasoning-oriented, multi-step questions about synthetic images. Subsequent work has demonstrated that FiLM and variants thereof are effective for video object segmentation where the conditioning input is the first image’s segmentation (instead of language)  and language-guided image segmentation . Even more broadly, 
overviews the strength of FiLM-related methods across machine learning domains, ranging from reinforcement learning to generative modeling to domain adaptation.
There are other notable models that decompose reasoning into different modules. For instance, Neural Turing Machines[13, 14] divide a model into a controller with read and write units. Memory networks use an attention mechanism to answer a query by reasoning over a linguistic knowledge base [45, 43] or image features . A memory network updates a query vector by performing several attention hops over the memory before outputting a final answer from this query vector. Although Multi-hop FiLM computes a similar context vector, this intermediate embedding is used to predict FiLM parameters rather than the final answer. Thus, Multi-hop FiLM includes a second reasoning step over the image.
Closer to our work,  designed networks composed of Memory, Attention, and Control (MAC) cells to perform visual reasoning. Similar to Neural Turing Machines, each MAC cell is composed of a control unit that attends over the language input, a read unit that attends over the image and a write unit that fuses both pipelines. Though conceptually similar to Multi-hop FiLM models, Compositional Attention Networks differ structurally, for instance using a dynamic neural architecture and relying on spatial attention rather than FiLM.
In this paper, we introduce a new way to exploit Feature-wise Linear Modulation (FiLM) layers for vision-and-language tasks. Our approach generates the parameters of FiLM layers going up the visual pipeline by attending to the language input in multiple hops rather than all at once. We show Multi-hop FiLM Generator architectures are better able to handle longer sequences than their single-hop counterparts. We outperform state-of-the-art vision-and-language models significantly on the long input sequence GuessWhat?! tasks, while maintaining state-of-the-art performance for the shorter input sequence ReferIt task. Finally, this Multi-hop FiLM Generator approach uses few problem-specific priors, and thus we believe it can extended to a variety of vision-and-language tasks, particularly those requiring complex visual reasoning.
The authors would like to acknowledge the stimulating research environment of the SequeL Team. We also thank Vincent Dumoulin for helpful discussions. We acknowledge the following agencies for research funding and computing support: Project BabyRobot (H2020-ICT-24-2015, grant agreement no.687831), CHISTERA IGLU and CPER Nord-Pas de Calais/FEDER DATA Advanced data science and technologies 2015-2020, NSERC, Calcul Québec, Compute Canada, the Canada Research Chairs, and CIFAR.
-  Antol, S., Agrawal, A., Lu, J., Mitchell, M., Batra, D., Lawrence Zitnick, C., Parikh, D.: Vqa: Visual question answering. In: Proc. of ICCV (2015)
-  Ba, J.L., Kiros, J.R., Hinton, G.E.: Layer normalization. Deep Learning Symposium (NIPS) (2016)
Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. In: Proc. of ICLR (2015)
-  Chung, J., Gulcehre, C., Cho, K., Bengio, Y.: Empirical evaluation of gated recurrent neural networks on sequence modeling. In: Proc. of ICML (2015)
-  Das, A., Kottur, S., Gupta, K., Singh, A., Yadav, D., Moura, J.M., Parikh, D., Batra, D.: Visual dialog. In: Proc. of CVPR (2017)
-  De Vries, H., Strub, F., Chandar, S., Pietquin, O., Larochelle, H., Courville, A.: Guesswhat?! visual object discovery through multi-modal dialogue. In: Proc. of CVPR (2017)
-  Delbrouck, J.B., Dupont, S.: Modulating and attending the source image during encoding improves multimodal translation. Visually-Grounded Interaction and Language Workshop (NIPS) (2017)
-  Dumoulin, V., Shlens, J., Kudlur, M.: A Learned Representation For Artistic Style. In: Proc. of ICLR (2017)
-  Dumoulin, V., Perez, E., Schucher, N., Strub, F., Vries, H.d., Courville, A., Bengio, Y.: Feature-wise transformations. Distill (2018). https://doi.org/10.23915/distill.00011, https://distill.pub/2018/feature-wise-transformations
-  Everingham, M., Van Gool, L., Williams, C.K., Winn, J., Zisserman, A.: The pascal visual object classes (voc) challenge. International journal of computer vision 88(2), 303–338 (2010)
-  Fukui, A., Park, D.H., Yang, D., Rohrbach, A., Darrell, T., Rohrbach, M.: Multimodal compact bilinear pooling for visual question answering and visual grounding. In: Proc. of EMNLP (2016)
-  Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proc. of of CVPR (2014)
-  Graves, A., Wayne, G., Danihelka, I.: Neural turing machines. arXiv preprint arXiv:1410.5401 (2014)
-  Graves, A., Wayne, G., Reynolds, M., Harley, T., Danihelka, I., Grabska-Barwińska, A., Colmenarejo, S.G., Grefenstette, E., Ramalho, T., Agapiou, J., et al.: Hybrid computing using a neural network with dynamic external memory. Nature 538(7626), 471 (2016)
-  He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proc. of CVPR (2016)
-  Hu, R., Rohrbach, M., Darrell, T.: Segmentation from natural language expressions. In: Proc. of ECCV (2016)
-  Hu, R., Xu, H., Rohrbach, M., Feng, J., Saenko, K., Darrell, T.: Natural language object retrieval. In: Proc. of CVPR (2016)
-  Hudson, D.A., Manning, C.D.: Compositional attention networks for machine reasoning. In: Proc. of ICL (2018)
-  Ioffe, S., Szegedy, C.: Batch normalization: Accelerating deep network training by reducing internal covariate shift. In: Proc. of ICML (2015)
-  Jabri, A., Joulin, A., van der Maaten, L.: Revisiting visual question answering baselines. In: Proc. of ECCV (2016)
-  Johnson, J., Hariharan, B., van der Maaten, L., Fei-Fei, L., Zitnick, C.L., Girshick, R.: Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In: Proc. of CVPR (2017)
-  Kafle, K., Kanan, C.: Visual question answering: Datasets, algorithms, and future challenges. Computer Vision and Image Understanding 163, 3–20 (2017)
-  Kazemzadeh, S., Ordonez, V., Matten, M., Berg, T.: Referitgame: Referring to objects in photographs of natural scenes. In: Proc. of EMNLP (2014)
-  Kim, J.H., On, K.W., Lim, W., Kim, J., Ha, J.W., Zhang, B.T.: Hadamard Product for Low-rank Bilinear Pooling. In: Proc. of ICLR (2017)
-  Kim, J.H., Lee, S.W., Kwak, D., Heo, M.O., Kim, J., Ha, J.W., Zhang, B.T.: Multimodal residual learning for visual qa. In: Proc. of NIPS (2016)
-  Kingma, D.P., Ba, J.: Adam: A method for stochastic optimization. In: Proc. of ICLR (2014)
-  Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convolutional neural networks. In: Proc. of of NIPS (2012)
-  Lee, S.W., Heo, Y.J., Zhang, B.T.: Answerer in questioner’s mind for goal-oriented visual dialogue. Visually-Grounded Interaction and Language Workshop (NIPS) (2018)
-  Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., Zitnick, C.L.: Microsoft coco: Common objects in context. In: Proc. of ECCV (2014)
-  Long, J., Shelhamer, E., Darrell, T.: Fully convolutional networks for semantic segmentation. In: Proc. of CVPR (2015)
-  Lu, J., Yang, J., Batra, D., Parikh, D.: Hierarchical question-image co-attention for visual question answering. In: Proc. of NIPS (2016)
-  Luo, R., Shakhnarovich, G.: Comprehension-guided referring expressions. In: Proc. of CVPR (2017)
-  Luong, M.T., Pham, H., Manning, C.D.: Effective approaches to attention-based neural machine translation. In: Proc. of EMNLP (2015)
Malinowski, M., Rohrbach, M., Fritz, M.: Ask your neurons: A neural-based approach to answering questions about images. In: Proc. of ICCV (2015)
-  Mller, H., Clough, P., Deselaers, T., Caputo, B.: ImageCLEF: Experimental Evaluation in Visual Information Retrieval. Springer (2012)
-  Nagaraja, V.K., Morariu, V.I., Davis, L.S.: Modeling context between objects for referring expression understanding. In: Proc. of ECCV (2016)
Nair, V., Hinton, G.E.: Rectified linear units improve restricted boltzmann machines. In: Proc. of ICML (2010)
-  Perez, E., Strub, F., De Vries, H., Dumoulin, V., Courville, A.: Film: Visual reasoning with a general conditioning layer. In: Proc. of AAAI (2018)
-  Rohrbach, A., Rohrbach, M., Hu, R., Darrell, T., Schiele, B.: Grounding of textual phrases in images by reconstruction. In: Proc. of ECCV (2016)
-  Rupprecht, C., Laina, I., Navab, N., Hager, G.D., Tombari, F.: Guide me: Interacting with deep networks. In: Proc. of CVPR (2018)
-  Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M., et al.: Imagenet large scale visual recognition challenge. International Journal of Computer Vision 115(3), 211–252 (2015)
-  Strub, F., De Vries, H., Mary, J., Piot, B., Courville, A., Pietquin, O.: End-to-end optimization of goal-driven and visually grounded dialogue systems harm de vries. In: Proc. of IJCAI (2017)
-  Sukhbaatar, S., Weston, J., Fergus, R., et al.: End-to-end memory networks. In: Proc. of NIPS (2015)
-  de Vries, H., Strub, F., Mary, J., Larochelle, H., Pietquin, O., Courville, A.C.: Modulating early visual processing by language. In: Proc. of NIPS (2017)
-  Weston, J., Chopra, S., Bordes, A.: Memory networks. arXiv preprint arXiv:1410.3916 (2014)
-  Xiong, C., Merity, S., Socher, R.: Dynamic memory networks for visual and textual question answering. In: Proc. of ICML (2016)
-  Xu, H., Saenko, K.: Ask, attend and answer: Exploring question-guided spatial attention for visual question answering. In: Proc. of ECCV (2016)
-  Xu, K., Ba, J., Kiros, R., Cho, K., Courville, A., Salakhudinov, R., Zemel, R., Bengio, Y.: Show, attend and tell: Neural image caption generation with visual attention. In: Proc. of ICML (2015)
-  Yang, L., Wang, Y., Xiong, X., Yang, J., Katsaggelos, A.K.: Efficient video object segmentation via network modulation. In: Proc. of CVPR (2018)
-  Yu, L., Lin, Z., Shen, X., Yang, J., Lu, X., Bansal, M., Berg, T.L.: Mattnet: Modular attention network for referring expression comprehension. In: Proc. of CVPR (2018)
-  Yu, L., Poirson, P., Yang, S., Berg, A.C., Berg, T.L.: Modeling context in referring expressions. In: Proc. of ECCV (2016)
-  Yu, L., Tan, H., Bansal, M., Berg, T.L.: A joint speakerlistener-reinforcer model for referring expressions. In: Proc. of CVPR (2016)
-  Zhu, Y., Zhang, S., Metaxas, D.: Reasoning about fine-grained attribute phrases using reference games. In: Visually-Grounded Interaction and Language Workshop (NIPS) (2017)
-  Zhuang, B., Wu, Q., Shen, C., Reid, I.D., van den Hengel, A.: Parallel attention: A unified framework for visual object discovery through dialogs and queries. Proc. of CVPR (2018)
|Multi-hop FiLM +(img)|
Oracle (Without Category Label)
|Oracle Model||Quest.||Dial.||Spat.||Image||Crop||Test Error|
|Multi-hop FiLM (+img)||✗||✓||✓||✓||✓||18.4%|
Guesser (Without Category Label)
|Multi-hop FiLM (+img)||34.3%||40.1%||33.2%|
Guesser (Pointing Task)
|Guesser Model||IoU 0.3||IoU 0.5||IoU 0.7|
|Multi-hop FiLM (+img)||71.9%||84.0%||93.6%|
For existing tasks on the GuessWhat?! dataset, the Guesser selects its predicted target object from among a provided list of possible answers. A more natural task would be for the Guesser to directly point out the object, much as a human might. Thus, we introduce a pointing task as a new benchmark for GuessWhat?!. The specific task is to locate the intended object based on a series of questions and answers; however, instead of selecting the object from a list, the Guesser must output a bounding box around the object of its guess, making the task more challenging. This task also does not include important side information, namely object category and (x,y)-position , making the object retrieval more difficult than the originally introduced Guesser task as well. The bounding box is defined more specifically as the 4-tuple (, , width, height), where is the coordinate of the top left corner of the box within the original image , given an input dialogue.
We assess bounding box accuracy using the Intersection Over Union (IoU) metric: the area of the intersection of predicted and ground truth bounding boxes, divided by the area of their union. Prior work [10, 12], generally considers an object found if IoU exceeds 0.5.
We report model error in Table 7. Interestingly, the baseline obtains 92.0% error while Multi-hop FiLM obtains 84.0% error. As previously mentioned, re-injecting visual features into the Multi-hop FiLM Generator’s context cell is beneficial. The error rates are relatively high but still in line with those of similar pointing tasks such as SCRC [16, 17] (around 90%) on ReferIt.