Hybrid Quantum-Classical Machine Learning for Sentiment Analysis

Abu Kaisar Mohammad Masum,Anshul Maurya,Dhruthi Sridhar Murthy,Pratibha,Naveed Mahmud
2023-10-08
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.
Computation and Language,Machine Learning
What problem does this paper attempt to address?
The paper aims to explore the application of hybrid quantum-classical machine learning algorithms in sentiment analysis tasks and proposes a sentiment analysis method that combines quantum and classical technologies. Specifically, the objectives of the paper can be summarized as follows: 1. **Address challenges in sentiment analysis**: Utilize hybrid quantum-classical machine learning algorithms to address challenges in natural language processing (particularly sentiment analysis), especially in analyzing human emotions and opinions when dealing with large-scale datasets. 2. **Propose a method**: The paper proposes a sentiment analysis method based on hybrid quantum-classical machine learning algorithms. This method includes two key components: - **Quantum kernel method**: Use quantum kernels to improve the performance of traditional Support Vector Machines (SVM). - **Variational quantum circuit classifier**: Introduce a new quantum classifier that uses parameterized quantum circuits for classification. 3. **Integrate classical dimensionality reduction techniques**: To enhance the quantum model's ability to handle high-dimensional data, the paper also integrates two classical data dimensionality reduction techniques—Principal Component Analysis (PCA) and Haar Wavelet Transform—to reduce the dimensionality of the data. 4. **Experimental validation**: Evaluate the effectiveness of the proposed hybrid quantum-classical method through experiments on datasets in two different languages, English and Bengali. The results show that after dimensionality reduction, the performance of the quantum-based hybrid algorithm is more consistent and superior compared to classical methods. In summary, the main goal of this paper is to demonstrate how hybrid quantum-classical machine learning techniques can be applied to sentiment analysis tasks and to empirically prove the effectiveness and superiority of these methods.