TechRxiv
paper.pdf (156.08 kB)

Hybrid Quantum-Classical Neural Networks for Text Classification

Download (156.08 kB)
preprint
posted on 2021-01-04, 09:23 authored by Dhruv BaroniaDhruv Baronia
Quantum Computing presents an interesting paradigm where it can possibly offer certain improvements and additions to a classical network while training. This method is particularly prevalent in the current Noisy Intermediate-Scale Quantum era, where we can test these theories using libraries such as Pennylane in conjunction with robust ML frameworks such as TensorFlow. This paper presents a proof-of-concept for the same, using a hybrid quantum-classical model to solve a text classification problem on the IMDB Movie Sentiment Dataset. These hybrid models utilize precalculated embeddings and dense layers alongside a variational quantum circuit layer. We created 4 such models, utilizing various kinds of embeddings, namely NNLM-128, NNLM-50, Swivel and USE, using TFHub and Pennylane. We also trained classical versions of these models, without the variational quantum layer to evaluate the performances. All models were trained on the same data, keeping the parameters constant.

History

Email Address of Submitting Author

baroniadhruv9@gmail.com

Submitting Author's Institution

Delhi Public School Sushant Lok

Submitting Author's Country

  • India

Usage metrics

    Licence

    Exports