Explainable natural language processing with matrix product states

被引:3
|
作者
Tangpanitanon, Jirawat [1 ,2 ]
Mangkang, Chanatip [3 ]
Bhadola, Pradeep [4 ]
Minato, Yuichiro [5 ]
Angelakis, Dimitris G. [6 ,7 ]
Chotibut, Thiparat [3 ]
机构
[1] Quantum Technol Fdn Thailand, Bangkok, Thailand
[2] Minist Higher Educ Sci Res & Innovat, Thailand Ctr Excellence Phys, Bangkok, Thailand
[3] Chulalongkorn Univ, Fac Sci, Dept Phys, Chula Intelligent & Complex Syst, Bangkok, Thailand
[4] Mahidol Univ, Ctr Theoret Phys & Nat Philosophy, Nakhonsawan Studiorum Adv Studies, Nakhonsawan Campus, Khao Thong, Thailand
[5] Blueqat Inc, Tokyo, Japan
[6] Tech Univ Crete, Sch Elect & Comp Engn, Khania, Greece
[7] Natl Univ Singapore, Ctr Quantum Technol, Singapore, Singapore
来源
NEW JOURNAL OF PHYSICS | 2022年 / 24卷 / 05期
关键词
matrix product state; entanglement entropy; entanglement spectrum; quantum machine learning; natural language processing; recurrent neural networks; TENSOR NETWORKS; QUANTUM;
D O I
10.1088/1367-2630/ac6232
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
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. 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 similar to 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.
引用
收藏
页数:16
相关论文
共 50 条
  • [41] CONTEXTUAL ANALYSIS OF NEW PRODUCT DEVELOPMENT IN CIRCULAR ECONOMY: A NATURAL LANGUAGE PROCESSING APPROACH
    Bandeira, Gabriel L.
    Chanquini, Andrea
    Perroni, Marcos G.
    Tortato, Ubirata
    TECHNOLOGIES, MARKETS AND POLICIES: BRINGING TOGETHER ECONOMICS AND ENGINEERING, 2022, : 210 - 215
  • [42] Applying Natural Language Processing and TRIZ Evolutionary Trends to Patent Recommendations for Product Design
    Liu, Tien-Lun
    Hsieh, Ling-Hsiang
    Huang, Kuan-Chun
    APPLIED SCIENCES-BASEL, 2022, 12 (19):
  • [43] A Novel Approach of Integrating Natural Language Processing Techniques with Fuzzy TOPSIS for Product Evaluation
    Wang, Tianxiong
    SYMMETRY-BASEL, 2022, 14 (01):
  • [44] Natural Language Processing and Language Technologies for the Basque Language
    Gonzalez-Dios, Itziar
    Altuna, Begona
    CUADERNOS EUROPEOS DE DEUSTO, 2022, : 203 - 230
  • [45] Networks and Natural Language Processing
    Radev, Dragomir R.
    Mihalcea, Rada
    AI MAGAZINE, 2008, 29 (03) : 16 - 28
  • [46] Processing natural language requirements
    Ambriola, V
    Gervasi, V
    AUTOMATED SOFTWARE ENGINEERING, 12TH IEEE INTERNATIONAL CONFERENCE, PROCEEDINGS, 1997, : 36 - 45
  • [47] NATURAL-LANGUAGE PROCESSING
    JOSHI, AK
    SCIENCE, 1991, 253 (5025) : 1242 - 1249
  • [48] Pregroups and natural language processing
    Joachim Lambek
    The Mathematical Intelligencer, 2006, 28 : 41 - 48
  • [49] Thesauruses for natural language processing
    Kilgarriff, A
    2003 INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING AND KNOWLEDGE ENGINEERING, PROCEEDINGS, 2003, : 5 - 13
  • [50] Biomedical Natural Language Processing
    Hamon, Thierry
    TRAITEMENT AUTOMATIQUE DES LANGUES, 2013, 54 (03): : 77 - 79