[Paper Review] Variational Quanvolutional Neural Networks with enhanced image encoding
This paper proposes a variational quanvolutional neural network (QNN) with enhanced image encoding to improve image classification on Noisy Intermediate-Scale Quantum (NISQ) devices. By integrating trainable quantum circuits with three quantum image encoding methods—FRQI, NEQR, and Threshold encoding—it demonstrates that FRQI encoding combined with small filter sizes and trainable circuits yields the highest accuracy, outperforming untrainable models and other encodings under similar constraints.
Image classification is an important task in various machine learning applications. In recent years, a number of classification methods based on quantum machine learning and different quantum image encoding techniques have been proposed. In this paper, we study the effect of three different quantum image encoding approaches on the performance of a convolution-inspired hybrid quantum-classical image classification algorithm called quanvolutional neural network (QNN). We furthermore examine the effect of variational - i.e. trainable - quantum circuits on the classification results. Our experiments indicate that some image encodings are better suited for variational circuits. However, our experiments show as well that there is not one best image encoding, but that the choice of the encoding depends on the specific constraints of the application.
Motivation & Objective
- To investigate the impact of different quantum image encoding techniques on the performance of variational quanvolutional neural networks (QNNs).
- To evaluate the effect of trainable (variational) quantum circuits versus fixed circuits in a hybrid quantum-classical image classification framework.
- To determine optimal combinations of encoding methods and circuit architectures for improved classification accuracy on NISQ devices.
- To assess the trade-offs between encoding complexity, circuit depth, and model performance under resource constraints of current quantum hardware.
Proposed method
- Proposes a hybrid quantum-classical architecture inspired by convolutional neural networks (CNNs), adapted as a quanvolutional neural network (QNN) for image classification.
- Employs three quantum image encoding methods: FRQI (Flexible Representation for Quantum Images), NEQR ( Novel Entangled Quantum Representation), and Threshold encoding, to map classical images into quantum states.
- Introduces trainable quantum circuits using variational quantum circuits (VQCs) with parameterized single- and two-qubit gates, optimized via classical backpropagation.
- Uses a fixed architecture with $2\times2$ and $4\times4$ convolutional filters, applying the same gate sequence across experiments to isolate the effects of encoding and trainability.
- Employs a quantum simulator for training and inference, with models trained for 50 epochs and evaluated on a subset of MNIST (10,000 train, 500 validation, 1,000 test images).
- Averages performance metrics (accuracy) over 10 random seeds and reports mean and maximum values across the last 20 epochs to assess stability and peak performance.
Experimental results
Research questions
- RQ1How does the choice of quantum image encoding (FRQI, NEQR, Threshold) affect the classification accuracy of a variational quanvolutional neural network?
- RQ2What is the impact of making the quantum circuit trainable versus fixed on model performance?
- RQ3Does the combination of FRQI encoding with small filter sizes ($2\times2$) yield superior performance compared to larger filters or other encodings?
- RQ4How do circuit depth and resource requirements influence model accuracy, especially when scaling filter sizes?
- RQ5Can a trainable quantum circuit significantly improve classification performance when combined with specific image encoding strategies?
Key findings
- The FRQI encoding with $2\times2$ filters and trainable quantum circuits achieved the highest test accuracy of 0.854, significantly outperforming the untrainable version (0.806) and other encodings.
- For $2\times2$ filters, the FRQI trainable model reached a maximum test accuracy of 0.884, indicating strong performance under optimal conditions.
- Surprisingly, increasing filter size to $4\times4$ led to a notable drop in accuracy for FRQI encoding, with test accuracy decreasing from 0.854 to 0.715, suggesting circuit depth or entanglement issues.
- Threshold encoding with $2\times2$ filters achieved a test accuracy of 0.825 when trainable, outperforming NEQR and FRQI in the untrainable setting, indicating its robustness in non-trainable configurations.
- The NEQR encoding showed stable but moderate performance, with a maximum test accuracy of 0.846 for $4\times4$ trainable models, but did not surpass FRQI in the best-case scenario.
- The study found no universally optimal encoding; instead, performance depends on the interplay between encoding method, filter size, and trainability, with FRQI + small filters + trainable circuits emerging as the top-performing configuration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.