Quantum Graph Transformer for NLP Sentiment Classification
Not on the map. Why?
Abstract (arXiv)
Quantum machine learning is a promising direction for building more efficient and expressive models, particularly in domains where understanding complex, structured data is critical. We present the Quantum Graph Transformer (QGT), a hybrid graph-based architecture that integrates a quantum self-attention mechanism into the message-passing framework for structured language modeling. The attention mechanism is implemented using parameterized quantum circuits (PQCs), which enable the model to capture rich contextual relationships while significantly reducing the number of trainable parameters compared to classical attention mechanisms. We evaluate QGT on five sentiment classification benchmarks. Experimental results show that QGT consistently achieves higher or comparable accuracy than existing quantum natural language processing (QNLP) models, including both attention-based and non-attention-based approaches. When compared with an equivalent classical graph transformer, QGT yields an average accuracy improvement of 5.42% on real-world datasets and 4.76% on synthetic datasets. Additionally, QGT demonstrates improved sample efficiency, requiring nearly 50% fewer labeled samples to reach comparable performance on the Yelp dataset. These results highlight the potential of graph-based QNLP techniques for advancing efficient and scalable language understanding.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 40 references that are in the map. First posted on arXiv 9 Jun 2025.
Builds on
13 of 40 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2018Supervised learning with quantum enhanced feature spacescited by 665
- 2019Graph Transformer Networkscited by 523
- 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 210
- 2023Challenges and Opportunities in Quantum Machine Learningcited by 203
- 2021QNLP in Practice: Running Compositional Models of Meaning on a Quantum Computercited by 67
- 2022Quantum Self-Attention Neural Networks for Text Classificationcited by 43
- 2023Applying QNLP to sentiment analysis in financecited by 23
1 more
- 2024Quantum Mixed-State Self-Attention Networkcited by 11
Built on by
Not cited yet.