A Comparative Analysis of Adversarial Robustness for Quantum and Classical Machine Learning Models

Maximilian Wendlinger, Kilian Tscharke, Pascal Debus
4/24/2024
cs.LGcs.CRquant-ph

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Quantum machine learning (QML) continues to be an area of tremendous interest from research and industry. While QML models have been shown to be vulnerable to adversarial attacks much in the same manner as classical machine learning models, it is still largely unknown how to compare adversarial attacks on quantum versus classical models. In this paper, we show how to systematically investigate the similarities and differences in adversarial robustness of classical and quantum models using transfer attacks, perturbation patterns and Lipschitz bounds. More specifically, we focus on classification tasks on a handcrafted dataset that allows quantitative analysis for feature attribution. This enables us to get insight, both theoretically and experimentally, on the robustness of classification networks. We start by comparing typical QML model architectures such as amplitude and re-upload encoding circuits with variational parameters to a classical ConvNet architecture. Next, we introduce a classical approximation of QML circuits (originally obtained with Random Fourier Features sampling but adapted in this work to fit a trainable encoding) and evaluate this model, denoted Fourier network, in comparison to other architectures. Our findings show that this Fourier network can be seen as a "middle ground" on the quantum-classical boundary. While adversarial attacks successfully transfer across this boundary in both directions, we also show that regularization helps quantum networks to be more robust, which has direct impact on Lipschitz bounds and transfer attacks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wendlinger2024comparative,
  title  = {A Comparative Analysis of Adversarial Robustness for Quantum and Classical Machine Learning Models},
  author = {Maximilian Wendlinger and Kilian Tscharke and Pascal Debus},
  year   = {2024},
  eprint = {2404.16154},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.16154v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.16154.svg)](https://codeofpaper.com/paper/2404.16154)

Discussion