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 条
  • [31] Natural Language Processing-Based Product Category Classification Model for E-Commerce
    Koksal, Deniz
    Alacan, M. Mert
    Olgun, Ecesu
    Sakar, C. Okan
    2022 30TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE, SIU, 2022,
  • [32] Thermal states as convex combinations of matrix product states
    Berta, Mario
    Brandao, Fernando G. S. L.
    Haegeman, Jutho
    Scholz, Volkher B.
    Verstraete, Frank
    PHYSICAL REVIEW B, 2018, 98 (23)
  • [33] Typicality in random matrix product states
    Garnerone, Silvano
    de Oliveira, Thiago R.
    Zanardi, Paolo
    PHYSICAL REVIEW A, 2010, 81 (03):
  • [34] Language as a biomarker for psychosis: A natural language processing approach
    Corcoran, Cheryl M.
    Mittal, Vijay A.
    Bearden, Carrie E.
    Gur, Raquel E.
    Hitczenko, Kasia
    Bilgrami, Zarina
    Savic, Aleksandar
    Cecchi, Guillermo A.
    Wolff, Phillip
    SCHIZOPHRENIA RESEARCH, 2020, 226 : 158 - 166
  • [35] Natural language processing in the era of large language models
    Zubiaga, Arkaitz
    FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2024, 6
  • [36] A new formal definition of language for natural language processing
    Wang, Y
    Wang, XJ
    Proceedings of the 11th Joint International Computer Conference, 2005, : 430 - 433
  • [37] Providing a Natural Language Processing App for Language Teachers
    Posekany, Alexandra
    Dolezal, Dominik
    TOWARDS A HYBRID, FLEXIBLE AND SOCIALLY ENGAGED HIGHER EDUCATION, VOL 1, ICL 2023, 2024, 899 : 467 - 473
  • [38] Visual tools for natural language processing
    Gaizauskas, R
    Rodgers, PJ
    Humphreys, K
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2001, 12 (04) : 375 - 412
  • [39] Memory reconsolidation for natural language processing
    Tu, Kun
    Cooper, David G.
    Siegelmann, Hava T.
    COGNITIVE NEURODYNAMICS, 2009, 3 (04) : 365 - 372
  • [40] Speciesism in natural language processing research
    Masashi Takeshita
    Rafal Rzepka
    AI and Ethics, 2025, 5 (3): : 2961 - 2976