Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

International Research Journal of Innovations in Engineering and Technology

A Method for Classifying Sarcasms Based on Quantum TF_IDF Features

Niyozmatova Nilufar, Turgunova Nafisa, Abduraxmanova Nigora, Almuradova Nigora, Bakhtiyorova Mohiruy

Published Jan 1, 2025• 0 citations
Publisher

Abstract

This article proposes an LSTM-based approach for sarcasm detection by forming quantum features from textual data. In the proposed method, words are first encoded in quantum space, and their semantic similarity is calculated using interference. Based on the encoded data, quantum TF-IDF features are generated and fed into a neural network for classification. The obtained results were compared with those of the classical approach. According to experimental results, the quantum approach achieved 83% accuracy, while the classical approach achieved 78%. Additionally, the quantum approach reduced computation time by 49% compared to the classical one. Due to its superposition and parallelism properties, the quantum approach provides higher performance. Its limitations include testing on a simulator, interdependence between data, and the inability to use real quantum technologies. Applying quantum computing through TF-IDF methods for natural language processing and sarcasm detection can be a promising direction.

DOI
10.47001/irjiet/2025.911034

Related papers

DETECTING SARCASM BASED ON QUANTUM VECTORIZATION

Niyozmatova Nilufar, N. M. Turgunova, Turgunov Bakhodirjon +2 more

This article proposes a neural network approach for sarcasm detection based on the formation of quantum bag of words features from text. In the proposed method, words are first converted into quantum states using the Grover algorithm. Then, quantum bag of words features are generated and used for classification. The obtained results were compared with those of classical approaches. According to experimental results, the quantum computing-based approach achieved 80% accuracy, while the classical computing-based approach showed 78% accuracy. Additionally, the quantum bag of words method produced results 2% faster than the classical approach. This demonstrates that the quantum approach, through the properties of superposition and entanglement, achieves higher performance. The limitations include the restricted vocabulary size, insufficient datasets in many cases, and the lack of access to real quantum technologies. Nevertheless, the findings show that computers capable of simulating quantum behavior indicate the promising potential of quantum computing in natural language processing.

European Journal of Interdisciplinary Research and Development•Aug 10, 2026•0 citations

Classification of texts based on classical and quantum features

Nilufar A’loxanovna Niyozmatova, N. M. Turgunova, Нигора Нурмахамадовна Абдурахманова +1 more

This article proposes classical and quantum vectorization methods for text data classification, along with corresponding neural network architectures for classification based on these representations. The study applies classical and quantum variants of one-hot encoding, bag-of-words, TF-IDF, and word2vec vectorization techniques, which are respectively integrated with CNN, LSTM, MLP, and BiLSTM neural network models for text classification. All models are trained on the same dataset under identical experimental conditions, with classification accuracy and computational efficiency adopted as the primary evaluation metrics. Classical vectorization methods represent semantic and contextual properties of text in a limited manner, whereas quantum vectorization overcomes these limitations. When neural networks are trained using quantum-based representations, higher classification accuracy and significantly reduced computation time are achieved compared to classical approaches. The combined use of quantum word2vec and the BiLSTM architecture yields the highest performance among all evaluated models. The obtained results demonstrate that this approach is the most effective for text data classification, as it accurately captures semantic relationships and leverages deep neural network architectures. This study may serve as a scientific foundation for future research aimed at developing more advanced neural architectures based on quantum computing paradigms.

InterConf•Feb 23, 2026•0 citations

Hybrid Quantum-Classical Neural Network for Multimodal Multitask Sarcasm, Emotion, and Sentiment Analysis

Arpan Phukan, Santanu Pal, Asif Ekbal

Sarcasm detection in unimodal or multimodal setting is a very complex task. Sarcasm, emotion, and sentiment are related to each other, and hence any multitask model could be an effective way to leverage the interdependence among these tasks. In order to better represent these clandestine associations, we avoid solely relying on traditional machine learning methods to encode the relationships between the modalities. In this article, we propose a hybrid quantum model that banks upon the low computational complexity and robust representational power of a variational quantum circuit (VQC) and the tried and tested dense neural network to tackle sentiment, emotion, and sarcasm classification simultaneously. We empirically establish that the quantum properties like superposition, entanglement, and interference will better capture and replicate not only the cross-modal interactions between text, acoustics, and visuals but also the correlations between the three responses. We consider the extended MUStARD dataset to evaluate our proposed hybrid model. The results show that our proposed hybrid quantum framework yields more promising results for the primary task of sarcasm detection with the help of the two secondary classification tasks,viz.sentiment and emotion.

