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 conference Recent advances in natural language processing

Toward Quantum-Enhanced Natural Language Understanding: Sarcasm and Claim Detection with QLSTM

Pritam Pal, Dipankar Das

Published Jan 1, 2025• 2 citations
Publisher

Abstract

Traditional machine learning (ML) and deep learning (DL) models have shown effectiveness in natural language processing (NLP) tasks, such as sentiment analysis.However, they often struggle with complex linguistic structures, such as sarcasm and implicit claims.This paper introduces a Quantum Long Short-Term Memory (QLSTM) framework for detecting sarcasm and identifying claims in text, aiming to enhance the analysis of complex sentences.We evaluate four approaches: (1) classical LSTM, (2) quantum framework using QLSTM, (3) voting ensemble combining classical and quantum LSTMs, and (4) hybrid framework integrating both types.The experimental results indicate that the QLSTM approach excels in sarcasm detection, while the voting framework performs best in claim identification.

DOI
10.26615/978-954-452-098-4-097

Related papers

Hybrid Quantum-Classical Recurrent Models for Sarcasm Detection: A Comparative Study

Islam Djemmal, Hacene Belhadef

Abstract Sarcasm detection is a challenging task in Natural Language Processing (NLP) due to its reliance on subtle and implicit linguistic cues that are often not explicitly expressed in text. Designing models capable of capturing such nuanced patterns remains an open problem. In this work, we investigate hybrid quantum–classical recurrent architectures for sarcasm detection by conducting a comparative study of classical and quantum-enhanced sequence models, including Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and their quantum counterparts, Quantum LSTM (QLSTM) and Quantum GRU (QGRU).We employ a pre-trained BERT model to extract contextualized token embeddings, which are subsequently compressed through classical neural layers to ensure compatibility with Noisy Intermediate-Scale Quantum (NISQ) devices. In the proposed quantum-enhanced models, classical linear transformations within recurrent gates are replaced by Variational Quantum Circuits (VQCs), enabling the exploitation of quantum properties such as superposition and entanglement within a hybrid learning framework.Experimental results on a balanced sarcasm-labeled dataset indicate that both QLSTM and QGRU achieve performance levels comparable to their classical counterparts, despite utilizing significantly fewer trainable parameters. Notably, the quantum-enhanced models require approximately 10% of the parameters used by their classical equivalents while maintaining similar macro F1 scores. These findings suggest that hybrid quantum recurrent architectures can serve as compact and parameter-efficient alternatives to classical sequence models, highlighting their potential applicability in quantum natural language processing under near-term hardware constraints.

•Apr 22, 2026•0 citations

Advancing Textual Semantic Understanding with Quantum LSTM Networks

Muhammad Mustafa Umar Gondel, Kyung Min Byun, Hyundong Shin

Long Short-Term Memory (LSTM) networks are adept at managing long-term dependencies in sequential data, making them particularly effective for understanding semantics in context. However, challenges such as language complexity and data limitations persist in natural language processing (NLP). Quantum computing utilizes quantum mechanics to tackle complex language structures with limited data. By integrating quantum computing with LSTM, we can address the issues of linguistic complexity and data scarcity. In this paper, we present a Quantum Long Short-Term Memory (QLSTM) network that comprehends the semantics of textual data. Our simulations demonstrate superior capability of QLSTM in capturing textual semantics.

International Conference on Information and Communication Technology Convergence (ICTC)•Oct 16, 2024•3 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

Hybrid Classical-Quantum Framework for Sentiment Classification and Claim Check-Worthiness Identification in Bengali

Pritam Pal, Dipankar Das, Anup Kumar Kolya +1 more

Traditional machine learning and deep learning models have demonstrated remarkable performance across various NLP tasks in multiple languages.However, these conventional models often struggle with languages with complex linguistic structures and nuanced contexts, such as Bengali.Recent advancements in quantum computing offer promising solutions for tackling complex, computationally challenging problems, providing faster, more efficient processing than classical systems.This research aims to address the challenges posed by the intricate linguistic structure of the less-resourced Bengali language by developing a quantumenhanced framework for sentiment classification and claim-checkworthiness identification.We created a classical LSTM framework and proposed novel 2-qubit and 4-qubit classicalquantum frameworks, evaluating their effectiveness for sentiment classification and claimcheckworthiness identification tasks in Bengali.An entirely new dataset comprising ≈3K samples was developed by curating Bengali news headlines from prominent sources.We tagged these headlines with sentiment and claim checkworthy labels using state-of-the-art LLMs.Our findings indicate that the quantum-enhanced frameworks outperform the traditional models in both tasks.Notably, the 4-qubit-based framework achieved the highest F1-score in sentiment classification, while the 2-qubit-based framework demonstrated the best F1-score in claim checkworthiness identification.

