Computer Modeling in Engineering & Sciences
Quantum Kernels for Text Classification: A Statistical and Diagnostic Framework Revealing the Low-Data Regime
Mrugendrasinh L. Rahevar, Martin Parmar, Hemant Yadav, Chun-Ta Li, Agbotiname Lucky Imoize, Hiren Mewada
Abstract
Quantum kernel techniques aim to leverage quantum computational capabilities on social data. However, their application to natural language processing tasks faces formidable obstacles, such as extreme dimensionality reduction (D=384→k=8), concentration of measure in quantum feature spaces, and the lack of theoretical understanding of when quantum advantages occur in kernel-based text classification. Filling this gap, we provide a comprehensive study of quantum kernels for text classification that addresses three major challenges in existing studies: general data compression approaches that ignore class structure, the lack of a predictive diagnostic toolkit, and overlooked approaches for handling concentration effects. Our main contributions include a supervised contrastive data compression approach with theoretical guarantees of kernel alignment, a five-diagnostic toolkit connecting theoretical insights with practical performance, the discovery of a small-data regime (n≤200) in which quantum methods perform comparably to classical approaches, and a transparent demonstration that quantum kernels require carefully designed settings to remain competitive with classical counterparts. Across four datasets, evaluated using five random seeds and exact paired statistical testing, we observe that quantum projected kernels achieve an accuracy of 84.5% compared to 85.1% for the classical RBF kernel (p>0.05, not statistically significant) under supervised compression settings. However, quantum methods lag behind by approximately 2%–4% at larger scales due to concentration effects, reflected in reduced off-diagonal kernel variance (0.003 vs. 0.025).