IEEE Transactions on Computational Social Systems•May 7, 2024•34 citations

Qubits and Sentiments: Unveiling New Perspectives in Hindi Textual Data

Vaibhav Prakash Vasani

Sentiment analysis (SA) is a critical component of Natural Language Processing (NLP), particularly for automatic text classification. However, previous approaches have shortcomings in capturing nuances such as negation, word pairings, and contextual understanding, particularly in languages like Hindi. To solve these issues, this research offers a novel Quantum Neural Network (QNN) technique designed specifically for sentiment analysis in Hindi text data, which employs quantum computing concepts to capture linguistic nuances and context better. This study uses a Quantum Variational Auto Encoder to encode classical data into a quantum form, capturing diverse sentiments like sarcasm and colloquial expressions. A Tuned Quantum Convolutional Neural Network architecture is introduced to capture complex linguistic syntax. A novel Sequential-based hyperband optimization technique is used to enhance model performance. The hybrid approach significantly improves accuracy and efficiency in handling quantum data, contributing to the advancement of SA, particularly in Hindi Movie Reviews. The findings demonstrate that the proposed strategy performs best with accuracy 97.64 %, precision 85.93%, recall 99.17%, F-1 score 92.20%, than other accepted strategies.

International Journal of Intelligent Systems and Applications in Engineering•Jun 12, 2024•0 citations

Quantum Sentiment Analysis: Potential, Benchmarking and Limitations

Fahad Saleh A. M. Al-obaidly

Sentiment analysis is one of the most frequent activities of natural language processing (NLP) that has extensive use cases in social media monitoring, business intelligence, and analysis of public opinion. With their ability to scale effectively to large sentiments datasets, although deep-learning methods like recurrent neural networks have reached high-performance, their increasing computational (energy) requirements have stimulated a search toward quantum computations and quantum-inspired computations. Nevertheless, the current literature tends to test quantum NLP algorithms using non-congruent experimental conditions, which precludes determining their feasibility on practice in comparison to classical base- lines. In this thesis, a coherent and repeatable comparison of the classical, deep learning and quantum-enhanced sentiment analysis algorithms are compared within a unified evaluation procedure. Two popular and widely-used benchmark datasets with markedly distinct linguistic features, namely Twitter entity sentiment data, and IMDB movie reviews are experimented with. The compared models are traditional machine learning pipelines, using TF -IDF features, LSTM-based deep learning models, and hybrid quantum -classical sequence models (QLSTM) and diagrammatic quantum NLP (QNLP) models in the form of lambeq toolkit. Training and evaluation of all models are performed with the help of similar preprocessing, data splits and performance metrics. The findings indicate that powerful classical baselines retain highly competitive especially in small-scale text sentiment analysis of Twitter, and LSTM models are efficient in long IMDB reviews. The quantum-inspired methods that have been shown to perform well with an equal or better result include quantum-inspired hybrid pipelines that show good results and in a few of the configurations they may even do better than the classifiers which are completely classical in nature. Conversely, QLSTM set-ups tested demonstrate poor learning and cannot compete with the near-term quantum limitations. Generally, the results are that in the short-term quantum advantage in sentiment analysis is more probable to be obtained via well-crafted hybrid quantum-classical pipelines than entirely worked-out quantum sequence frameworks. This thesis offers a controlled benchmark and real-life observations that can add to the future evaluation of quantum-enhanced NLP in practical scenarios.

•May 20, 2026•0 citations

A Hybrid Quantum-Classical Architecture for Sentence Classification

G. Ruth Angel Jasmine, Hazarath Murali Krishna Prasad, Munaga H.M

