Discovery of Natural Language Concepts in Individual Units of CNNs

Seil Na, Yo Joong Choe, Dong-Hyun Lee, Gunhee Kim
2/18/2019
cs.CLcs.LGstat.ML

Official code: seilna/CNN-Units-in-NLP (26 stars, Python, MIT, last commit 2019-03-09).

Abstract

Although deep convolutional networks have achieved improved performance in many natural language tasks, they have been treated as black boxes because they are difficult to interpret. Especially, little is known about how they represent language in their intermediate layers.

Show full abstract

In an attempt to understand the representations of deep convolutional networks trained on language tasks, we show that individual units are selectively responsive to specific morphemes, words, and phrases, rather than responding to arbitrary and uninterpretable patterns. In order to quantitatively analyze such an intriguing phenomenon, we propose a concept alignment method based on how units respond to the replicated text. We conduct analyses with different architectures on multiple datasets for classification and translation tasks and provide new insights into how deep models understand natural language.

View on arXivView PDF

Code Implementations(1)

MIT

:scissors: Repository for our ICLR 2019 paper: Discovery of Natural Language Concepts in Individual Units of CNNs

261Python, ShellFeb 23, 20197 years agoMIT
cnniclr2019interpretable-deep-learningnlp

Similar Papers

Cite this paper

@article{na2019discovery,
  title  = {Discovery of Natural Language Concepts in Individual Units of CNNs},
  author = {Seil Na and Yo Joong Choe and Dong-Hyun Lee and Gunhee Kim},
  year   = {2019},
  eprint = {1902.07249},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.07249}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1902.07249.svg)](https://codeofpaper.com/paper/1902.07249)

Discussion