Optimal provable robustness of quantum classification via quantum hypothesis testing

Maurice Weber,Nana Liu,Bo Li,Ce Zhang,Zhikuan Zhao
DOI: https://doi.org/10.1038/s41534-021-00410-5
IF: 10.758
2021-05-21
npj Quantum Information
Abstract:Abstract Quantum machine learning models have the potential to offer speedups and better predictive accuracy compared to their classical counterparts. However, these quantum algorithms, like their classical counterparts, have been shown to also be vulnerable to input perturbations, in particular for classification problems. These can arise either from noisy implementations or, as a worst-case type of noise, adversarial attacks. In order to develop defense mechanisms and to better understand the reliability of these algorithms, it is crucial to understand their robustness properties in the presence of natural noise sources or adversarial manipulation. From the observation that measurements involved in quantum classification algorithms are naturally probabilistic, we uncover and formalize a fundamental link between binary quantum hypothesis testing and provably robust quantum classification. This link leads to a tight robustness condition that puts constraints on the amount of noise a classifier can tolerate, independent of whether the noise source is natural or adversarial. Based on this result, we develop practical protocols to optimally certify robustness. Finally, since this is a robustness condition against worst-case types of noise, our result naturally extends to scenarios where the noise source is known. Thus, we also provide a framework to study the reliability of quantum classification protocols beyond the adversarial, worst-case noise scenarios.
physics, condensed matter, applied, atomic, molecular & chemical,quantum science & technology
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the robustness of quantum classification algorithms in the face of input perturbations. Specifically, although quantum machine - learning models are faster and have higher prediction accuracy than classical models, they are also vulnerable to input perturbations, which may come from noise in the implementation process or malicious attacks. In order to develop defense mechanisms and better understand the reliability of these algorithms, it is crucial to understand their robustness properties in the presence of natural noise sources or adversarial manipulations. The main contribution of the paper lies in revealing the fundamental connection between binary quantum hypothesis testing (BQHT) and provably robust quantum classification, and deriving a tight robustness condition based on this connection. This condition limits the amount of noise that a classifier can tolerate, regardless of whether the noise source is natural or adversarial. Based on this result, the authors develop an optimal robustness certification protocol and provide a framework to study the reliability of quantum classification protocols beyond the worst - case noise scenarios. ### Key points of the paper: 1. **Problem background**: - Quantum machine - learning models perform well in classification tasks but are vulnerable to input perturbations. - These perturbations can be natural noise or adversarial attacks. 2. **Main contributions**: - Reveal the fundamental connection between binary quantum hypothesis testing and the robustness of quantum classification. - Derive a tight robustness condition that is independent of the nature of the noise source. - Develop an optimal robustness certification protocol. - Provide a method for evaluating the robustness of a classifier to input perturbations without accessing the original noise - free input. - Derive the robustness bounds of amplitude and phase - damping noise parameters. 3. **Theoretical basis**: - Use the method of quantum hypothesis testing to derive a robustness condition that is both sufficient and necessary. - Through the tight robustness condition, the noise tolerance of the classifier can be accurately described. 4. **Applications and extensions**: - Provide specific protocols to verify whether the perturbed input has the same classification result as the noise - free input. - Study the case of randomized quantum input, which can be regarded as the quantum generalization of the classical random smoothing technique. - Consider the case of mixed - state input and prove that the robustness conditions based on fidelity and Bures distance are tight. ### Formula summary: - **Trace distance**: \[ T(\rho, \sigma)=\frac{1}{2}\|\rho - \sigma\|_1 \] where \(\|\cdot\|_1\) is the Schatten 1 - norm. - **Uhlmann fidelity**: \[ F(\rho, \sigma)=\left(\operatorname{Tr}\sqrt{\sqrt{\rho}\sigma\sqrt{\rho}}\right)^2 \] - **Bures distance**: \[ d_B(\rho, \sigma)=\sqrt{2\left(1 - \sqrt{F(\rho, \sigma)}\right)} \] - **Type II error probability**: \[ \beta_{1 - p_A}(\sigma, \rho)+\beta_{p_B}(\sigma, \rho)>1 \] where \(\beta_{1 - p_A}(\sigma, \rho)\) and \(\beta_{p_B}(\sigma, \rho)\) respectively represent the probabilities of Type II error under the given hypothesis test. Through these theories and methods, the paper provides important tools and frameworks for understanding and improving the robustness of quantum classification algorithms.