arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.08037cs.CL

Understanding Convolutional Neural Networks for Text Classification

Bar Ilan Univesity(巴伊兰大学);IBM Research(IBM研究院);Intuit(Intuit公司);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)

Alon Jacovi, Oren Sar Shalom, Yoav Goldberg

英文摘要:

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). Code implementation is available online at github.com/sayaendo/interpreting-cnn-for-text.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