•Jan 1, 2025•0 citations

Quantum Long Short-Term Memory

Samuel Yen-Chi Chen, Shinjae Yoo, Yao-Lung L. Fang

Long short-term memory (LSTM) is a kind of recurrent neural networks (RNN) for sequence and temporal dependency data modeling and its effectiveness has been extensively established. In this work, we propose a hybrid quantum-classical model of LSTM, which we dub QLSTM. We demonstrate that the proposed model successfully learns several kinds of temporal data. In particular, we show that for certain testing cases, this quantum version of LSTM converges faster, or equivalently, reaches a better accuracy, than its classical counterpart. Due to the variational nature of our approach, the requirements on qubit counts and circuit depth are eased, and our work thus paves the way toward implementing machine learning algorithms for sequence modeling such as natural language processing, speech recognition on noisy intermediate-scale quantum (NISQ) devices.

IEEE International Conference on Acoustics Speech and Signal Processing•Apr 27, 2022•284 citations

An Effective Strategy for Sentiment Analysis Based on Complex-Valued Embedding and Quantum Long Short-Term Memory Neural Network

Zhulu Chu, Xihan Wang, Meilin Jin +3 more

Sentiment analysis aims to study, analyse and identify the sentiment polarity contained in subjective documents. In the realm of natural language processing (NLP), the study of sentiment analysis and its subtask research is a hot topic, which has very important significance. The existing sentiment analysis methods based on sentiment lexicon and machine learning take into account contextual semantic information, but these methods still lack the ability to utilize context information, so they cannot effectively encode context information. Inspired by the concept of density matrix in quantum mechanics, we propose a sentiment analysis method, named Complex-valued Quantum-enhanced Long Short-term Memory Neural Network (CQLSTM). It leverages complex-valued embedding to incorporate more semantic information and utilizes the Complex-valued Quantum-enhanced Long Short-term Memory Neural Network for feature extraction. Specifically, a complex-valued neural network based on density matrix is used to capture interactions between words (i.e., the correlation between words). Additionally, the Complex-valued Quantum-enhanced Long Short-term Memory Neural Network, which is inspired by the quantum measurement theory and quantum long short-term memory neural network, is developed to learn interactions between sentences (i.e., contextual semantic information). This approach effectively encodes semantic dependencies, which reflects the dispersion of words in the embedded space of sentences and comprehensively captures interactive information and long-term dependencies among the emotional features between words. Comparative experiments were performed on four sentiment analysis datasets using five traditional models, showcasing the effectiveness of the CQLSTM model.

