QTrans: A Quantum Transformer for Sentiment Classification

📅 2026-09-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决轻量级模型难以捕捉文本情感线索非线性耦合问题,提出使用参数化量子电路的QTrans模型,通过构建新的特征提取与注意力机制方法,在多个数据集上实现了更优的情感分类准确率。
📝 Abstract
In small-scale binary sentiment classification scenarios, factors such as negation, contrastive shifts, and cross-word dependencies lead to the non-linear coupling of sentiment cues, making it difficult for conventional lightweight models to fully capture the contextual relationships between tokens. To address this issue, we propose a model named QTrans, which uses parameterized quantum circuits to construct query, key, and value features and derives attention coefficients from Gaussian distances between quantum measurements. By further integrating a quantum feed-forward neural network, residual connections, and layer normalization, the model establishes an end-to-end trainable quantum-classical hybrid framework for sentiment classification. Experimental results on the MR, CR, and MPQA datasets show that QTrans achieves test accuracies of 72.13\%, 69.51\%, and 63.45\%, respectively, representing improvements of 2.88, 3.17, and 3.79 percentage points over the best-performing classical baselines for each dataset. Overall, QTrans expands the application of parameterized quantum circuits in lightweight sentiment analysis and lays an experimental foundation for further research into quantum multi-head self-attention for modeling textual relationships.
Problem

Research questions and friction points this paper is trying to address.

sentiment classification
non-linear coupling
contextual relationships
lightweight models
Innovation

Methods, ideas, or system contributions that make the work stand out.

parameterized quantum circuits
Gaussian distances
quantum feed-forward neural network
hybrid framework
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
R
Ren-Xin Zhao
School of Computer Science, Xiangtan University, Xiangtan 411105, China
X
Xinjie Huang
School of Electronic Information, Central South University, Changsha 410083, China
Y
Yahong Liu
School of Electronic Information, Central South University, Changsha 410083, China
M
Maoyu Ye
Department of Otorhinolaryngology-Head and Neck Surgery, the Third Xiangya Hospital, Central South University, Changsha 410013, China
J
Jinjing Shi
School of Electronic Information, Central South University, Changsha 410083, China
Shi Wang
Shi Wang
Institute of Computing Technology
knowledge graphnatural language processingneural-symbolic dual-process computing
Y
Yaonan Wang
School of Artificial Intelligence and Robotics, Hunan University, Changsha 410082, China