Introduction
Anomaly detection—the identification of rare patterns that deviate from established norms—is a critical task in fields ranging from fraud detection to industrial monitoring. While classical deep learning models have achieved significant success in this domain, they often require complex architectures with thousands or millions of parameters.
In the era of Noisy Intermediate-Scale Quantum (NISQ) hardware, the challenge is to leverage quantum advantages while operating within the constraints of limited qubits and high error rates. This paper introduces PEQAD (Parameter-Efficient Quantum Anomaly Detection), a method that utilizes the high-dimensional Hilbert space of a quantum processor to perform image anomaly detection with unprecedented parameter efficiency.
The PEQAD Framework
PEQAD approaches anomaly detection as a "one-class" learning problem. The objective is to map input data into a quantum feature space where "normal" data points can be enclosed within a compact hypersphere. Any data point falling outside this sphere is classified as an anomaly.
Workflow and Hybrid Training
The methodology employs a hybrid classical-quantum approach to overcome optimization challenges like the "barren plateau" problem. The process begins with a pre-training phase using a classical-quantum encoder-decoder structure. This phase "warms up" the variational parameters, providing a better starting point for the subsequent training on quantum hardware.
Circuit Architecture
The core of the model is a Variational Quantum Circuit (VQC). Data is first mapped into quantum states using amplitude encoding, which is highly efficient as the number of qubits scales logarithmically with the data dimensions ($n = \log D_c$). The VQC then applies layers of single-qubit rotations ($R_y(\theta)$) and CNOT gates to create entanglement, forming the learnable part of the network.
Experimental Results
The researchers benchmarked PEQAD on standard datasets including MNIST, FashionMNIST, and CIFAR-10. For hardware validation, the model was implemented on the oneD12 superconducting processor.
- Hardware Performance: On real, noisy hardware, PEQAD achieved an accuracy of 81.2% on MNIST using only 16 trainable parameters.
- Parameter Efficiency: To achieve comparable performance, a classical Deep Support Vector Data Description (DSVDD) model required approximately 400 parameters. This represents a 25x reduction in model complexity.
- Simulation Benchmarks: In noiseless simulations, the model achieved an average Area Under the Curve (AUC) of over 92% for MNIST and 91% for FashionMNIST.
Discussion and Insights
A key finding of this research is the inherent noise tolerance of the one-class learning approach. Unlike many quantum algorithms that require intensive error mitigation, PEQAD maintained robust performance on real hardware without it. This suggests that the hypersphere loss function, which minimizes the volume of the feature space occupied by normal data, may be naturally resilient to the types of noise found in superconducting processors.
Furthermore, theoretical analysis using covering numbers suggests that the expressivity of the quantum Hilbert space allows a very small number of quantum parameters to represent decision boundaries that would require significantly more complex classical networks.
Conclusion
PEQAD demonstrates a viable path for practical Quantum Machine Learning on current hardware. By prioritizing parameter efficiency and leveraging hybrid pre-training, the method achieves competitive anomaly detection performance on real superconducting processors, bridging the gap between theoretical quantum advantage and hardware reality.
Summary updated