Elamur Research⌕
☰
home / papers / 2018 / Did the Model Understand the Question?

Did the Model Understand the Question?

Paper · 2018 · Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan et al.

Summary

The paper asks whether high-accuracy question answering networks actually use the meaningful words in a question. The authors apply Integrated Gradients (IG) to pre-trained models for three tasks, using an empty question as the attribution baseline. The models are a visual QA network (Kazemi and Elqursh, 2017), Neural Programmer for questions over tables, and the reading comprehension model of Yu et al. (2018). The attributions show that these systems often give little weight to key terms such as nouns and adjectives. Instead, they lean on generic or content-free words, or on the context itself.

The authors use these weak spots to build targeted adversarial questions. They also propose an overstability test that tracks how accuracy changes as words are removed from questions. Their attacks sharply degrade the visual and table models, and attribution insights make the ADDSENT attacks of Jia and Liang (2017) more effective.

The work matters because test-set accuracy alone can hide models that are right for the wrong reasons. Attributions help expose this and can point toward better test data.

Key points

  • Adding meaningless prefixes to questions cuts accuracy sharply:
    • the visual QA model falls from 61.1% to 19%;
    • Neural Programmer falls from 33.5% to 3.3%.
  • The visual QA model keeps over half of its accuracy even when every question word except "color" is removed.
  • Neural Programmer's operation choices are driven more by function words than by content words.
    • Dropping the function words only lowers its accuracy to 28.5%.
    • On the perturbed tables of Pasupat and Liang (2016), its accuracy falls to 23%.
  • The authors analyzed 1000 ADDSENT cases, of which 508 fooled the model.
    • Attacks were more likely to fail when the added sentence omitted a highly attributed question noun or adjective: 63% failed in that group versus 40% otherwise.
  • Code for generating attributions and reproducing the results is released on GitHub (pramodkaushik/acl18_results).

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

Cite

Cite as Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan and Kedar Dhamdhere. 2018. Did the Model Understand the Question?. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/p18-1176

