Quantum annealer improves digit image classification with refined Ising models

Generative Ising Models on a Quantum Annealer

Machine Learning

Summary

The authors show how a quantum annealer can be used to improve image recognition of handwritten digits by representing the problem as an Ising model with extra hidden parts. They teach the system to better classify and restore images by refining settings based on samples taken directly from the hardware. This improved the accuracy noticeably, although simulations on a computer behaved differently. The study highlights how the best improvements come when the training and testing use the same kind of sample data.

What this means in practice

  • For quantum computing engineers: Optimize Ising model parameters directly on quantum annealing hardware to boost classification accuracy for image recognition tasks like handwritten digit identification.
  • For machine learning developers: Develop improved image classifiers that refine model parameters using hardware-generated samples, increasing accuracy on digit restoration and classification tasks.

Authors

Nicolas Armando Cabrera Carpio, Tiago de Souza Farias, Gabriel P. L. M. Fernandes, Antonio Paes, Celso Jorge Villas-Boas

Abstract

We distill a configuration-dependent generative energy into an Ising model with fixed pairwise couplings for a quantum annealer. The student contains auxiliary spins whose Boltzmann weights can be summed exactly to obtain a visible free energy. We fit this score to the frozen HyperIsing teacher's energy differences within each class, centered energies, and class probabilities. The visible score supports classification and restoration of MNIST images, and samples from the joint Ising Hamiltonian decode to images conditioned on a requested digit. Across three distilled students, 100 updates using hardware samples increased mean conditional accuracy on the device from 64.39% to 85.08% and macro recall in classifier feature space from 19.62% to 40.47%. The same refined weights had lower conditional accuracy than the unrefined weights when sampled by simulated quantum annealing on the logical graph. Each evaluation sampler achieved its highest recall when its own samples were used for refinement. These comparisons identify gains that depend on the pairing of refinement and evaluation samplers.