Human Attention Maps for Text Classification: Do Humans and Neural Networks Focus on the Same Words?
Motivated by human attention, computational attention mechanisms have been designed to help neural networks adjust their focus on specific parts of the input data. While attention mechanisms are claimed to achieve interpretability, little is known about the actual relationships between machine and human attention. In this work, we conduct the first quantitative assessment of human versus computational attention mechanisms for the text classification task. To achieve this, we design and conduct a large-scale crowd-sourcing study to collect human attention maps that encode the parts of a text that humans focus on when conducting text classification. Based on this new resource of human attention dataset for text classification, YELP-HAT, collected on the publicly available YELP dataset, we perform a quantitative comparative analysis of machine attention maps created by deep learning models and human attention maps. Our analysis offers insights into the relationships between human versus machine attention maps along three dimensions: overlap in word selections, distribution over lexical categories, and context-dependency of sentiment polarity. Our findings open promising future research opportunities ranging from supervised attention to the design of human-centric attention-based explanations.
Code (0)
등록된 구현이 없습니다.
Tasks
General Classificationtext-classificationText ClassificationSimilar Papers 제목 키워드 기반
Do humans and Convolutional Neural Networks attend to similar areas during scene classification: Effects of task and image type
Deep Learning models like Convolutional Neural Networks (CNN) are powerful image classifiers, but what factors determine whether they attend to similar image areas as humans do? While previous studies have focused on tec…
Explainable artificial intelligenceScene ClassificationA Study of the Plausibility of Attention between RNN Encoders in Natural Language Inference
Attention maps in neural models for NLP are appealing to explain the decision made by a model, hopefully emphasizing words that justify the decision. While many empirical studies hint that attention maps can provide such…
Natural Language InferenceSentencetext-classificationText ClassificationM3d-CAM: A PyTorch library to generate 3D data attention maps for medical deep learning
M3d-CAM is an easy to use library for generating attention maps of CNN-based PyTorch models improving the interpretability of model predictions for humans. The attention maps can be generated with multiple methods like G…
Object-ABN: Learning to Generate Sharp Attention Maps for Action Recognition
In this paper we propose an extension of the Attention Branch Network (ABN) by using instance segmentation for generating sharper attention maps for action recognition. Methods for visual explanation such as Grad-CAM usu…
Action RecognitionInstance SegmentationSegmentationSemantic SegmentationVisual Attention driven by Convolutional Features
The understanding of where humans look in a scene is a problem of great interest in visual perception and computer vision. When eye-tracking devices are not a viable option, models of human attention can be used to predi…
Saliency Prediction