Many vision and language models suffer from poor visual grounding - oftenfalling back on easy-to-learn language priors rather than basing theirdecisions on visual concepts in the image. In this work, we propose a genericapproach called Human Importance-aware Network Tuning (HINT) that effectivelyleverages human demonstrations to improve visual grounding. HINT encouragesdeep networks to be sensitive to the same input regions as humans. Our approachoptimizes the alignment between human attention maps and gradient-based networkimportances - ensuring that models learn not just to look at but rather rely onvisual concepts that humans found relevant for a task when making predictions.We apply HINT to Visual Question Answering and Image Captioning tasks,outperforming top approaches on splits that penalize over-reliance on languagepriors (VQA-CP and robust captioning) using human attention demonstrations forjust 6% of the training data.
Quick Read (beta)
Taking a HINT: Leveraging Explanations to Make
Vision and Language Models More Grounded
Many vision and language models suffer from poor visual grounding – often falling back on easy-to-learn language priors rather than basing their decisions on visual concepts in the image. In this work, we propose a generic approach called Human Importance-aware Network Tuning (HINT) that effectively leverages human demonstrations to improve visual grounding. HINT encourages deep networks to be sensitive to the same input regions as humans. Our approach optimizes the alignment between human attention maps and gradient-based network importances – ensuring that models learn not just to look at but rather rely on visual concepts that humans found relevant for a task when making predictions. We apply HINT to Visual Question Answering and Image Captioning tasks, outperforming top approaches on splits that penalize over-reliance on language priors (VQA-CP and robust captioning) using human attention demonstrations for just 6% of the training data.
Many popular and well-performing models for multi-modal, vision-and-language tasks exhibit poor visual grounding – failing to appropriately associate words or phrases with the image regions they denote and relying instead on superficial linguistic correlations [agrawal2018don, vqa-ba, YinYang, goyal2016making, johnson2016clevr]. For example, answering the question ‘What color are the bananas?’ with yellow regardless of their ripeness evident in the image. When challenged with datasets that penalize reliance on these sort of biases [agrawal2018don, goyal2016making], state-of-the-art models demonstrate significant drops in performance despite there being no change to the set of visual and linguistic concepts about which models must reason.
In addition to these diagnostic datasets, another powerful class of tools for observing this shortcoming has been gradient-based explanation techniques [sundararajan2017axiomatic, zhang2016top, springenberg2014striving, gradcam_ijcv] which allow researchers to examine which portions of the input models rely on when making decisions. Application of these techniques has shown that vision-and-language models often focus on seemingly irrelevant image regions that differ significantly from where human subjects fixate when asked to perform the same tasks [vqahat, gradcam_ijcv] – e.g. focusing on a produce stand rather than the bananas in our example.
While somewhat dissatisfying, these findings are not entirely surprising – after all, standard training protocols do not provide any guidance for visual grounding. Instead, models are trained on input-output pairs and must resolve grounding from co-occurrences – a challenging task, especially in the presence of more direct and easier to learn correlations in language. Consider our previous example question, the words ‘color’, ‘banana’, and ‘yellow’ are given as discrete tokens that will trivially match in every occurrence when these underlying concepts are referenced. In contrast, actually grounding this question requires dealing with all visual variations of bananas and learning the common feature of things described as ‘yellow’. To address this, we explore if giving a small hint in the form of human attention demonstrations can help improve grounding and reliability.
For the dominant paradigm of vision-and-language models that compute an explicit question-guided attention over image regions [shih_2016, xiong2016dynamic, kazemi_2017, yang2016stacked, lu2018Neural, anderson_2017], a seemingly straight-forward solution is to provide explicit grounding supervision – training models to attend to the appropriate image regions. While prior work [qiao2018exploring, liu2017attention] has shown this approach results in more human-like attention maps, our experiments show it to be ineffective at reducing language bias. Crucially, attention mechanisms are bottom-up processes that feed final classification models such that even when attending to appropriate regions, models can ignore visual content in favor of language bias. In response, we introduce a generic, second-order approach that instead aligns gradient-based explanations with human attention.
Our approach, which we call Human Importance-aware Network Tuning (HINT), enforces a ranking loss between human annotations of input importance and gradient-based explanations produced by a deep network – updating model parameters via a gradient-of-gradient step. Importantly, this constrains models to not only look at the correct regions but to also be sensitive to the content present there when making predictions. While we experiment with HINT in the context of vision-and-language problems, the approach itself is general and can be applied to focus model decisions on specific inputs in any context.
We apply HINT to two tasks – Visual Question Answering (VQA) [antol2015vqa] and image captioning [LinECCV14coco] – and find our approach significantly improves visual grounding. With human importance supervision for only 6% of the training set, our HINT’ed model improves the state-of-the-art by 8 percentage points on the challenging dataset VQA Under Changing Priors (VQA-CP) [agrawal2018don], which is designed to test visual grounding. In both VQA and Image Captioning, we see significantly improved correlations between human attention and visual explanations for HINT trained models, showing that models learn to make decisions using similar evidence as humans (even on new images). We perform human studies which show that humans perceive models trained using HINT to be more reasonable and trustworthy.
Contributions. To summarize our contributions, we
introduce Human Importance-aware Network Tuning (HINT), a general approach for constraining the sensitivity of deep networks to specific input regions and demonstrate it results in significantly improved visual grounding for two vision and language tasks,
set a new state-of-the-art on the bias-sensitive VQA Under Changing Priors (VQA-CP) dataset [agrawal2018don], and
conduct studies showing that humans find HINTed models more trustworthy than standard models.
2 Related Work
Model Interpretability. There has been significant recent interest in building machine learning models that are transparent and interpretable in their decision making process. For deep networks, several works propose explanations based on internal states of the network [zeiler_eccv14, GoyalMPB16, Zhou2014ObjectDE, gradcam_ijcv]. Most related to our work is the approach of Selvaraju et al. [gradcam_ijcv] which computes neuron importance as part of a visual explanation. In this work, we enforce that these importance scores align with importances provided by domain experts.
Vision and Language Tasks. Image Captioning [Lin_2014] and Visual Question Answering (VQA) [antol2015vqa] have emerged as two of the most widely studied vision-and-language problems. The image captioning task requires generating natural language descriptions of image contents and the VQA task requires answering free-from questions about images. In both, models must learn to associate image content with natural free-form text. Consequentially, attention based models that explicitly reason about image-text correspondences have become the dominant paradigm [shih_2016, xiong2016dynamic, kazemi_2017, yang2016stacked, lu2018Neural, anderson_2017]; however, there is growing evidence that even these attentional models still latch onto language biases [agrawal2018don, YinYang, anne2018women].
Recently, Agrawal et al. [agrawal2018don] introduced a novel, bias-sensitive dataset split for the VQA task. This split, called VQA Under Changing Priors (VQA-CP), is constructed such that the answer distributions differ significantly between training and test. As such, models that memorize language associations in training instead of actually grounding their answers in image content will perform poorly on the test set. Likewise Lu et al. [lu2018Neural] introduce a robust captioning split of the COCO captioning dataset [Lin_2014] in which the distribution of co-occurring objects differs significantly between training and test. We use these dataset splits to evaluate the impact of our method on visual grounding.
Debiasing Vision and Language Models. A number of recent works have aimed to reduce the effect of language bias in vision and language models.
Hendricks et al. [anne2018women] study the generation of gender-specific words in image captioning – showing that models nearly always associated male gendered words to people performing extreme sports like snowboarding regardless of the image content. Their presented Equalizer approach encourages models to adjust their confidence depending on the evidence present – confident when gender evidence is visible and unsure when it is occluded by ground-truth segmentation masks. Experiments on a set of captions containing people show this approach reduces gender bias.
For VQA, Agrawal et al. [agrawal2018don] developed a Grounded VQA model (GVQA) that disentangles the vision and language components – consisting of separate visual concept and answer cluster classifiers. This approach uses a question’s type (e.g. “What color …”) to determine the space of possible answers and the question target (e.g. “banana”) to detect visual attributes in the scene that are then filtered by the possible answer set. While effective, this requires multi-stage training and is difficult to extend to new models. Ramakrishnan et al. [advregvqa_nips_2018] introduce an adversarial model agnostic regularization technique to reduce bias in VQA models – pitting the model against a question-only adversary.
Human Attention for VQA. Das et al. [vqahat] collected human attention maps for a subset of the VQA dataset [antol2015vqa]. Given a question and a blurry image, humans were asked to interactively deblur regions in the image until they could confidently answer. In this work, we utilize these maps, enforcing the gradient-based visual explanations of model decisions to closely match the human attention.
Supervising model attention. Liu et al. [liu2017attention] and Qiao et al. [qiao2018exploring] apply human attention supervision to attention maps produced by the model for image captioning and VQA, respectively. We experiment with a similar approach but find that the improved attention correlation does not translate to reduced reliance on language bias – even with appropriate model attention, the remaining network layers can still disregard the visual signal in the presence of strong biases. We also show how gradient explanations are more faithful to model decisions by directly linking model decisions input regions, so that aligning these importances ensures the model is basing its decision on human-attended regions.
Aligning gradient-based importances. Selvaraju et al. [niwt] proposed an approach to learn a mapping between gradient-based importances of individual neurons within a deep network (from [gradcam_ijcv]) and class-specific domain knowledge from humans in order to learn classifiers for novel classes. In contrast, we align gradient-based importances to human attention maps to improve network grounding.
While our approach is general-purpose and model agnostic, in this work we take the recent Bottom-up Top-down architecture [anderson_2017] as our base model. A number of works [xu2015show, fang2015captions, you2016image, wu2016encode, lu2017knowing, yang2016stacked, Lu2016] use Top-down attention mechanisms to help fine-grained and multi-stage reasoning, which is shown to be very important for vision and language tasks. Anderson et al. [anderson_2017] propose a variant of the traditional attention mechanism, where instead of attending over convolutional features they show that attending over objects and other salient image regions gives significant improvements in VQA and captioning performance. We briefly describe this architecture below, see [anderson_2017] for full details.
Bottom-Up Top-Down Attention for VQA. As shown in left half of Fig. 2, given an image, the Bottom-up Top-down (UpDown) attention model takes as input up to image features, each encoding a salient image region. These regions and their features are proposals extracted from Faster-RCNN [girshick2015fast]. The question is encoded using a GRU [cho2014learning] and a soft-attention over each of the proposal features is computed using the question embedding. The final pooled attention feature is combined with the question feature using a few fully-connected layers which predict the answer.
Bottom-Up Top-Down Attention for Image Captioning. The image captioning model consists of two Long Short-Term Memory (LSTM) networks – an attention LSTM and a language LSTM. The first LSTM layer is a top-down visual attention model whose input at each time step consists of the previous hidden state of the language LSTM, concatenated with the mean-pooled bottom-up proposal features (similar to above) and an encoding of the previously generated word. The output of the attention LSTM does a soft attention over the proposal features. The second LSTM is a language generation LSTM that takes as input the attended features concatenated with the output of the attention LSTM. The language LSTM provides a distribution over the vocabulary of words for the next time step.
4 Human Importance-aware Network Tuning
In this section, we describe our approach for training deep networks to rely on the same regions as humans which we call Human Importance-aware Network Tuning (HINT). In summary, HINT estimates the importance of input regions through gradient-based explanations and tunes the network parameters so as to align this with the regions deemed important by humans. We use the generic term ‘prediction’ to refer to both answers in the case of VQA and the words generated at each time step in image captioning.
4.1 Human Importance
In this step, we align the expert knowledge obtained from humans attention maps into a form corresponding to the network inputs. The Bottom-up Top-down model [anderson_2017] takes in as input region proposals. For a given instance, we compute an importance score for each of the proposals based on normalized human attention map energy inside the proposal box relative to the normalized energy outside the box.
More concretely, consider a human importance map that indicates the spatial regions of support for an output 11 1 For VQA, these maps will vary across questions for a given image. – a high value indicates high support for at location (i,j). Given a proposal region with area , we can write the normalized importance inside and outside for decision as
respectively. We compute the overall importance score for proposal for decision as:
Human attention for VQA and captioning. For VQA, we use the human attention maps collected by Das et al. [vqahat] for a subset of the VQA [antol2015vqa] dataset. HAT maps are available for a total of 40554 image-question pairs – or approximately only 6% of the VQA dataset. While human attention maps do not exist for image captioning, COCO dataset [LinECCV14coco] has segmentation annotations for 80 everyday occurring categories. We use a word-to-object mapping that links fine-grained labels like [“child”, “man”, “woman”, …] to object categories like person similar to [lu2018Neural]. We map a total of 830 visual words existing in COCO captions to 80 COCO categories. We then use the segmentation annotations for the 80 categories as human attention for this subset of matching words. To be consistent with the VQA setup, we only use 6% of the segmentation annotations.
4.2 Network Importance
We define Network Importance as the importance that the given trained network places on spatial regions of the input when making a particular prediction. Selvaraju et al. [gradcam_ijcv] proposed an approach to compute the importance of last convolutional layer’s neurons. In their work, they focus on the last convolutional layer neurons as they serve as the best compromise between high level semantics and detailed spatial information. Since proposals usually look at objects and salient/semantic regions of interest while providing a good spatial resolution, we extend [gradcam_ijcv] to compute importance over proposals. In order to obtain the importance of a proposal for ground-truth decision, , we one-hot encode the score for the ground-truth output (answer in VQA and the visual word in case of captioning) and compute its gradients w.r.t. proposal features as,
Note that we compute the importance for the ground-truth decision, and not predicted. Human attention for incorrect decisions are not available and are conceptually ill-posed because it is difficult to define what correct ‘evidence’ for an incorrect prediction would be.
4.3 Human-Network Importance Alignment
At this stage, we now have two sets of importance scores – one computed from the human attention and another from network importance – that we would like to align. Each set of scores is calibrated within itself; however, absolute values are not comparable between the two as human importance lies in while network importance is unbounded. Consequentially, we focus on the relative rankings of the proposals, applying a ranking loss – specifically, a variant of Weighted Approximate Rank Pairwise (WARP) loss.
Ranking loss. At a high level, our ranking loss searches all possible pairs of proposals and finds those pairs where the pair-wise ranking based on network importance disagrees with the ranking from human importance. Let denote the set of all such misranked pairs. For each pair in , the loss is updated with the absolute difference between the network importance score for the proposals pair.
where and are the proposals whose order based on neuron importance does not align with human importance and indicates that proposal is more important compared to according to human importance.
Importance of task loss. In order to retain performance at the base task, it is necessary to include the original task loss – cross-entropy for VQA and negative log-likelihood in case of image captioning. To trade-off between the two, we introduce a multiplier such that the final HINT loss becomes,
The first term encourages the network to base predictions on the correct regions and the second term encourages it to actually make the right prediction.
Note that network importances are gradients of the score with respect to proposal embeddings. Thus they are a function of all the intermediate parameters of the network ranging from the model attention layer weights to the final fully-connected layer weights. Hence an update through an optimization algorithm (gradient-descent or Adam) with the given loss in (4) requires computation of second-order gradients, and would affect all the network parameters. We use PyTorch [paszke2017automatic] which has this functionality.
5 Experiments and Analysis
In this section we describe the experimental evaluation of our approach on VQA and Image Captioning.
VQA. For VQA, we evaluate on the standard VQA split and the VQA-CP [agrawal2018don] split. Recall from Section 2 that VQA-CP is a restructuring of VQAv2 [goyal2016making] that is designed such that the answer distribution in the training set differs significantly from that of the test set. For example, while the most popular answer in train for “What sport …” questions might be “tennis”, in test it might be “volleyball”. Without proper visual grounding, models trained on this dataset will generalize poorly to the test distribution. In fact, [agrawal2018don] and [advregvqa_nips_2018] report significant performance drops for state-of-the-art VQA models on this challenging, language-bias sensitive split. For our experiments, we pretrain our Bottom-Up Top-Down model on respective training splits before fine-tuning with the HINT loss. Recall that our approach includes the task loss; We use for our experiments.
|Model||VQA-CP test||VQAv2 val|
|UpDn + Attn. Align||39.37||43.02||11.89||45.00||63.24||80.99||42.55||55.22|
|UpDn + AdvReg [advregvqa_nips_2018]||41.17||65.49||15.48||35.48||62.75||79.84||42.35||55.16|
|UpDn + HINT (ours)||46.73||67.27||10.61||45.88||63.38||81.18||42.99||55.56|
We compare our approach against strong baselines and existing approaches, specifically:
Base Model (UpDn) We compare to the base Bottom-up Top-down model without our HINT loss.
Attention Alignment (Attn. Align.) We replace gradient supervision with attention supervision keeping everything else the same. The Bottom-up Top-down model uses soft attention over object proposals – essentially predicting a set of attention scores for object proposals based on their relevancy to the question. These attention scores are much like the network importances we compute in HINT; however, they are functions only of the network prior to attention prediction. We apply the HINT ranking loss between these attention weights and human importances as computed in Equation (1).
Grounded VQA (GVQA). As discussed in Section 2, [agrawal2018don] introduced a grounded VQA model that explicitly disentangles vision and language components and was developed alongside the VQA-CP dataset.
Adversarial Regularization (AdvReg). [advregvqa_nips_2018] introduced an adversarial regularizer to reduce the effect of language-bias in VQA by explicitly modifying question representations to fool a question-only adversary model.
Image Captioning. For captioning, we evaluate on the standard ‘Karpathy’ split and the robust captioning split introduced by Lu et al. in [lu2018Neural]. The robust split has varying distribution of co-occurring objects between train and test. We pretrain our Bottom-up Top-down captioning model on the respective training splits and apply our approach, HINT. Note that the HINT loss is applied only for the time steps corresponding to the 830 visual words in the caption that we obtain in Section 4.1.
5.1 HINT for Visual Question Answering
Table 1 shows results for our models and prior work on VQA-CP test and VQAv2 val. We summarize key results:
HINT reduces language-bias. For VQA-CP, our HINTed UpDown model significantly improves over its base architecture alone by 7 percentage point gain in overall accuracy. Further, it outperforms existing approaches based on the same UpDn architecture (41.17 for AdvReg vs 46.73 for HINT), setting a new state-of-the-art for this problem. We do note that our approach uses additional supervision in the form of human attention maps for 6% of training images.
HINT improves grounding without reducing standard VQA performance. Unlike previous approaches for language-bias reduction which cite trade-offs in performance between the VQA and VQA-CP splits [advregvqa_nips_2018, agrawal2018don], we find our HINTed UpDn model actually improves on standard VQA – making HINT the first ever approach to show simultaneous improvement on both the standard and compositional splits.
Attn. Align is ineffective compared to HINT. A surprising (to us at least) finding and motivating observation of this work is that directly supervising model attention (as in Attn. Align) is ineffective at reducing language-bias and improving visual grounding as measured by VQA-CP, begging the question – why does our gradient supervision succeed where attention supervision fails?
We argue this results from gradient-based explanations being 1) a function of all network parameters unlike attention alignment and 2) more faithful to model decisions than model attention. As we’ve discussed previously, attention is a bottom-up computation and supervising it cannot directly affect later network layers, whereas our HINT approach does. To assess faithfulness, we run occlusion studies similar to those in [gradcam_ijcv, zeiler_eccv14]. We measure the difference in model scores for the predicted answer when different proposal features for the image are masked and forward propagated, taking this delta as an importance score for each proposal. We find that rank correlation between model attention and occlusion-based importance is only , compared to for gradient-based importance – demonstrating our claim that model attention only loosely relates to how the model actually arrives at its decision. As such, attention alignment simply requires the model to predict human-like attention, not necessarily to care about them when making decisions. On the other hand, HINT aligns gradient-based importance with respect to model decisions, ensuring that human specified regions are actually used by the network – resulting in a model that is right for the right reasons.
Varying the amount of human attention supervision.
The plot to the right shows performance for different amounts of Human Attention maps for VQA-CP. Note that the x-axis goes from using no HINT supervision to using all the Human attention maps during training, which amounts to of the VQAv2 data. Note that with human attention supervision for just 1.5% of the VQA dataset, our approach achieves a 5 % improvement in performance.
Qualitative examples. Fig. 6 shows qualitative examples showing the effect of applying HINT to the Bottom-up Top-down VQA model. Fig. 6 (b) shows an image and a question, ‘What color are the signs?’, the base model answers “Red” which is partially correct, but it fails to ground the answer correctly. The HINTed model not only answers “Red and White” correctly but also looks at the red stop sign and the white street sign.
5.2 HINT for Image Captioning
Our implementation of the Bottom-up Top-down captioning model in Pytorch [paszke2017automatic] achieves a CIDEr [DBLP:journals/corr/VedantamZP14a] score of 1.06 on the standard split and 0.90 on the robust split. Upon applying HINT to the base model trained on the robust split, we obtain a CIDEr score of 0.92, an improvement of 0.02 over the base model. For the model trained on the standard split, performance drops by 0.02 in CIDEr score (1.04 compared to 1.06). As we show in the following sections, the lack of improvement in score does not imply a lack of change – we find the model shows significant improvements at grounding, which we evaluate in Section 6. Note that our setup for captioning does not require task-specific human attention, and instead allows us to directly leverage existing annotations which were collected for a different task (image segmentation).
Qualitative examples. Fig. 7 shows qualitative examples that indicate significant improvements in grounding performance of HINTed models. For example Fig. 7 (a) shows how a model trained with HINT is able to simultaneously improve grounding for the 3 visual words present in the ground-truth caption. We see that HINT also helps with making models focus on individual object occurrences rather than using context, as shown in Fig. 7 (c, d, e, f).
6 Evaluating Grounding
In Sections 5.1 and 5.2 we evaluated the effect of HINT on the task performance, with generalization to robust dataset splits serving as an indirect evaluation of grounding. In this section we directly evaluate the grounding ability of models tuned with HINT.
6.1 Correlation with Human Attention
In order to evaluate the grounding ability of models before and after applying HINT, we compare the network importances for the ground-truth decision (as in Equation (2)) with the human attention as computed in Equation (1) for both the base model and the model fine-tuned with HINT. We then compute the rank correlation between the network importance scores and human importance scores for images from the VQA-CP and COCO robust test splits. We report Spearman’s rank correlation between explanations from the base model and the HINTed model.
VQA. For the model trained on VQA-v2, we find that the Grad-CAM based attention for base model obtains a Spearman’s rank correlation of -0.09 with human attention maps [vqahat]. Note that the range of rank-correlation is -1 to 1, so near 0 indicates no correlation. We find that the HINTed model obtains a correlation of 0.18.
Image Captioning. For the model trained on the COCO robust split, the Grad-CAM based attention for base model achieves a rank correlation of 0.008 with COCO segmentation maps for the visual words, and the model after HINTing achieves a correlation of 0.17.
This rank correlation measure matches the intent of the rank-based HINT loss, but this result shows that the visual grounding learned during training generalizes to new images and language contexts better than the baseline model.
7 Evaluating Trust
In the previous section we evaluate if HINTed models attend to the same regions as humans when forced into making predictions. Having established that, we turn to understanding whether this improved grounding translates to increased human trust in HINTed models. We focus this study on our image captioning models.
We conduct human studies to evaluate if based on individual prediction explanations from two models – the base model and one with improved grounding through HINT – humans find either of the models more trustworthy. In order to tease apart the effect of grounding from the accuracy of the models being visualized, we only visualize predictions corresponding to the ground-truth caption for both models.
For a given ground truth caption, we show study participants the network importance explanation for a ground truth visual word as well as the whole caption. Workers were then asked to rate the reasonableness of the models relative to each other on a 5-point Likert scale of clearly more/less reasonable (+/-), slightly more/less reasonable (+/-), and equally reasonable (). This interface is shown in Fig. 5. In order to eliminate any biases, the base and HINTed models were assigned to be ‘model1’ with equal probability.
In total, Amazon Mechanical Turk (AMT) workers participated in the study, producing 1000 responses (5 annotations corresponding to 200 image pairs). In 49.9 % of instances, participants preferred HINT compared to only 33.1 % for the base model. These results indicate that HINT helps models look at appropriate regions, and that this in turn makes the model more trustworthy.
8 Does HINT also improve model attention?
While HINT operates on answer gradient maps, we find it also improves feed-forward model attention. For VQA, we compute IoU of the top scoring proposal box with the human attention maps from Park et al. 2018. UpDn trained on VQA-CP obtained an IoU of 0.57 whereas after applying HINT we achieve an IoU of 0.63.
We conduct human studies (similar to Section 7) to evaluate trust based on model attention. We collected 10 responses each for 100 randomly sampled image-question pairs. 31% of respondents found HINTed VQA-CP model to be more trustworthy compared to 16.5% for the base model. This was not the primary objective of our approach but is a promising outcome for feed-forward attention!
We presented Human Importance-aware Network Tuning (HINT), a general framework for aligning network sensitivity to spatial input regions that humans deemed as being relevant to a task. We demonstrated this method’s effectiveness at improving visual grounding in vision and language tasks such as VQA and Image Captioning. We also show that better grounding not only improves the generalization capability of models to changing test distributions, but also improves the trust-worthiness of model.
Taking a broader view, the idea of regularizing network gradients to achieve desired computational properties (grounding in our case) may prove to be more widely applicable to problems outside of vision and language – enabling users to provide focused feedback to networks.
Acknowledgements. Georgia Tech’s effort was supported in part by NSF, AFRL, DARPA, ONR YIPs, Samsung GRO, ARO PECASE. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government, or any sponsor.
Appendix A Qualitative examples
In Fig. 6 we show examples applying HINT for the Bottom-up Top-down VQA model. The left column shows the input image along with the question and the ground-truth (GT) answer from the VQA-CP val split. In the middle column, for the base model we show the explanation visualization for the GT answer along with the model’s answer. Similarly we show the explanations and predicted answer for the HINTed models in the third column. We see that the HINTed model not only looks at more appropriate regions compared to the base models.
Fig. 6 (a) shows an image and a question,“Is the person screaming”. Not only does the base model answer “no” incorrectly, but it also cannot localize the right answer – looks just at the bear for “yes”. The HINTed model answers “yes” correctly and looks at both the bear and the face of the person. For the image 6 (b) with question “Does the building have a clock on it?”, the base model incorrectly answers no, whereas the HINTed model not only asnwers ‘yes’ correctly, it also localizes the clock on the building. The bottom row shows two examples where HINT helps with localizing the right answer, although the answers from both the models (base model and HINTed model) are incorrect.
In Fig. 7 we show qualitative examples showing the effect of applying HINT on the Top-down Bottom-up [anderson_2017] captioning model trained on the Robust split of the COCO dataset. The left column shows the input image along with the ground-truth caption from the COCO robust split. In the middle column, for the base model we show the explanation visualization for the visual word mentioned below. Similarly we show the explanations for the HINTed models in the third column. We see that the HINTed model looks at more appropriate regions when generating the mentioned visual word (below the visualization).
For example, for the input image in Fig. 7 (a) and (b), the base model only places a little importance on the face while generating the word ‘guy’, whereas the HINTed model correctly looks at the face of the person. Similarly when generating ‘ties’ the HINTed model looks at the whole tie region compared to the base model. Similarly for the images in (e) and (f), the HINTed model looks more correctly at the spoons for the visual word ‘spoon’ and sink, for the word ‘sink’.