Sentence classification is a core task in Natural Language Processing, and sentiment analysis in particular remains difficult because of contextual ambiguity, semantic complexity, and the overlap between closely related sentiment classes. This paper presents a hybrid quantum-classical architecture for sentence classification that combines classical deep learning with quantum feature extraction. The classical branch employs a Feedforward Neural Network (FNN) and a Long Short-Term Memory (LSTM) network to learn complementary semantic and contextual representations, while the quantum branch reduces TF-IDF features through Truncated Singular Value Decomposition (SVD) and encodes them into a parameterized quantum circuit built with Qiskit. The classical and quantum representations are combined through feature-level fusion and classified using a MultiLayer Perceptron (MLP). The framework is evaluated on the SST-2 dataset for binary sentiment classification and on a merged SST-2 + SST-5 dataset for multi-class classification. The proposed hybrid model achieves an accuracy of 90.5%, precision of 89.9%, recall of 90.1%, and F1-score of 90.1% on SST-2, with a ROC-AUC close to 0.97, exceeding the individual FNN and LSTM baselines. On the merged multi-class dataset, the hybrid model attains 66.65% accuracy against 65.15% for FNN and 62.65% for LSTM. These results indicate that feature-level integration of classical and quantum representations can improve sentence classification performance within currently available quantum simulation environments.

