QUILT: Effective Multi-Class Classification on Quantum Computers Using an Ensemble of Diverse Quantum Classifiers

Daniel Silver, Tirthak Patel, Devesh Tiwari

Introduction: The Challenge of Multi-Class Quantum Classification

In the current Noisy Intermediate-Scale Quantum (NISQ) era, hardware is constrained by low qubit counts and high error rates. While Quantum Machine Learning (QML) has shown promise in binary classification, extending these capabilities to multi-class problems (e.g., classifying eight different digits) remains a significant hurdle.

Standard approaches like "OneVsOne" require training a separate classifier for every pair of classes. This leads to quadratic scaling—an 8-class problem requires 28 models—and creates "unclassifiable regions" where noisy models provide conflicting results, leading to a sharp decline in accuracy as the number of classes grows.

Scaling and accuracy challenges of standard multi-class quantum classification methods, showing quadratic model growth and declining accuracy.

The QUILT Framework

QUILT addresses these limitations by moving away from single, complex models toward an ensemble of simple, diverse "core" classifiers. The architecture is built on three pillars:

  1. Diverse Core Classifiers: Instead of one deep circuit, QUILT uses five shallow circuits with different internal topologies (CNOT gate connections). This diversity ensures that different models have different "blind spots" regarding hardware noise.
  2. Bit-wise Labeling: QUILT maps class labels to binary strings using measurement qubits. For example, three qubits can represent eight classes ($2^3 = 8$).
  3. OneVsAll Safeguard: When the core ensemble exhibits low confidence for a specific bit, a targeted "OneVsAll" binary classifier is triggered to resolve the ambiguity. This targeted error correction only runs when needed, saving precious computational resources.
The QUILT pipeline, showing the transition from quantum training to core inference, classical aggregation, and targeted error correction.

Experimental Setup and Datasets

The researchers evaluated QUILT using Principal Component Analysis (PCA) to compress high-dimensional images into 32 features suitable for a 5-qubit system. Testing was conducted on three benchmarks:

  • MNIST: Handwritten digits.
  • Fashion-MNIST: Clothing items.
  • CIFAR-10: Complex color images.

Key Insights

  • Linear Scaling: QUILT scales linearly ($5 + n$ models for $n$ classes), making it far more practical than quadratic OneVsOne methods as the number of categories increases.
  • Topology-Driven Diversity: True ensemble diversity in quantum circuits requires changing physical gate connections, not just initial weights. Shallow, simple circuits often outperform single deep, complex ones in noisy environments.
  • Efficiency: By only invoking the OneVsAll safeguard when confidence is low, QUILT optimizes the use of limited quantum resources while maintaining high performance.

Results and Performance

QUILT demonstrates remarkable improvements over the state-of-the-art. On an 8-class MNIST task, it achieved 85% accuracy, a 46% improvement over traditional OneVsOne methods. Real-world hardware tests on IBM Manila and IBM Lima confirmed that QUILT's safeguard mechanism effectively mitigates hardware-specific errors. While performance on CIFAR-10 was lower due to the aggressive PCA compression required, QUILT remained the most scalable and robust solution across all tested datasets.

Future Directions

The primary bottleneck remains the "PCA bottleneck" necessitated by low qubit counts. As hardware scales and qubit counts increase, QUILT can be adapted to handle higher-dimensional data without relying so heavily on classical preprocessing. Additionally, integrating noise-aware training directly into the ensemble generation process could further bridge the gap between simulation and real-world hardware performance.

Summary updated

BibTeX
@inproceedings{silver2022quilt,
  author = {Daniel Silver and Tirthak Patel and Devesh Tiwari},
  title = {{QUILT: Effective Multi-Class Classification on Quantum Computers Using an Ensemble of Diverse Quantum Classifiers}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20807},
}
Figure