@inproceedings{mudrakarta2018did,
  title = {{Did the Model Understand the Question?}},
  author = {Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan and Kedar Dhamdhere},
  booktitle = {Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2018},
  doi = {10.18653/v1/p18-1176},
  url = {https://doi.org/10.18653/v1/p18-1176}
}

References

32 references, 13 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Aishwarya Agrawal, Dhruv Batra, and Devi Parikh. 2016. Analyzing the behavior of visual question answering models. arXiv preprint arXiv:1606.07356.
  2. Aishwarya Agrawal, Jiasen Lu, Stanislaw Antol, Margaret Mitchell, C Lawrence Zitnick, Dhruv Batra, and Devi Parikh. 2015. Vqa: Visual question answering. arXiv preprint arXiv:1505.00468. find
  3. David Baehrens, Timon Schroeter, Stefan Harmeling, Motoaki Kawanabe, Katja Hansen, and Klaus-Robert Müller. 2010. How to explain individual classification decisions. Journal of Machine Learning Research, pages 1803–1831. find
  4. Hedi Ben-younes, Rémi Cadene, Matthieu Cord, and Nicolas Thome. 2017. Mutan: Multimodal tucker fusion for visual question answering. arXiv preprint arXiv:1705.06676. — [arXiv:1705.06676](https://arxiv.org/abs/1705.06676) find
  5. Alexander Binder, Grégoire Montavon, Sebastian Bach, Klaus-Robert Müller, and Wojciech Samek. 2016. Layer-wise relevance propagation for neural networks with local renormalization layers. CoRR. find
  6. Ruth C Fong and Andrea Vedaldi. 2017. Interpretable explanations of black boxes by meaningful perturbation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3429–3437. find
  7. Akira Fukui, Dong Huk Park, Daylen Yang, Anna Rohrbach, Trevor Darrell, and Marcus Rohrbach. 2016. Multimodal compact bilinear pooling for visual question answering and visual grounding. arXiv preprint arXiv:1606.01847.
  8. Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. 2015. Explaining and harnessing adversarial examples. In International Conference on Learning Representations.
  9. Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. 2016. Making the v in vqa matter: Elevating the role of image understanding in visual question answering. arXiv preprint arXiv:1612.00837.
  10. Jia-Hong Huang, Cuong Duc Dao, Modar Alfadly, and Bernard Ghanem. 2017. A novel framework for robustness analysis of visual qa models. arXiv preprint arXiv:1711.06232. — [arXiv:1711.06232](https://arxiv.org/abs/1711.06232) find
  11. Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017.
  12. Kushal Kafle and Christopher Kanan. 2017. An analysis of visual question answering algorithms. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 1983–1991. IEEE. find
  13. Vahid Kazemi and Ali Elqursh. 2017. Show, ask, attend, and answer: A strong baseline for visual question answering. arXiv preprint arXiv:1704.03162. — [arXiv:1704.03162](https://arxiv.org/abs/1704.03162) find
  14. Jayant Krishnamurthy, Pradeep Dasigi, and Matt Gardner. 2017. Neural semantic parsing with type constraints for semi-structured tables. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 1516–1526. find
  15. Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. 2014. Microsoft coco: Common objects in context. In European conference on computer vision, pages 740–755. Springer.
  16. Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan, and Kedar Dhamdhere. 2018. It was the training data pruning too! arXiv preprint arXiv:1803.04579. — [arXiv:1803.04579](https://arxiv.org/abs/1803.04579) find
  17. Arvind Neelakantan, Quoc V. Le, Martı́n Abadi, Andrew McCallum, and Dario Amodei. 2017. Learning a natural language interface with neural programmer. find
  18. Arvind Neelakantan, Quoc V Le, and Ilya Sutskever. 2016. Neural programmer: Inducing latent programs with gradient descent. In International Conference on Learning Representations ICLR. find
  19. Panupong Pasupat and Percy Liang. 2015. Compositional semantic parsing on semi-structured tables. In In Proceedings of the Annual Meeting of the Association for Computational Linguistics.
  20. Panupong Pasupat and Percy Liang. 2016. Inferring logical forms from denotations. arXiv preprint arXiv:1606.06900. find
  21. Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special Interest Group…
  22. Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100, 000+ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4, 2016, pages 2383–2392.
  23. Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016a. Nothing else matters: model-agnostic explanations by identifying prediction invariance. arXiv preprint arXiv:1611.05817. — [arXiv:1611.05817](https://arxiv.org/abs/1611.05817) find
  24. Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016b. Why should i trust you?: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1135–1144. ACM.
  25. Avanti Shrikumar, Peyton Greenside, Anna Shcherbina, and Anshul Kundaje. 2016. Not just a black box: Learning important features through propagating activation differences. CoRR.
  26. Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. 2013. Deep inside convolutional networks: Visualising image classification models and saliency maps. CoRR.
  27. Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin A. Riedmiller. 2014. Striving for simplicity: The all convolutional net. CoRR. find
  28. Mukund Sundararajan, Ankur Taly, and Qiqi Yan. 2017. Axiomatic attribution for deep networks. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pages 3319–3328. find
  29. Damien Teney, Peter Anderson, Xiaodong He, and Anton van den Hengel. 2017. Tips and tricks for visual question answering: Learnings from the 2017 challenge. arXiv preprint arXiv:1708.02711. find
  30. Adams Wei Yu, David Dohan, Quoc Le, Thang Luong, Rui Zhao, and Kai Chen. 2018. Fast and accurate reading comprehension by combining self-attention and convolution. In International Conference on Learning Representations. find
  31. Peng Zhang, Yash Goyal, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. 2016. Yin and yang: Balancing and answering binary visual questions. In Computer Vision and Pattern Recognition (CVPR), 2016 IEEE Conference on, pages 5014–5022. IEEE. find
  32. Yuke Zhu, Oliver Groth, Michael Bernstein, and Li Fei-Fei. 2016. Visual7w: Grounded question answering in images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4995–5004.

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/mudrakarta-2018-did-model-understand-question/