From Membership-Privacy Leakage to Quantum Machine Unlearning
Junjian Su, Runze He, Guanghui Li, Sujuan Qin, Zhimin He, Haozhen Situ, Fei Gao
TL;DR
The paper addresses membership privacy leakage in quantum machine learning by showing that two QNN architectures (basic QNN and HQNN) leak information via Membership Inference Attacks (MIA) in both simulation and real quantum hardware. It then introduces Quantum Machine Unlearning (QMU), a framework with three MU mechanisms—Gradient Ascent (GA), Fisher-based (SSD), and Relative Gradient Ascent (RGA)—to revoke the influence of withdrawn data while preserving performance on retained data. Across MNIST classification tasks and hardware experiments, MIA leakage is substantial in unprotected models, and QMU methods successfully reduce MIA risk with varying trade-offs in data dependence, computational cost, and robustness. The work demonstrates a potential path toward privacy-preserving QML and motivates extending QMU to broader quantum learning settings and secure quantum workflows.
Abstract
Quantum Machine Learning (QML) has the potential to achieve quantum advantage for specific tasks by combining quantum computation with classical Machine Learning (ML). In classical ML, a significant challenge is membership privacy leakage, whereby an attacker can infer from model outputs whether specific data were used in training. When specific data are required to be withdrawn, removing their influence from the trained model becomes necessary. Machine Unlearning (MU) addresses this issue by enabling the model to forget the withdrawn data, thereby preventing membership privacy leakage. However, this leakage remains underexplored in QML. This raises two research questions: do QML models leak membership privacy about their training data, and can MU methods efficiently mitigate such leakage in QML models? We investigate these questions using two QNN architectures, a basic Quantum Neural Network (basic QNN) and a Hybrid QNN (HQNN), evaluated in noiseless simulations and on quantum hardware. For the first question, we design a Membership Inference Attack (MIA) tailored to QNN in a gray-box setting. Our experiments indicate clear evidence of leakage of membership privacy in both QNNs. For the second question, we propose a Quantum Machine Unlearning (QMU) framework, comprising three MU mechanisms. Experiments on two QNN architectures show that QMU removes the influence of the withdrawn data while preserving accuracy on retained data. A comparative analysis further characterizes the three MU mechanisms with respect to data dependence, computational cost, and robustness. Overall, this work provides a potential path towards privacy-preserving QML.
