Complex-valued Neural Network-based Quantum Language Models

被引:8
|
作者
Zhang, Peng [1 ]
Hui, Wenjie [1 ]
Wang, Benyou [2 ]
Zhao, Donghao [1 ]
Song, Dawei [3 ]
Lioma, Christina [4 ]
Simonsen, Jakob Grue [4 ]
机构
[1] Tianjin Univ, Coll Intelligence & Comp, Tianjin, Peoples R China
[2] Univ Padua, Padua, Italy
[3] Beijing Inst Technol, Beijing, Peoples R China
[4] Univ Copenhagen, Copenhagen, Denmark
关键词
Quantum theory; language model; question answering; neural network; PROBABILITY RANKING PRINCIPLE; PHASE;
D O I
10.1145/3505138
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Language modeling is essential in Natural Language Processing and Information Retrieval related tasks. After the statistical language models, Quantum Language Model (QLM) has been proposed to unify both single words and compound terms in the same probability space without extending term space exponentially. Although QLM achieved good performance in ad hoc retrieval, it still has two major limitations: (1) QLM cannot make use of supervised information, mainly due to the iterative and non-differentiable estimation of the density matrix, which represents both queries and documents in QLM. (2) QLM assumes the exchangeability of words or word dependencies, neglecting the order or position information of words. This article aims to generalize QLM and make it applicable to more complicated matching tasks (e.g., Question Answering) beyond ad hoc retrieval. We propose a complex-valued neural network-based QLM solution called C-NNQLM to employ an end-to-end approach to build and train density matrices in a lightweight and differentiable manner, and it can therefore make use of external well-trained word vectors and supervised labels. Furthermore, C-NNQLM adopts complex-valued word vectors whose phase vectors can directly encode the order (or position) information of words. Note that complex numbers are also essential in the quantum theory. We show that the real-valued NNQLM (R-NNQLM) is a special case of C-NNQLM. The experimental results on the QA task show that both R-NNQLM and C-NNQLM achieve much better performance than the vanilla QLM, and C-NNQLM's performance is on par with state-of-the-art neural network models. We also evaluate the proposed C-NNQLM on text classification and document retrieval tasks. The results on most datasets show that the C-NNQLM can outperform R-NNQLM, which demonstrates the usefulness of the complex representation for words and sentences in C-NNQLM.
引用
收藏
页数:31
相关论文
共 50 条
  • [21] An optical neural chip for implementing complex-valued neural network
    Zhang, H.
    Gu, M.
    Jiang, X. D.
    Thompson, J.
    Cai, H.
    Paesani, S.
    Santagati, R.
    Laing, A.
    Zhang, Y.
    Yung, M. H.
    Shi, Y. Z.
    Muhammad, F. K.
    Lo, G. Q.
    Luo, X. S.
    Dong, B.
    Kwong, D. L.
    Kwek, L. C.
    Liu, A. Q.
    NATURE COMMUNICATIONS, 2021, 12 (01)
  • [22] An optical neural chip for implementing complex-valued neural network
    H. Zhang
    M. Gu
    X. D. Jiang
    J. Thompson
    H. Cai
    S. Paesani
    R. Santagati
    A. Laing
    Y. Zhang
    M. H. Yung
    Y. Z. Shi
    F. K. Muhammad
    G. Q. Lo
    X. S. Luo
    B. Dong
    D. L. Kwong
    L. C. Kwek
    A. Q. Liu
    Nature Communications, 12
  • [23] A Fully Complex-Valued Gradient Neural Network for Rapidly Computing Complex-Valued Linear Matrix Equations
    Xiao Lin
    Lu Rongbo
    CHINESE JOURNAL OF ELECTRONICS, 2017, 26 (06) : 1194 - 1197
  • [24] A Fully Complex-Valued Gradient Neural Network for Rapidly Computing Complex-Valued Linear Matrix Equations
    XIAO Lin
    LU Rongbo
    Chinese Journal of Electronics, 2017, 26 (06) : 1194 - 1197
  • [25] Complex-valued Zhang neural network for online complex-valued time-varying matrix inversion
    Zhang, Yunong
    Li, Zhan
    Li, Kene
    APPLIED MATHEMATICS AND COMPUTATION, 2011, 217 (24) : 10066 - 10073
  • [26] Combined Complex-Valued Artificial Neural Network (CCVANN)
    Ceylan, Murat
    WORLD CONGRESS ON ENGINEERING, WCE 2011, VOL II, 2011, : 955 - 959
  • [27] Intelligent beamforming by using a complex-valued neural network
    Suksmono, AB
    Hirose, A
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2004, 15 (3-4) : 139 - 147
  • [28] Bifurcations in a delayed fractional complex-valued neural network
    Huang, Chengdai
    Cao, Jinde
    Xiao, Min
    Alsaedi, Ahmed
    Hayat, Tasawar
    APPLIED MATHEMATICS AND COMPUTATION, 2017, 292 : 210 - 227
  • [29] Prediction of soil moisture with complex-valued neural network
    Ji Ronghua
    Zhang Shulei
    Zheng Lihua
    Liu Qiuxia
    Saeed, Iftikhar Ahmed
    2017 29TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2017, : 1231 - 1236
  • [30] An Enhanced Quantum-inspired Neural Network for Complex-valued Text Representation Learning
    Li, Zan
    Hou, Yuexian
    Tian, Tian
    Pan, Tingsan
    2022 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2022,