International Conference on Advanced Informatics: Concepts, Theory and Applications (ICAICTA)
Enhancing Quantum NLP Robustness - Analysis on Noisy Models for Quantum Sentiment Classification
Fariska Zakhralativa Ruskanda, Michael Jonathan Halim, Farizki Kurniawan, Infall Syafalni, Rahmat Mulyawan, Akio Higo
Abstract
This research aims to improve the robustness of Quantum Natural Language Processing (QNLP) models in the presence of noise. Using Lambeq, an open-source library for quantum NLP, we focus on sentiment classification tasks to eval-uate the impact of noisy quantum models. Our study involves the application of three types of optimizers: Simultaneous Perturbation Stochastic Approximation (SPSA), Nelder-Mead, and Adam. The performance and resilience of these optimizers are assessed under various noise conditions to determine their effectiveness in maintaining model accuracy and stability. The research shows that the Adam optimizer outperforms SPSA and NelderMead in QNLP simple sentiment analysis tasks, both in noiseless and noisy environments. Adam achieved 96.67 % accuracy in noiseless conditions, significantly higher than SPSA's 83.33 % and Nelder-Mead's 53.33%, highlighting its superior performance in optimizing quantum circuits. Moreover, in noisy simulation, Adam outperforms others with 70.00% accuracy performance. The work is useful for NLP implementations in quantum computers. This research is essential because the noisy nature of current quan-tum computers makes it difficult for QNLP models to perform accurately and reliably.