Abstract
We present an analysis into the inner workings of Convolutional Neural Networks (CNNs) for processing text. CNNs used for computer vision can be interpreted by projecting filters into image space, but for discrete sequence inputs CNNs remain a mystery. We aim to understand the method by which the networks process and classify text. We examine common hypotheses to this problem: that filters, accompanied by global max-pooling, serve as ngram detectors. We show that filters may capture several different semantic classes of ngrams by using different activation patterns, and that global max-pooling induces behavior which separates important ngrams from the rest. Finally, we show practical use cases derived from our findings in the form of model interpretability (explaining a trained model by deriving a concrete identity for each filter, bridging the gap between visualization tools in vision tasks and NLP) and prediction interpretability (explaining predictions).
Original language | English |
---|---|
Title of host publication | EMNLP 2018 - 2018 EMNLP Workshop BlackboxNLP |
Subtitle of host publication | Analyzing and Interpreting Neural Networks for NLP, Proceedings of the 1st Workshop |
Publisher | Association for Computational Linguistics (ACL) |
Pages | 56-65 |
Number of pages | 10 |
ISBN (Electronic) | 9781948087711 |
State | Published - 2018 |
Event | 1st Workshop on BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, co-located with the 2018 Conference on Empirical Methods in Natural Language Processing, EMNLP 2018 - Brussels, Belgium Duration: 1 Nov 2018 → … |
Publication series
Name | EMNLP 2018 - 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, Proceedings of the 1st Workshop |
---|
Conference
Conference | 1st Workshop on BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, co-located with the 2018 Conference on Empirical Methods in Natural Language Processing, EMNLP 2018 |
---|---|
Country/Territory | Belgium |
City | Brussels |
Period | 1/11/18 → … |
Bibliographical note
Publisher Copyright:© 2018 Association for Computational Linguistics