•Jan 1, 2026•0 citations
This article proposes an LSTM-based approach for sarcasm detection by forming quantum features from textual data. In the proposed method, words are first encoded in quantum space, and their semantic similarity is calculated using interference. Based on the encoded data, quantum TF-IDF features are generated and fed into a neural network for classification. The obtained results were compared with those of the classical approach. According to experimental results, the quantum approach achieved 83% accuracy, while the classical approach achieved 78%. Additionally, the quantum approach reduced computation time by 49% compared to the classical one. Due to its superposition and parallelism properties, the quantum approach provides higher performance. Its limitations include testing on a simulator, interdependence between data, and the inability to use real quantum technologies. Applying quantum computing through TF-IDF methods for natural language processing and sarcasm detection can be a promising direction.
This article proposes a neural network approach for sarcasm detection based on the formation of quantum bag of words features from text. In the proposed method, words are first converted into quantum states using the Grover algorithm. Then, quantum bag of words features are generated and used for classification. The obtained results were compared with those of classical approaches. According to experimental results, the quantum computing-based approach achieved 80% accuracy, while the classical computing-based approach showed 78% accuracy. Additionally, the quantum bag of words method produced results 2% faster than the classical approach. This demonstrates that the quantum approach, through the properties of superposition and entanglement, achieves higher performance. The limitations include the restricted vocabulary size, insufficient datasets in many cases, and the lack of access to real quantum technologies. Nevertheless, the findings show that computers capable of simulating quantum behavior indicate the promising potential of quantum computing in natural language processing.
This article proposes classical and quantum vectorization methods for text data classification, along with corresponding neural network architectures for classification based on these representations. The study applies classical and quantum variants of one-hot encoding, bag-of-words, TF-IDF, and word2vec vectorization techniques, which are respectively integrated with CNN, LSTM, MLP, and BiLSTM neural network models for text classification. All models are trained on the same dataset under identical experimental conditions, with classification accuracy and computational efficiency adopted as the primary evaluation metrics. Classical vectorization methods represent semantic and contextual properties of text in a limited manner, whereas quantum vectorization overcomes these limitations. When neural networks are trained using quantum-based representations, higher classification accuracy and significantly reduced computation time are achieved compared to classical approaches. The combined use of quantum word2vec and the BiLSTM architecture yields the highest performance among all evaluated models. The obtained results demonstrate that this approach is the most effective for text data classification, as it accurately captures semantic relationships and leverages deep neural network architectures. This study may serve as a scientific foundation for future research aimed at developing more advanced neural architectures based on quantum computing paradigms.
Sarcasm detection in unimodal or multimodal setting is a very complex task. Sarcasm, emotion, and sentiment are related to each other, and hence any multitask model could be an effective way to leverage the interdependence among these tasks. In order to better represent these clandestine associations, we avoid solely relying on traditional machine learning methods to encode the relationships between the modalities. In this article, we propose a hybrid quantum model that banks upon the low computational complexity and robust representational power of a variational quantum circuit (VQC) and the tried and tested dense neural network to tackle sentiment, emotion, and sarcasm classification simultaneously. We empirically establish that the quantum properties like superposition, entanglement, and interference will better capture and replicate not only the cross-modal interactions between text, acoustics, and visuals but also the correlations between the three responses. We consider the extended MUStARD dataset to evaluate our proposed hybrid model. The results show that our proposed hybrid quantum framework yields more promising results for the primary task of sarcasm detection with the help of the two secondary classification tasks,viz.sentiment and emotion.
Sentiment analysis (SA) is a critical component of Natural Language Processing (NLP), particularly for automatic text classification. However, previous approaches have shortcomings in capturing nuances such as negation, word pairings, and contextual understanding, particularly in languages like Hindi. To solve these issues, this research offers a novel Quantum Neural Network (QNN) technique designed specifically for sentiment analysis in Hindi text data, which employs quantum computing concepts to capture linguistic nuances and context better. This study uses a Quantum Variational Auto Encoder to encode classical data into a quantum form, capturing diverse sentiments like sarcasm and colloquial expressions. A Tuned Quantum Convolutional Neural Network architecture is introduced to capture complex linguistic syntax. A novel Sequential-based hyperband optimization technique is used to enhance model performance. The hybrid approach significantly improves accuracy and efficiency in handling quantum data, contributing to the advancement of SA, particularly in Hindi Movie Reviews. The findings demonstrate that the proposed strategy performs best with accuracy 97.64 %, precision 85.93%, recall 99.17%, F-1 score 92.20%, than other accepted strategies.
Sentiment analysis is one of the most frequent activities of natural language processing (NLP) that has extensive use cases in social media monitoring, business intelligence, and analysis of public opinion. With their ability to scale effectively to large sentiments datasets, although deep-learning methods like recurrent neural networks have reached high-performance, their increasing computational (energy) requirements have stimulated a search toward quantum computations and quantum-inspired computations. Nevertheless, the current literature tends to test quantum NLP algorithms using non-congruent experimental conditions, which precludes determining their feasibility on practice in comparison to classical base- lines. In this thesis, a coherent and repeatable comparison of the classical, deep learning and quantum-enhanced sentiment analysis algorithms are compared within a unified evaluation procedure. Two popular and widely-used benchmark datasets with markedly distinct linguistic features, namely Twitter entity sentiment data, and IMDB movie reviews are experimented with. The compared models are traditional machine learning pipelines, using TF -IDF features, LSTM-based deep learning models, and hybrid quantum -classical sequence models (QLSTM) and diagrammatic quantum NLP (QNLP) models in the form of lambeq toolkit. Training and evaluation of all models are performed with the help of similar preprocessing, data splits and performance metrics. The findings indicate that powerful classical baselines retain highly competitive especially in small-scale text sentiment analysis of Twitter, and LSTM models are efficient in long IMDB reviews. The quantum-inspired methods that have been shown to perform well with an equal or better result include quantum-inspired hybrid pipelines that show good results and in a few of the configurations they may even do better than the classifiers which are completely classical in nature. Conversely, QLSTM set-ups tested demonstrate poor learning and cannot compete with the near-term quantum limitations. Generally, the results are that in the short-term quantum advantage in sentiment analysis is more probable to be obtained via well-crafted hybrid quantum-classical pipelines than entirely worked-out quantum sequence frameworks. This thesis offers a controlled benchmark and real-life observations that can add to the future evaluation of quantum-enhanced NLP in practical scenarios.
Sentence classification is a core task in Natural Language Processing, and sentiment analysis in particular remains difficult because of contextual ambiguity, semantic complexity, and the overlap between closely related sentiment classes. This paper presents a hybrid quantum-classical architecture for sentence classification that combines classical deep learning with quantum feature extraction. The classical branch employs a Feedforward Neural Network (FNN) and a Long Short-Term Memory (LSTM) network to learn complementary semantic and contextual representations, while the quantum branch reduces TF-IDF features through Truncated Singular Value Decomposition (SVD) and encodes them into a parameterized quantum circuit built with Qiskit. The classical and quantum representations are combined through feature-level fusion and classified using a MultiLayer Perceptron (MLP). The framework is evaluated on the SST-2 dataset for binary sentiment classification and on a merged SST-2 + SST-5 dataset for multi-class classification. The proposed hybrid model achieves an accuracy of 90.5%, precision of 89.9%, recall of 90.1%, and F1-score of 90.1% on SST-2, with a ROC-AUC close to 0.97, exceeding the individual FNN and LSTM baselines. On the merged multi-class dataset, the hybrid model attains 66.65% accuracy against 65.15% for FNN and 62.65% for LSTM. These results indicate that feature-level integration of classical and quantum representations can improve sentence classification performance within currently available quantum simulation environments.