Abstract
Self-supervised learning (SSL) has revolutionized artificial intelligence by enabling models to learn from vast, unlabelled datasets. However, the computational intensity of SSL poses significant challenges for classical hardware. This paper introduces Quantum Self-Supervised Learning (QSSL), a hybrid framework that integrates classical deep learning with variational quantum circuits. By adapting the SimCLR algorithm, we demonstrate that small-scale quantum neural networks can outperform equivalently structured classical networks. Our results, obtained from both simulations and real-world noisy quantum hardware, indicate a "numerical advantage" and resilience to measurement noise, paving the way for quantum-enhanced representation learning.
Introduction
Self-supervised learning (SSL) allows models to capture complex data correlations without human-annotated labels. Despite its success, SSL is computationally "heavy," requiring substantial data and model capacity. As classical hardware performance plateaus, Quantum Neural Networks (QNNs) emerge as a promising alternative. This research investigates whether the exponentially large feature space of quantum systems can more efficiently host complex data representations than classical architectures.
Hybrid Classical-Quantum Pipeline
The proposed QSSL framework adapts the SimCLR (Simple Framework for Contrastive Learning) algorithm into a hybrid pipeline. The architecture consists of four main stages:
- Augmentation: Two stochastic "views" of an image are generated through transformations like cropping and rotating.
- Hybrid Encoder: A classical ResNet-18 extracts high-level features, which are then processed by a Representation Network. This component is the focus of comparison between a classical Multi-Layer Perceptron (MLP) and a Variational Quantum Circuit (VQC).
- Quantum Representation: In the quantum variant, data is loaded into qubits via rotation gates and processed through entangling layers.
- Contrastive Loss: The system is trained to minimize the distance between representations of the same image (positive pairs) and maximize the distance between different images (negative pairs) in Hilbert space.
Training utilizes the parameter shift rule for gradient calculation, enabling end-to-end backpropagation across the hybrid architecture.
Experimental Results
The study utilized subsets of the CIFAR-10 dataset to evaluate performance. Key findings include:
- Numerical Advantage: Even with a bottleneck of only 8 qubits, the quantum model consistently achieved higher accuracy than a classical model of identical width and depth. In linear probing tests, the quantum model reached an average accuracy of 46.51% ± 1.37%, significantly surpassing the classical baseline of 43.49% ± 1.31%.
- Hardware Readiness: The model was successfully deployed on the ibmq_paris 27-qubit processor. Despite the inherent noise of Noisy Intermediate-Scale Quantum (NISQ) devices, the quantum model achieved 47.00% accuracy, demonstrating competitive performance with classical equivalents on real-world hardware.
- Resilience to Shot Noise: The QSSL model maintained its performance advantage even with as few as 100 measurement shots, highlighting its robustness to the probabilistic nature of quantum computing.
Conclusion
This research provides a foundational step toward practical Quantum Self-Supervised Learning. The demonstrated numerical advantage suggests that quantum circuits can represent complex distributions more effectively than simple classical layers. While scaling to larger qubit counts remains a challenge due to issues like "barren plateaus," the success on current NISQ hardware suggests that quantum-enhanced representation learning is a viable path for future AI development.
Summary updated