Variational Quantum Domain Adaptation

Chunhui Wu,Junhao Pei,Yihua Wu,Shengmei Zhao
2023-12-15
Abstract:Quantum machine learning is an important application of quantum computing in the era of noisy intermediate-scale quantum devices. Domain adaptation is an effective method for addressing the distribution discrepancy problem between the training data and the real data when the neural network model is deployed. In this paper, a variational quantum domain adaptation method is proposed by using a quantum convolutional neural network, together with a gradient reversal module, and two quantum fully connected layers, named variational quantum domain adaptation(VQDA). The simulations on the local computer and IBM Quantum Experience (IBM Q) platform by Qiskit show the effectiveness of the proposed method. The results demonstrate that, compared to its classical corresponding domain adaptation method, VQDA achieves an average improvement of 4% on the accuracy for MNIST to USPS domain transfer under the same parameter scales. Similarly, for SYNDigits to SVHN domain transfer, VQDA achieves an average improvement of 2% on the accuracy under the same parameter scales.
Quantum Physics,Mathematical Physics
What problem does this paper attempt to address?
### What problem does this paper attempt to solve? This paper aims to address the issue of distribution differences between training data (source domain) and actual data (target domain) in computer vision tasks. Specifically, the paper proposes a Variational Quantum Domain Adaptation (VQDA) method based on Quantum Convolutional Neural Networks (QCNN) to improve the accuracy of domain adaptation tasks. #### Main Contributions: 1. **Proposed VQDA Method**: By introducing quantum convolutional layers, quantum pooling layers, and two quantum fully connected layers, combined with a Gradient Reversal Module (GRM), the variational quantum domain adaptation method is realized. 2. **Experimental Validation**: Numerical simulations and experiments on the IBM Quantum Experience platform were conducted on datasets from MNIST to USPS and SYNDigits to SVHN, demonstrating the advantages of VQDA over classical domain adaptation methods. #### Problems Addressed: - **Domain Adaptation Problem**: How to make a trained neural network model work effectively on the target domain when there are distribution differences between the training data and the actual data. - **Improving Accuracy**: Using quantum computing technology to improve the accuracy of domain adaptation tasks while maintaining the same parameter scale. For example, in the task from MNIST to USPS, VQDA improved accuracy by an average of 4%; in the task from SYNDigits to SVHN, it improved accuracy by an average of 2%. Through these improvements, the paper demonstrates the potential of quantum computing in solving domain adaptation problems and proves its feasibility in practical applications.