A Comparative Study of Quantum Neural Networks and Compositional Models for Quantum Natural Language Processing
摘要
Quantum Natural Language Processing (QNLP) has two primary research directions: compositional models like DisCoCat and quantum neural network (QNN)-based models. However, there is a gap in the literature regarding comparative studies between these approaches. This paper aims to synthesize the key differences in scalability, learning paradigms, and quantum implementation requirements of both models. We provide a comparative analysis of Quantum Recurrent Neural Network (QRNN) and DisCoCat, two of the most prominent models in the QNN and compositional categories, respectively. Our experiments, focusing on accuracy and training time, show that QRNN outperforms DisCoCat, achieving 30% higher accuracy and reducing training time by 1–2 hours. However, traditional RNN models surpass QRNN, offering 20% higher accuracy and a 200-second faster training time. These findings suggest that while DisCoCat is suitable for smaller, syntactically driven tasks, QRNN is more appropriate for larger datasets and tasks where data-driven learning is essential. This study provides a practical guide for choosing between these models based on task complexity, dataset size, and computational resources.