Introduction
Classification is a fundamental task in machine learning, traditionally handled by classical algorithms. Recent advancements in quantum information theory have led to the development of "quantum-inspired" (QI) algorithms that utilize quantum mechanical principles on classical hardware. However, many existing QI models are limited to binary classification, requiring computationally expensive strategies like "One-vs-One" (OvO) or "One-vs-Rest" (OvR) to handle multi-class datasets. This paper presents a novel QI algorithm designed for direct multi-class classification using the Pretty Good Measurement (PGM) framework.
Methodology
The proposed algorithm transitions from binary to multi-class classification by leveraging two primary concepts from quantum mechanics: quantum centroids and the PGM protocol.
Quantum Centroids and Density Operators
Classical data points are mapped into a high-dimensional Hilbert space and represented as density operators. For each class, a "quantum centroid" is calculated as the uniformly weighted sum of the density operators of its constituent data points. This representation captures more complex statistical properties than simple arithmetic averages, providing a richer foundation for classification.
The Pretty Good Measurement (PGM)
To distinguish between the non-orthogonal quantum states representing different classes, the researchers employ the Pretty Good Measurement (PGM). PGM is a specific type of Positive Operator-Valued Measurement (POVM) that provides a near-optimal success probability for discriminating between multiple quantum states. By applying PGM directly to the class centroids, the algorithm performs multi-class classification in a single step, avoiding the cumulative errors and computational overhead of multiple binary comparisons.
Feature Space Expansion via Tensor Products
A significant innovation in this approach is the use of $n$-tensor copies. By taking the $n$-th tensor product of a data point's quantum state with itself, the algorithm effectively expands the feature space. This technique is analogous to the "kernel trick" used in Support Vector Machines, allowing for the identification of non-linear patterns in higher dimensions that are invisible in lower ones. The researchers demonstrated that increasing $n$ monotonically improves the theoretical Helstrom bound—the limit of state distinguishability—thereby enhancing classification accuracy at the cost of classical runtime.
Experimental Evaluation
The algorithm was benchmarked using 11 diverse datasets from the UCI Machine Learning Repository and the Penn Machine Learning Benchmark (PMLB), including Iris, Ecoli, and Led7. These datasets varied in feature count (3 to 7) and class count (2 to 10), providing a robust stress test for the model.
Performance and Efficiency
The PGM-based classifier demonstrated superior performance, achieving the highest average balanced accuracy among 11 standard classical classifiers, including K-Nearest Neighbors (KNN), Random Forest, and Naive Bayes, being surpassed only slightly by the Multi-Layer Perceptron (MLP). Notably, the PGM model achieved a "winning ratio" of 67.32% in head-to-head comparisons, indicating high robustness.
In terms of computational efficiency, the direct multi-class approach offered significant advantages over traditional QI binary strategies. For the Led7 dataset, the PGM model was approximately 18 times faster than the OvO approach while maintaining higher accuracy. This efficiency stems from bypassing the combinatorial explosion of tasks required by binary strategies.
Conclusion and Future Work
The PGM-based quantum-inspired algorithm provides a robust and efficient framework for direct multi-class classification. While currently implemented on classical hardware, the mathematical structure is inherently compatible with quantum processors. The authors outline how Neumark’s theorem could be used to implement this on a real quantum processor using ancilla qubits, potentially offering exponential memory advantages. Future research will focus on implementing the training phase via quantum circuits and exploring applications in high-dimensional fields such as bioimaging.
Summary updated