Quantum-Inspired Fully Complex-Valued Neutral Network for Sentiment Analysis

Author:

Lai Wei1,Shi Jinjing1ORCID,Chang Yan2

Affiliation:

1. School of Computer Science and Engineering, Central South University, Changsha 410083, China

2. Advanced Cryptography and System Security Key Laboratory of Sichuan Province, Chengdu 610025, China

Abstract

Most of the existing quantum-inspired models are based on amplitude-phase embedding to model natural language, which maps words into Hilbert space. In quantum-computing theory, the vectors corresponding to quantum states are all complex values, so there is a gap between these two areas. Presently, complex-valued neural networks have been studied, but their practical applications are few, let alone in the downstream tasks of natural language processing such as sentiment analysis and language modeling. In fact, the complex-valued neural network can use the imaginary part information to embed hidden information and can express more complex information, which is suitable for modeling complex natural language. Meanwhile, quantum-inspired models are defined in Hilbert space, which is also a complex space. So it is natural to construct quantum-inspired models based on complex-valued neural networks. Therefore, we propose a new quantum-inspired model for NLP, ComplexQNN, which contains a complex-valued embedding layer, a quantum encoding layer, and a measurement layer. The modules of ComplexQNN are fully based on complex-valued neural networks. It is more in line with quantum-computing theory and easier to transfer to quantum computers in the future to achieve exponential acceleration. We conducted experiments on six sentiment-classification datasets comparing with five classical models (TextCNN, GRU, ELMo, BERT, and RoBERTa). The results show that our model has improved by 10% in accuracy metric compared with TextCNN and GRU, and has competitive experimental results with ELMo, BERT, and RoBERTa.

Funder

National Natural Science Foundation of China

Education Department of Hunan Province of China

Special Foundation for Distinguished Young Scientists of Changsha

Open Fund of Advanced Cryptography and System Security Key Laboratory of Sichuan Province

Publisher

MDPI AG

Subject

Geometry and Topology,Logic,Mathematical Physics,Algebra and Number Theory,Analysis

Reference49 articles.

1. Wu, S., Li, J., Zhang, P., and Zhang, Y. (2021, January 7–11). Natural Language Processing Meets Quantum Physics: A Survey and Categorization. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, Virtually.

2. Deep learning for sentiment analysis: A survey;Zhang;Wiley Interdiscip. Rev. Data Min. Knowl. Discov.,2018

3. Conversational question answering: A survey;Zaib;Knowl. Inf. Syst.,2022

4. Celikyilmaz, A., Clark, E., and Gao, J. (2020). Evaluation of text generation: A survey. arXiv.

5. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Advances in Neural Information Processing Systems 30, Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017, Curran Associates Inc.

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Quantum-inspired Neural Network Based on Stochastic Liouville-von Neumann Equation for Sentiment Classification;2024 International Joint Conference on Neural Networks (IJCNN);2024-06-30

2. An Effective Strategy for Sentiment Analysis Based on Complex-Valued Embedding and Quantum Long Short-Term Memory Neural Network;Axioms;2024-03-21

3. Application of Quantum Recurrent Neural Network in Low-Resource Language Text Classification;IEEE Transactions on Quantum Engineering;2024

4. Zérosdetect: Phishing URL Detection with Quantum-Driven Zero-shot Learning;2023 9th International Conference on Signal Processing and Communication (ICSC);2023-12-21

5. Harmful Algal Blooms Prediction Model: Dealing With Limited Datasets;2023 International Conference on Computer, Control, Informatics and its Applications (IC3INA);2023-10-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3