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
    EDITORIAL: Automatische Sprachverarbeitung
    Hoepel-Man, Jakob, 1600, De Gruyter Oldenbourg (36):
  • [22] Natural language processing
    Anon
    1600, Knowledge Technology Inc. (15):
  • [23] Natural language processing
    Gelbukh, A
    HIS 2005: 5th International Conference on Hybrid Intelligent Systems, Proceedings, 2005, : 6 - 6
  • [24] From explainable to interpretable deep learning for natural language processing in healthcare: How far from reality?
    Huang, Guangming
    Li, Yingya
    Jameel, Shoaib
    Long, Yunfei
    Papanastasiou, Giorgos
    COMPUTATIONAL AND STRUCTURAL BIOTECHNOLOGY JOURNAL, 2024, 24 : 362 - 373
  • [25] Automatic Dementia Identification for eConsult Service Users by Explainable-AI (XAI) and Natural Language Processing
    Rahgozar, Arya
    Afkham, Amir
    Goulet, Danica
    Fung, Celeste
    Moroz, Isabella
    Archibald, Douglas
    Keely, Erin
    Liddy, Clare
    Karunananthan, Sathya
    Hakimjavadi, Ramtin
    Guglani, Sheena
    Mortezaagha, Pouria
    ANNALS OF FAMILY MEDICINE, 2024, 22
  • [26] Dicke states as matrix product states
    Raveh, David
    Nepomechie, Rafael I.
    PHYSICAL REVIEW A, 2024, 110 (05)
  • [27] A natural language processing approach towards harmonisation of European medicinal product information
    Bergman, Erik
    Sherwood, Kim
    Forslund, Markus
    Arlett, Peter
    Westman, Gabriel
    PLOS ONE, 2022, 17 (10):
  • [28] Putting Natural in Natural Language Processing
    Chrupala, Grzegorz
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023), 2023, : 7820 - 7827
  • [29] A probabilistic matrix factorization algorithm for approximation of sparse matrices in natural language processing
    Tarantino, Gianmaria
    Monica, Stefania
    Bergenti, Federico
    ICT EXPRESS, 2018, 4 (02): : 87 - 90
  • [30] Simulations with matrix product states
    Schollwoeck, Ulrich
    LECTURES ON THE PHYSICS OF STRONGLY CORRELATED SYSTEMS XVI, 2012, 1485 : 135 - 225