Hybrid Quantum-Classical Machine Learning for Sentiment Analysis (2310.10672v1)
Abstract: The collaboration between quantum computing and classical machine learning offers potential advantages in natural language processing, particularly in the sentiment analysis of human emotions and opinions expressed in large-scale datasets. In this work, we propose a methodology for sentiment analysis using hybrid quantum-classical machine learning algorithms. We investigate quantum kernel approaches and variational quantum circuit-based classifiers and integrate them with classical dimension reduction techniques such as PCA and Haar wavelet transform. The proposed methodology is evaluated using two distinct datasets, based on English and Bengali languages. Experimental results show that after dimensionality reduction of the data, performance of the quantum-based hybrid algorithms were consistent and better than classical methods.
- Bing Liu. Sentiment analysis and opinion mining. Springer Nature, 2022.
- Artificial intelligence and sentiment analysis: A review in competitive research. Computers, 12(2):37, 2023.
- Information-theoretic bounds on quantum advantage in machine learning. Physical Review Letters, 126(19):190505, 2021.
- Quantum computation and quantum information. Cambridge university press, 2010.
- Quantum machine learning. Nature, 549(7671):195–202, 2017.
- A quantum spatial graph convolutional network for text classification. Comput. Syst. Sci. Eng., 36(2):369–382, 2021.
- Quantum support vector machine without iteration. Information Sciences, 635:25–41, 2023.
- Practical application improvement to quantum svm: theory to practice. arXiv preprint arXiv:2012.07725, 2020.
- Supervised learning with quantum-enhanced feature spaces. Nature, 567(7747):209–212, 2019.
- A comparison of pca, kpca and ica for dimensionality reduction in support vector machine. Neurocomputing, 55(1-2):321–336, 2003.
- Wavelet spectral dimension reduction of hyperspectral imagery on a reconfigurable computer. In Proceedings. 2004 IEEE International Conference on Field-Programmable Technology (IEEE Cat. No. 04EX921), pages 399–402. IEEE, 2004.
- A comparative study of tf* idf, lsi and multi-words for text classification. Expert systems with applications, 38(3):2758–2765, 2011.
- A heuristic approach of text summarization for bengali documentation. In 2017 8th International Conference on Computing, Communication and Networking Technologies (ICCCNT), pages 1–8. IEEE, 2017.
- Quantum natural language processing based sentiment analysis using lambeq toolkit. In 2022 Second International Conference on Power, Control and Computing Technologies (ICPC2T), pages 1–6. IEEE, 2022.
- Comparison between principal component analysis and wavelet transform ‘filtering methods for lightning stroke classification on transmission lines. Electric power systems research, 118:37–46, 2015.
- Quantum natural language processing on near-term quantum computers. arXiv preprint arXiv:2005.04147, 2020.
- Bengalidata. https://www.kaggle.com/datasets/kaisermasum24/bengali-news-headline-sentiment. Accessed: July 2023.
- Sentiment analysis for airlines services based on twitter dataset. Social Network Analytics: Computational Research Methods and Techniques, 149, 2018.
- Gregory Grefenstette. Tokenization. In Syntactic wordclass tagging, pages 117–133. Springer, 1999.
- Regular expression based medical text classification using constructive heuristic approach. IEEE Access, 7:147892–147904, 2019.
- The importance of stop word removal on recall values in text categorization. In Proceedings of the International Joint Conference on Neural Networks, 2003., volume 3, pages 1661–1666. IEEE, 2003.
- Comparisons and selections of features and classifiers for short text classification. In Iop conference series: Materials science and engineering, volume 261, page 012018. IOP Publishing, 2017.
- Novel hate speech detection using word cloud visualization and ensemble learning coupled with count vectorizer. Applied Sciences, 12(13):6611, 2022.
- Harun Uğuz. A two-stage feature selection method for text categorization by using information gain, principal component analysis and genetic algorithm. Knowledge-Based Systems, 24(7):1024–1032, 2011.
- Fast pattern matching using orthogonal haar transform. In 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pages 3050–3057. IEEE, 2010.
- Dimension reduction using quantum wavelet transform on a high-performance reconfigurable computer. International Journal of Reconfigurable Computing, 2019:1–14, 2019.
- William S Noble. What is a support vector machine? Nature biotechnology, 24(12):1565–1567, 2006.
- Ensemble of feature sets and classification algorithms for sentiment classification. Information sciences, 181(6):1138–1152, 2011.
- The complexity of approximating complex-valued ising and tutte partition functions. computational complexity, 26:765–833, 2017.
- qiskit. https://qiskit.org/. Accessed: July 2023.
- Qiskit simulator. https://qiskit.org/ecosystem/aer/stubs/qiskit_aer.QasmSimulator.html. Accessed: July 2023.
- Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
Collections
Sign up for free to add this paper to one or more collections.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.