paper-with-me

홈 › Papers

Explainable Natural Language Processing with Matrix Product States

2021-12-16 · Jirawat Tangpanitanon, Chanatip Mangkang, Pradeep Bhadola, Yuichiro Minato, Dimitris G. Angelakis, Thiparat Chotibut

Despite empirical successes of recurrent neural networks (RNNs) in natural language processing (NLP), theoretical understanding of RNNs is still limited due to intrinsically complex non-linear computations. We systematically analyze RNNs' behaviors in a ubiquitous NLP task, the sentiment analysis of movie reviews, via the mapping between a class of RNNs called recurrent arithmetic circuits (RACs) and a matrix product state (MPS). Using the von-Neumann entanglement entropy (EE) as a proxy for information propagation, we show that single-layer RACs possess a maximum information propagation capacity, reflected by the saturation of the EE. Enlarging the bond dimension beyond the EE saturation threshold does not increase model prediction accuracies, so a minimal model that best estimates the data statistics can be inferred. Although the saturated EE is smaller than the maximum EE allowed by the area law, our minimal model still achieves ~99% training accuracies in realistic sentiment analysis data sets. Thus, low EE is not a warrant against the adoption of single-layer RACs for NLP. Contrary to a common belief that long-range information propagation is the main source of RNNs' successes, we show that single-layer RACs harness high expressiveness from the subtle interplay between the information propagation and the word vector embeddings. Our work sheds light on the phenomenology of learning in RACs, and more generally on the explainability of RNNs for NLP, using tools from many-body quantum physics.

📄 PDF Abstract BibTeX arXiv:2112.08628

Code (0)

등록된 구현이 없습니다.

Tasks

Sentiment Analysis

Similar Papers 제목 키워드 기반

The Role of Explanatory Value in Natural Language Processing

2022-09-13 · Kees Van Deemter

A key aim of science is explanation, yet the idea of explaining language phenomena has taken a backseat in mainstream Natural Language Processing (NLP) and many other areas of Artificial Intelligence. I argue that explan…

Compressing Language Models using Doped Kronecker Products

2020-01-24 · Urmish Thakker, Paul N. Whatmough, Zhi-Gang Liu, Matthew Mattina 외

Kronecker Products (KP) have been used to compress IoT RNN Applications by 15-38x compression factors, achieving better results than traditional compression methods. However when KP is applied to large Natural Language P…

Language ModelingLanguage ModellingLarge Language Model

Hardware Acceleration of Explainable Machine Learning using Tensor Processing Units

2021-03-22 · Zhixin Pan, Prabhat Mishra

Machine learning (ML) is successful in achieving human-level performance in various fields. However, it lacks the ability to explain an outcome due to its black-box nature. While existing explainable ML is promising, alm…

BIG-bench Machine Learning

Language as a matrix product state

2017-11-04 · Vasily Pestun, John Terilla, Yiannis Vlassopoulos

We propose a statistical model for natural language that begins by considering language as a monoid, then representing it in complex matrices with a compatible translation invariant probability measure. We interpret the …

Translation

Deep Learning, Natural Language Processing, and Explainable Artificial Intelligence in the Biomedical Domain

2022-02-25 · Milad Moradi, Matthias Samwald

In this article, we first give an introduction to artificial intelligence and its applications in biology and medicine in Section 1. Deep learning methods are then described in Section 2. We narrow down the focus of the …

Explainable artificial intelligence