Axioms•Mar 21, 2024•25 citations
Traditional machine learning (ML) and deep learning (DL) models have shown effectiveness in natural language processing (NLP) tasks, such as sentiment analysis.However, they often struggle with complex linguistic structures, such as sarcasm and implicit claims.This paper introduces a Quantum Long Short-Term Memory (QLSTM) framework for detecting sarcasm and identifying claims in text, aiming to enhance the analysis of complex sentences.We evaluate four approaches: (1) classical LSTM, (2) quantum framework using QLSTM, (3) voting ensemble combining classical and quantum LSTMs, and (4) hybrid framework integrating both types.The experimental results indicate that the QLSTM approach excels in sarcasm detection, while the voting framework performs best in claim identification.
Abstract Sarcasm detection is a challenging task in Natural Language Processing (NLP) due to its reliance on subtle and implicit linguistic cues that are often not explicitly expressed in text. Designing models capable of capturing such nuanced patterns remains an open problem. In this work, we investigate hybrid quantum–classical recurrent architectures for sarcasm detection by conducting a comparative study of classical and quantum-enhanced sequence models, including Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and their quantum counterparts, Quantum LSTM (QLSTM) and Quantum GRU (QGRU).We employ a pre-trained BERT model to extract contextualized token embeddings, which are subsequently compressed through classical neural layers to ensure compatibility with Noisy Intermediate-Scale Quantum (NISQ) devices. In the proposed quantum-enhanced models, classical linear transformations within recurrent gates are replaced by Variational Quantum Circuits (VQCs), enabling the exploitation of quantum properties such as superposition and entanglement within a hybrid learning framework.Experimental results on a balanced sarcasm-labeled dataset indicate that both QLSTM and QGRU achieve performance levels comparable to their classical counterparts, despite utilizing significantly fewer trainable parameters. Notably, the quantum-enhanced models require approximately 10% of the parameters used by their classical equivalents while maintaining similar macro F1 scores. These findings suggest that hybrid quantum recurrent architectures can serve as compact and parameter-efficient alternatives to classical sequence models, highlighting their potential applicability in quantum natural language processing under near-term hardware constraints.
Long Short-Term Memory (LSTM) networks are adept at managing long-term dependencies in sequential data, making them particularly effective for understanding semantics in context. However, challenges such as language complexity and data limitations persist in natural language processing (NLP). Quantum computing utilizes quantum mechanics to tackle complex language structures with limited data. By integrating quantum computing with LSTM, we can address the issues of linguistic complexity and data scarcity. In this paper, we present a Quantum Long Short-Term Memory (QLSTM) network that comprehends the semantics of textual data. Our simulations demonstrate superior capability of QLSTM in capturing textual semantics.
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.
Traditional machine learning and deep learning models have demonstrated remarkable performance across various NLP tasks in multiple languages.However, these conventional models often struggle with languages with complex linguistic structures and nuanced contexts, such as Bengali.Recent advancements in quantum computing offer promising solutions for tackling complex, computationally challenging problems, providing faster, more efficient processing than classical systems.This research aims to address the challenges posed by the intricate linguistic structure of the less-resourced Bengali language by developing a quantumenhanced framework for sentiment classification and claim-checkworthiness identification.We created a classical LSTM framework and proposed novel 2-qubit and 4-qubit classicalquantum frameworks, evaluating their effectiveness for sentiment classification and claimcheckworthiness identification tasks in Bengali.An entirely new dataset comprising ≈3K samples was developed by curating Bengali news headlines from prominent sources.We tagged these headlines with sentiment and claim checkworthy labels using state-of-the-art LLMs.Our findings indicate that the quantum-enhanced frameworks outperform the traditional models in both tasks.Notably, the 4-qubit-based framework achieved the highest F1-score in sentiment classification, while the 2-qubit-based framework demonstrated the best F1-score in claim checkworthiness identification.
Long short-term memory (LSTM) is a kind of recurrent neural networks (RNN) for sequence and temporal dependency data modeling and its effectiveness has been extensively established. In this work, we propose a hybrid quantum-classical model of LSTM, which we dub QLSTM. We demonstrate that the proposed model successfully learns several kinds of temporal data. In particular, we show that for certain testing cases, this quantum version of LSTM converges faster, or equivalently, reaches a better accuracy, than its classical counterpart. Due to the variational nature of our approach, the requirements on qubit counts and circuit depth are eased, and our work thus paves the way toward implementing machine learning algorithms for sequence modeling such as natural language processing, speech recognition on noisy intermediate-scale quantum (NISQ) devices.
Sentiment analysis aims to study, analyse and identify the sentiment polarity contained in subjective documents. In the realm of natural language processing (NLP), the study of sentiment analysis and its subtask research is a hot topic, which has very important significance. The existing sentiment analysis methods based on sentiment lexicon and machine learning take into account contextual semantic information, but these methods still lack the ability to utilize context information, so they cannot effectively encode context information. Inspired by the concept of density matrix in quantum mechanics, we propose a sentiment analysis method, named Complex-valued Quantum-enhanced Long Short-term Memory Neural Network (CQLSTM). It leverages complex-valued embedding to incorporate more semantic information and utilizes the Complex-valued Quantum-enhanced Long Short-term Memory Neural Network for feature extraction. Specifically, a complex-valued neural network based on density matrix is used to capture interactions between words (i.e., the correlation between words). Additionally, the Complex-valued Quantum-enhanced Long Short-term Memory Neural Network, which is inspired by the quantum measurement theory and quantum long short-term memory neural network, is developed to learn interactions between sentences (i.e., contextual semantic information). This approach effectively encodes semantic dependencies, which reflects the dispersion of words in the embedded space of sentences and comprehensively captures interactive information and long-term dependencies among the emotional features between words. Comparative experiments were performed on four sentiment analysis datasets using five traditional models, showcasing the effectiveness of the CQLSTM model.