arXiv:2610.25549cs.CLOct 2026

Manuscript Offprint

arXiv:2610.25549

EmotiQ: A Quantum Residual Specialist Framework for Text Emotion Classification

Carlton Kigonya, Tanaka Chirara, Yunting Yin

Carlton Kigonya

Department of Computer Science

Earlham College

Richmond, IN, USA

cskigon24@earlham.edu

Tanaka Chirara

Department of Computer Science

Earlham College

Richmond, IN, USA

tchira24@earlham.edu

Yunting Yin

Department of Computer Science

Eastern Michigan University

Ypsilanti, MI, USA

yyin@emich.edu

Abstract—Emotion classification from text is challenging because many affective states are distinguished by subtle linguistic signals and semantically overlapping boundaries. We investigate whether compact quantum modules can serve as targeted residual specialists that assist traditional classifiers on difficult emotion decisions. We introduce EmotiQ, a residual specialist framework for text emotion classification using a frozen transformer classifier as the primary decision maker, identifies challenging emotion boundaries from validation behavior, and trains boundary specialists, including quantum encodings, data re-uploading specialists, prototype and fidelity specialists, and kernel-based specialists. Specialists are permitted to intervene only when they satisfy validation-based admission criteria. We evaluate the framework across six text emotion classification datasets and establish traditional model baselines. Experimental results show that the admitted EmotiQ policy improves mean macro-F1 metrics over the baseline, and achieves positive gains on five of six datasets. Among the quantum components, ZZ interaction feature maps are the most consistently effective, yielding a mean macro-F1 improvement of +0.0030 and positive gains on four datasets. These findings suggest that current quantum NLP methods can be deployed as residual specialists that provide localized improvements under strong classical supervision.

Index Terms—quantum natural language processing, emotion classification, quantum computing

I. INTRODUCTION

Emotion classification aims to identify affective states such as joy, anger, fear, sadness, surprise, and disgust from data. Despite substantial advances in language modeling, fine-grained emotion recognition remains challenging for textual data because many affective categories are separated by ambiguous decision boundaries. Closely related emotions often share vocabulary and sentiment, making them difficult to distinguish even for strong pretrained language models. These characteristics make emotion classification a useful benchmark for studying representation learning methods that can capture complex nonlinear relationships in textual data. Quantum natural language processing explores whether quantum-inspired representations can improve language understanding tasks. In this study, we ask whether these methods can provide complementary information for difficult low-confidence decisions.

To investigate this idea, we propose EmotiQ, a quantum residual specialist framework for text emotion classification. EmotiQ uses a frozen DistilBERT classifier as the primary decision maker and uses validation behavior to identify emotion boundaries where the base model is frequently confused or uncertain. For each selected boundary, the framework trains a bank of compact specialists, including quantum encodings, data re-uploading circuits, prototype-based models, and kernel-based methods [1], [2]. Specialists are allowed to intervene only after satisfying validation-based admission criteria that evaluate predictive gain.

We evaluate the framework on six emotion classification datasets spanning different label granularities and domains. Experimental results show that compact quantum modules can provide modest but consistent gains when deployed selectively on emotion boundaries discovered in validation. More broadly, the results suggest that current quantum NLP methods can be used as residual components operating alongside classical models. Code is available at https://github.com/AcaiLab/EmotiQ-text.