Quantum-inspired semantic matching based on neural networks with the duality of density matrices
2025 (English) In: Engineering applications of artificial intelligence, ISSN 0952-1976, E-ISSN 1873-6769, Vol. 140, p. 1-15, article id 109667Article in journal (Refereed) Published
Abstract [en]
Social media text can be semantically matched in different ways, viz paraphrase identification, answer selection, community question answering, and so on. The performance of the above semantic matching tasks depends largely on the ability of language modeling. Neural network based language models and probabilistic language models are two main streams of language modeling approaches. However, few prior work has managed to unify them in a single framework on the premise of preserving probabilistic features during the neural network learning process. Motivated by recent advances of quantum-inspired neural networks for text representation learning, we fill the gap by resorting to density matrices, a key concept describing a quantum state as well as a quantum probability distribution. The state and probability views of density matrices are mapped respectively to the neural and probabilistic aspects of language models. Concretizing this state-probability duality to the semantic matching task, we build a unified neural-probabilistic language model through a quantum-inspired neural network. Specifically, we take the state view to construct a density matrix representation of sentence, and exploit its probabilistic nature by extracting its main semantics, which form the basis of a legitimate quantum measurement. When matching two sentences, each sentence is measured against the main semantics of the other. Such a process is implemented in a neural structure, facilitating an end-to-end learning of parameters. The learned density matrix representation reflects an authentic probability distribution over the semantic space throughout the training process. Experiments show that our model significantly outperforms a wide range of prominent classical and quantum-inspired baselines. © 2024 Elsevier Ltd
Place, publisher, year, edition, pages Oxford: Elsevier, 2025. Vol. 140, p. 1-15, article id 109667
Keywords [en]
Complex-valued neural network, Density matrix, Neural network, Quantum theory, State-probability duality
National Category
Computer Sciences
Identifiers URN: urn:nbn:se:hh:diva-55053 DOI: 10.1016/j.engappai.2024.109667 Scopus ID: 2-s2.0-85210363293 OAI: oai:DiVA.org:hh-55053 DiVA, id: diva2:1921256
Note This work is funded in part by the Beijing Municipal Natural Science Foundation (grant no: IS23061 and 4222036 ) and Natural Science Foundation of China (grant no: 62376027 ).
2024-12-132024-12-132024-12-13 Bibliographically approved