Generalization in Quantum Machine Learning: A Quantum Information Standpoint

Leonardo Banchi, Jason L. Pereira, Stefano Pirandola

PRX Quantum · 2021 · 153 citations · 45 references

DOIFull text

Open access

Concepts

TL;DR

Quantum classification and hypothesis testing differ mainly in that classification learns a mapping from quantum states to classes, and the central issue is whether the model generalizes to unseen states. The authors link quantum classification to hypothesis testing and show that accuracy and generalization depend on R\'enyi mutual informations between quantum states and classical parameters or classes. They analyze how Hilbert space dimension, noise, and information loss affect performance, and introduce a quantum Information Bottleneck to trade accuracy and generalization. They validate predictions by classifying Ising spin‑chain phases and propose the Variational Quantum Information Bottleneck method to optimize embeddings for better generalization.

Abstract

Quantum classification and hypothesis testing are two tightly related subjects, the main difference being that the former is data driven: how to assign to quantum states $\rho(x)$ the corresponding class $c$ (or hypothesis) is learnt from examples during training, where $x$ can be either tunable experimental parameters or classical data "embedded" into quantum states. Does the model generalize? This is the main question in any data-driven strategy, namely the ability to predict the correct class even of previously unseen states. Here we establish a link between quantum machine learning classification and quantum hypothesis testing (state and channel discrimination) and then show that the accuracy and generalization capability of quantum classifiers depend on the (R\'enyi) mutual informations $I(C{:}Q)$ and $I_2(X{:}Q)$ between the quantum state space $Q$ and the classical parameter space $X$ or class space $C$. Based on the above characterization, we then show how different properties of $Q$ affect classification accuracy and generalization, such as the dimension of the Hilbert space, the amount of noise, and the amount of neglected information from $X$ via, e.g., pooling layers. Moreover, we introduce a quantum version of the Information Bottleneck principle that allows us to explore the various tradeoffs between accuracy and generalization. Finally, in order to check our theoretical predictions, we study the classification of the quantum phases of an Ising spin chain, and we propose the Variational Quantum Information Bottleneck (VQIB) method to optimize quantum embeddings of classical data to favor generalization.

References

45