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 条
  • [21] Natural Language Processing for Dialects of a Language: A Survey
    Joshi, Aditya
    Dabre, Raj
    Kanojia, Diptesh
    Li, Zhuang
    Zhan, Haolan
    Haffari, Gholamreza
    Dippold, Doris
    ACM COMPUTING SURVEYS, 2025, 57 (06)
  • [22] Properties of Parity Non-conserved and Parity Conserved States in Matrix Product Systems
    Zhu Jing-Min
    COMMUNICATIONS IN THEORETICAL PHYSICS, 2010, 54 (02) : 373 - 379
  • [23] Quantum machine learning for natural language processing application
    Pandey, Shyambabu
    Basisth, Nihar Jyoti
    Sachan, Tushar
    Kumari, Neha
    Pakray, Partha
    PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2023, 627
  • [24] SECNLP: A survey of embeddings in clinical natural language processing
    Kalyan, Katikapalli Subramanyam
    Sangeetha, S.
    JOURNAL OF BIOMEDICAL INFORMATICS, 2020, 101 (101)
  • [25] A real-world case study for automated ticket team assignment using natural language processing and explainable models
    Pavelski, Lucas Marcondes
    Braga, Rodrigo de Souza
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [26] From NLP (Natural Language Processing) to MLP (Machine Language Processing)
    Teufl, Peter
    Payer, Udo
    Lackner, Guenter
    COMPUTER NETWORK SECURITY, 2010, 6258 : 256 - +
  • [27] Grey Relational Analysis and Natural Language Processing to: Grey Language Processing
    Khuman, Arjab Singh
    Yang, Yingjie
    Liu, Sifeng
    JOURNAL OF GREY SYSTEM, 2016, 28 (01) : 88 - 97
  • [28] Natural Language Processing Model Compiling Natural Language into Byte Code
    Trifan, Alexandru
    Anghelus, Marilena
    Constantinescu, Rodica
    2017 INTERNATIONAL CONFERENCE ON SPEECH TECHNOLOGY AND HUMAN-COMPUTER DIALOGUE (SPED), 2017,
  • [29] Matrix product states with backflow correlations
    Lami, Guglielmo
    Carleo, Giuseppe
    Collura, Mario
    PHYSICAL REVIEW B, 2022, 106 (08)
  • [30] Quantifying nonstabilizerness of matrix product states
    Haug, Tobias
    Piroli, Lorenzo
    PHYSICAL REVIEW B, 2023, 107 (03)