Skip to content

Characterizing privacy risks of quantum machine learning (QML) under quantum-native accessCharacterizing Privacy Risks of Quantum Machine Learning with Emergent Quantum-Native Access

arXiv: Adversarial Attacks, Backdoors & Poisoning· arXiv:2609.05702· Liou Tang, James Joshi, Ashish Kundu·Indexed by this site · 2026-10-01· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors prove that under quantum-native access, membership inference advantage satisfies C ⪯ M ⪯ Q, and characterize the gap between theoretical and empirical advantage on a 4-qubit noiseless QNN using finite shadow models.

Threat modelAn adversary performs membership inference on a QNN (Game 1), has quantum computational capability, can sample proxy data from the same distribution as the target, and can train, execute, and measure quantum circuits and VQCs. Three accesses: Ck only gets classical results from fixed measurements, Mk can submit programmable Pauli measurements and still gets classical results, Qk directly receives the pre-measurement quantum state ρθ(x)⊗k.

Questions
Existing QML privacy work often assumes that the service only returns classical measurements and that the adversary has only classical computation. Under quantum networks and distributed quantum computing, users may submit and receive quantum information, and measurements discard coherence and complementary-basis information. The authors ask: can quantum computational capability, as well as quantum information access, strengthen membership inference against QML?
Methods
Formalize membership inference advantages under three accesses Ck, Mk, Qk, prove C ⪯ M ⪯ Q, and give the optimal advantage for Q using the Helstrom measurement. With finite K shadow model pairs, the difference ε_I between theoretical and empirical advantage is bounded by the trace norm of the deviation of member-conditional states; the expectation bound shrinks as K increases and widens as the shot dimension dk increases. Experiments on a 4-qubit QNN in noiseless PennyLane simulation, using LiRA-style shadow models, test this relationship.
Experiments and results
Figure 2 supports that advantage increases with shots under the same shadow budget, and that Ck, Mk, Qk form a hierarchy. In Figure 3, higher Pauli weight gives higher Mk advantage; at weight ≤4 the authors state there is a clear advantage over Ck. In Figure 4, larger K makes the gap tend to 0, and Qk's gap decays faster than Ck and Mk; Corollary III.4's K^{-1/2} bound decays slower than observed. The authors state that QML's stochasticity makes empirical exploitation harder, but does not prevent membership inference.
Limitations and future work
The authors note that the model is only 4 qubits, 24 parameters, and noiseless simulation; Ck/Mk/Qk are interface abstractions rather than implemented services; tighter theoretical–empirical gap bounds and MIA on the quantum internet are left as future work. Experiments cover two binary classification subsets of MNIST, K up to 64 shadow model pairs, shots up to 32; defenses only discuss Ck restriction, restricting Mu or k, and QDP, without reporting attack numbers after defense.
Experimental setup4-qubit 24-parameter QNN(PennyLane 模拟,目标与影子模型同结构) · MNIST 子集二分类:“0” vs “1”、“3” vs “8” · membership inference advantage L、empirical advantage L̂_I et al.
Evaluated models
4-qubit 24-parameter QNN(PennyLane 模拟,目标与影子模型同结构)
Benchmarks
MNIST 子集二分类:“0” vs “1”、“3” vs “8”
Metrics
membership inference advantage Lempirical advantage L̂_Itheoretical-empirical gap ε_I
AI summaryResearch on privacy risks in quantum machine learning (QML) examines membership inference attacks on QML models by users/adversaries with quantum computing capabilities and access to quantum information outputs. The study shows that quantum access and increased quantum computing capability lead to provable theoretical privacy leakage and empirical adversarial gains, but the probabilistic nature of QML creates a gap between theoretical and empirical adversarial advantages. Existing QML privacy leakage research underestimates the degree of leakage under emerging quantum-native access mechanisms.

Research on privacy risks in quantum machine learning (QML) examines membership inference attacks on QML models by users/adversaries with quantum computing capabilities and access to quantum information outputs. The study shows that quantum access and increased quantum computing capability lead to provable theoretical privacy leakage and empirical adversarial gains, but the probabilistic nature of QML creates a gap between theoretical and empirical adversarial advantages. Existing QML privacy leakage research underestimates the degree of leakage under emerging quantum-native access mechanisms.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Under quantum-native access, is membership inference in QML stronger than when only classical measurement results are seen.

    Can quantum computational capability and quantum information access make membership inference against QNNs stronger than settings that only get classical measurement results.

    • Scenario: The authors argue that the common assumption in QML-as-a-service is that the service only returns classical bits such as predicted labels or logits, and users and adversaries have only classical computation. Quantum devices, quantum network services, and distributed quantum computing allow adversaries to submit and receive quantum information; fixed measurements discard coherence and complementary-basis information, thus underestimating privacy leakage.
    • Gap in existing work: The authors state that existing QML membership inference and data reconstruction (Heredge et al., Su et al.) only use post-measurement classical results, and do not consider adversaries who can obtain quantum states or choose their own measurements.
    • Core questions: RQ1 asks whether an adversary with quantum computational capability has a quantum advantage in membership inference over a purely classical-computational adversary; RQ2 asks whether obtaining quantum information enables stronger membership inference.
    • Threat model:
      • Target: For the QNN of Definition 1, determine per Game 1 whether sample z=(x,y) is in the training set, with advantage L=2Pr[b̂=b]−1, L∈[0,1].
      • Knowledge and capabilities: The adversary has quantum computational capability, can train, execute, and measure quantum circuits and VQCs; can sample proxy data from the same data distribution as the target model.
      • Three accesses (Table I): Ck submits classical x, the service returns k classical results using a fixed POVM, the adversary cannot access ρθ(x); Mk can additionally submit repeated Pauli measurements Mu, still only getting classical results; Qk directly receives the pre-measurement state ρθ(x)⊗k.
      • Hierarchy: The authors aim to show that more access gives greater membership inference advantage, i.e., C ⪯ M ⪯ Q.
    • What this paper does: Provides provable advantages for the above hierarchy, and an upper bound on the difference between theoretical optimal advantage and empirical advantage under finite shadow models; tests this relationship in noiseless simulation. The authors state this is a first step in examining QML privacy leakage under quantum-native access.
  2. What related research exists?

    Related work is divided into QML models, classical MIA, and QML privacy attacks and defenses that still use only classical readout.

    The paper places related work along three lines: QML preliminaries, classical membership inference, and privacy inference against QML.

    QML models

    • Algorithm lineage: quantum kernel methods, variational quantum eigensolvers (VQE), variational quantum circuits (VQC), quantum neural networks (QNN), and hybrid quantum–classical neural networks (HQNN). This paper only does supervised learning QNNs, which the authors state is the main approach for machine learning on contemporary quantum processors.
    • VQC: a parameterized unitary U(θ) acts on an encoded state, then measurements give expectations; finite shots give stochastic estimates of those expectations. Training alternates between circuit evaluation and classical parameter updates, with rotation gate derivatives computed via the parameter-shift rule.

    Classical membership inference

    • Population-level MIA: Shokri et al. train attack models using shadow models from the same distribution; Yeom et al. use model confidence, arguing that overfitting makes members' confidence higher.
    • Instance-level MIA: Carlini et al.'s likelihood ratio attack (LiRA) trains "in/out" shadow models for each target sample and compares output distributions; Ye et al. follow that intuition but use confidence on (x,y). This paper's Game 1 follows Carlini et al.

    Privacy attacks and defenses on QML

    • Defense-oriented work: Zhou et al. propose quantum differential privacy (QDP); Watkins et al. apply QDP to hybrid quantum–classical models to constrain membership leakage of training data.
    • Attack-oriented work: Heredge et al. relate QML's susceptibility to reconstruction of quantum and classical data, and VQC gradients, to the dynamical Lie algebra, and discuss the privacy–trainability trade-off. Kumar et al. argue that expressive quantum encodings make data reconstruction harder, and argue that QML has inherent resilience to data reconstruction; the authors point out that the information exposed to the adversary is still classical quantities such as gradients and circuit descriptions.
    • Recent comparison: Su et al. perform population-level membership inference on QNNs and HQNNs, and discuss mitigation via available quantum machine unlearning; experiments cover noiseless simulation and quantum hardware, and the number of measurement shots affects observable membership leakage. The authors state that this attack also takes the post-measurement QNN output as input.

    Baseline methods and benchmarks/datasets: empirical attacks follow Carlini et al.'s shadow model split, data are binary classification on MNIST subsets, settings follow Su et al.; circuit scale the authors state is comparable to models used by Heredge et al. Ck is treated by the authors as the access used by existing "classical" adversary work.

    The authors position this paper as: explicitly examining stronger accesses Mk and Qk in membership inference, and showing that fixed readout discards information exploitable by quantum algorithms; classical result access C eliminates this quantum advantage.

  3. How does the paper address this problem?

    Use the access hierarchy to give provable membership advantages, then bound the difference between theory and practice with finite shadow models.

    The authors define membership inference advantage under three accesses C, M, Q, prove that more quantum access gives greater advantage, and then bound the theoretical–empirical gap caused by finite shadow models using estimation error of member-conditional states.

    Problem setup and formalization

    • QNN: classical x is encoded into an n-qubit state via Uenc, then passed through a trainable VQC. The pre-measurement state is ρθ(x)=U(θ)Uenc(x)ρ0Uenc(x)†U(θ)†. POVM M={Ey} gives p(y|ρθ)=tr(Ey ρθ).
    • Game 1: The challenger trains θb on adjacent datasets differing only in target sample z; the adversary outputs h, giving membership bit. Advantage L=2Pr[b̂=b]−1.
    • Access (Table I): Ck has the service fix measurements and return only classical results; Mk's Mu is restricted to repeated Pauli measurements; Qk returns k copies of the pre-measurement state. Encoding can be angle encoding or amplitude encoding; the authors state conclusions do not depend on the specific encoding.

    Optimal advantage under three accesses

    • Ck has no quantum advantage: k classical outputs are a hypothesis test between two distributions p0^(k), p1^(k). Under equal priors, the optimal advantage is total variation distance, LC=TV(p0^(k),p1^(k)). Writing classical outputs as diagonal states, the optimal quantum measurement success probability given by Helstrom's theorem matches this total variation. Theorem III.1 states: any adversary with quantum computational capability has an adversary with only classical computational capability and the same advantage. Quantum algorithms may still reduce the computational complexity of classical tests under additional distribution oracles, but Observation 1 states this does not constitute a quantum advantage for membership inference under Ck.
    • Hierarchy: Definition 2 writes member-conditional expected states as Ωb(x)=E[ρθb(x)⊗k], difference Δ(x)=Ω1(x)−Ω0(x). Theorem III.2: LC≤LM≤LQ. LM is the supremum of total variation over measurements M; on Qk, LQ=∥Δ(x)∥1/2. The proof relies on expanding from Ck to Mk to Qk, where the set of available measurements grows and information strictly increases.
    • Shots: Observation 2 states that under the same access I, advantage is non-decreasing in k, L_I^(k+1)≥L_I^(k).

    Gap under finite resources

    • Empirical attack: The adversary can only train K pairs of shadow models. Empirical advantage L̂_I(z,θ|K) is computed using measurement distributions on these models (or empirical Helstrom measurement on Q). Gap ε_I=L_I−L̂_I.
    • Upper bound: Theorem III.3 gives ε_I(z,θ|K)≤∥Δ(x)−Δ̂(x)∥1. Δ̂ is the average of differences of K pairs of shadow states. Trace distance contraction plus triangle inequality gives this bound. The authors deliberately do not give a lower bound: one can construct cases with k=1 where theoretical advantage is less than 1 and empirical advantage equals 1, so Observation 3 states the gap should be studied in expectation.
    • Expectation bound: In Corollary III.4, if the single-copy state dimension is d, then the k-copy state dimension is d^k, E[ε_I]≤√(2 d^k / K). The proof uses that the Hilbert–Schmidt norm is at most √2, and ∥A∥1≤√(d^k)∥A∥2.
    • Authors' interpretation of the bound: Larger K lets shadow models better approximate member-conditional distributions, thus reducing the gap. Larger k raises this expectation bound, but Observation 2 also states that more shots increase attack advantage under any access. Eq. 36 is interpreted by the authors as learnability of theoretical advantage, not empirical attack performance itself.

    How the empirical attack is implemented

    • Data and circuit: MNIST images normalized to 28×28, pixels in [−1,1], PCA takes the first 4 principal components. The QNN in Fig. 1 has 4 qubits, 3 variational layers: RY, RZ per qubit, plus a ring of CNOTs, totaling 24 trainable angles; input xi is encoded via RY(π xi). Prediction is the expectation of Z0, denoted ZIII in the text.
    • Training: PennyLane simulation. 80 epochs, Adam, learning rate 5×10^−2, binary cross-entropy, initialization scale 0.2. Global population 512 points, uniformly sampled from two classes; each target or shadow training set then draws |D|=|Ds|=256. K∈{8,16,32,64} pairs of shadow models. Shots take k∈{1,2,4,8,16,32}.
    • Three features: Ck fits the optimal subset among possible ZIII counts; Mk takes the supremum of membership advantage over all 255 Pauli strings ⟨X,Y,Z,I⟩⊗4 on 4 qubits; Qk directly computes the empirical Helstrom measurement, as an upper bound on the quantum adversary's empirical performance. Fig. 3 further groups by Pauli weight ≤1 to ≤4.
    • Success determination: Reports average inference advantage L̂_I over all target z in the data population, and average gap E_z[ε_I].
  4. What experiments did the paper conduct?

    On a noiseless 4-qubit QNN, Figures 2–4 support C⪯M⪯Q, and increasing K reduces the theoretical–empirical gap.

    Experimental Setup

    • Models: Target and shadow QNNs are the same 4-qubit, 3-layer variational circuit with 24 trainable angles from Fig. 1, PennyLane noiseless simulation. Prediction is Z0 expectation (ZIII).
    • Data: Two binary subsets of MNIST, "0" vs "1" and "3" vs "8". Images 28×28, pixels [−1,1], PCA takes first 4 components. Global population 512 points, uniform sampling per class; each model training set 256 points.
    • Training: 80 epochs, Adam, learning rate 5×10^−2, binary cross-entropy, initialization scale 0.2. Shadow model pairs K∈{8,16,32,64}.
    • Access and shots: Ck uses fixed ZIII; Mk takes the best over 255 Pauli strings; Qk uses collective Helstrom measurements. k∈{1,2,4,8,16,32}.
    • Metrics: Membership inference advantage L_I (written LI(z,θ) in figures) and its empirical value; population mean of theory–empirical gap E_z[|ε_I|] (figure title Mean |ε_I|). Advantage is averaged over all target z in the population. The paper does not report replication counts, training set accuracy, or comparison with human judgment.
    • Figure coordinates: Figure 2a, 2b x-axis is k-shot, y-axis is LI(z,θ), range 0 to 1, K=64. Figure 2c, 2d x-axis is K-pair (8, 16, 32, 64), k=32. Figure 3 x-axis is Measurement Family: Ck, Mk weights 1–4, Qk. Figure 4 y-axis is log-scale Mean |ε_I|, x-axis K from 8 to 256, with K^{−1/2} reference line.

    Main Results

    The main text does not give readings for each point in Figure 2, only axes, legends, and the authors' statements about curve relationships. The table below lists only experimental conditions stated in the paper, without filling in advantage values not labeled in the figures.

    Swipe horizontally to read the table

    TaskK or kAccessComparison given in paper
    "0" vs "1"K=64, k=1…32Ck / Mk / QkAuthors state Fig. 2a shows the hierarchy of Theorem III.2, and empirical advantage increases with k
    "3" vs "8"K=64, k=1…32Ck / Mk / QkAuthors state Fig. 2b also supports the hierarchy and shot effect
    "0" vs "1"k=32, K=8…64Ck / Mk / QkFig. 2c x-axis is shadow pair count; main text does not report per-point values
    "3" vs "8"k=32, K=8…64Ck / Mk / QkFig. 2d is symmetric to 2c; main text does not report per-point values
    • Hierarchy: The authors state Figure 2 confirms, under the same shadow budget, the strict hierarchy of Ck, programmable Pauli Mk, and collective Helstrom Qk, answering RQ2: quantum access provides membership inference advantage both theoretically and empirically.
    • Shots and K: Figures 2a, 2b are used by the authors to support Observation 2, that empirical advantage L̂_I increases with measurement budget k. Figures 2c, 2d vary K; the main text does not give separate readings as K changes.
    • Notation in Sec. V: When discussing experiments, write I∈{Ck,Pk,Qk}. Table I and Figure 2 legends use Mk rather than Pk; the hierarchy the authors state is still C, programmable measurements, and quantum state access.

    Measurement Selection

    • What was measured: On Mk, grouped by Pauli weight ≤1 to ≤4, each group takes the best empirical advantage of that group's measurements at each k, with Ck and Qk as references. Figures 3a, 3b are "0" vs "1" and "3" vs "8", K=64, k∈{1,2,4,8,16,32}.
    • Results: The authors state the choice of measurement operator Mu itself affects advantage; more complex measurements retain more information in ρθ(x), and advantage is strictly stronger. At Pauli weight ≤4, the authors state the adversary has a significant advantage over Ck. The figures do not label specific readings for bars or points.
    • Authors' interpretation: Mk is viewed by the authors as the most prominent recent access (programmable measurements, server still returns classical bits). The result is interpreted by the authors as a strong result for recent QML privacy leakage.

    Theory–Empirical Gap

    • What was measured: Figure 4 plots E_z[ε_I] versus K, in three panels for Ck, Mk, Qk, curves for k=2, 4, 8, with K^{−1/2} overlaid. X-axis K goes to 128 and 256; main text training budget is K∈{8,16,32,64}.
    • Results: The authors state larger K pushes the gap toward 0, and larger k provides more information about ρθ(x), confirming Corollary III.4 and Observation 4. The Corollary's bound is not treated by the authors as tight: in Figures 4a–4c, K^{−1/2} decays slower than observed. On Qk, quantum information makes the gap decay exponentially; on Ck and Mk, the authors state the adversary can shrink the gap at super-exponential rates, and state existing work has demonstrated near-perfect MIA under Ck. The figures do not label point values.
    • Authors' interpretation: Probabilistic QML creates a gap between theoretical advantage and finite-resource empirical gains, making it harder for adversaries to exploit quantum information empirically, but does not prevent membership inference. The authors leave tighter bounds for future work.

    Other Ablations and Analyses

    • The paper does not perform additional ablations on learning rate, layer count, encoding method, or noise strength; the swept variables are access I, shot k, shadow pair count K, and Pauli weight for Mk.
    • Defense discussion is in Sec. V-B, with no post-attack numbers: the authors propose treating Ck as a stronger restriction relative to Mk and Qk, or restricting Mu and k, and note this creates a privacy–utility tradeoff, whose discussion points to Heredge et al.
    • QDP is argued by the authors as post-processing on θ: membership inference on Qk, Mk, Ck cannot exceed ε or (ε,δ) bounds; quantum noise can serve as a perturbation source for QDP during training. The authors state that formal bounds on leakage for differentially private QNNs under the three accesses still need to be given separately; this paper does not report such bounds or corresponding experiments.
  5. What are some points that can be further explored?

    The authors leave tighter advantage gap bounds, MIA on quantum internet, and formal QDP bounds under the three accesses for future work.

    Limitations and future directions noted by the authors

    • The bound on the gap is not tight: Sec. IV-B states that Corollary III.4 is not intended as a tight bound, and leaves a tighter bound between theoretical and empirical privacy leakage as future work. (Sec. IV-B)
    • Access is abstract: Sec. V-A states that Ck, Mk, Qk should be understood as increasingly quantum-native service interface abstractions, not as already-implemented quantum computing services. Ck corresponds to QML-as-a-service that returns only classical measurements; Mk is described as near-term trusted programmable measurement; Qk is further off, driven by quantum networks and distributed quantum computing. (Sec. V-A)
    • Quantum internet: The authors leave more detailed MIA analysis on the quantum internet as future work, and state that the paper's conclusions do not depend on any specific implementation of Mk or Qk. (Sec. V-A)
    • Defenses not yet formalized: Sec. V-B states that formal bounds on privacy leakage under Ck, Mk, Qk need to be established separately for differentially private QNNs. Restricting measurements or shots is considered by the authors to impact model performance, and this trade-off points to the discussion by Heredge et al. (Sec. V-B)
    • Model scale and noise: The Limitations section of the Conclusion states that this paper studies small-scale (4-qubit, 24-parameter) QNNs, and under noiseless conditions. (Conclusion, Limitations)
    • Positioning: The Conclusion states that this paper establishes a characterization of QML privacy under quantum-native access, and proves a bound on empirical MIA performance under finite queries and finite shadow model training budgets. (Conclusion)

    Experimental coverage

    • The tested circuit is the 4-qubit, 24-parameter QNN from Fig. 1, with target and shadow models of the same structure, all simulated noiselessly in PennyLane, trained for 80 epochs. (Sec. IV-A)
    • Data are two binary classification subsets of MNIST, "0" vs "1" and "3" vs "8"; population 512 points, each model's training set 256 points. (Sec. IV-A)
    • Shadow pair counts take K∈{8,16,32,64}, shots take k∈{1,2,4,8,16,32}; Mk evaluates 255 Pauli strings, and Figure 3 further groups by Pauli weight ≤1 to ≤4. (Sec. IV-A, IV-B)
    • Main figures are Figure 2 for average membership advantage, Figure 3 for measurement family comparison, Figure 4 for average gap; Figure 4's horizontal axis extends to K=256, and includes a K^{−1/2} reference line. The paper does not report numerical tables for each point, nor the number of repetitions. (Sec. IV-B)
    • Sec. V-B discusses restricting interfaces to Ck, restricting Mu or k, and using QDP and NISQ noise as defenses; these discussions are not accompanied by attack success rates or utility numbers.
  6. Summarize the main content of the paper

    Quantum-native access increases QNN membership inference advantage in the order C⪯M⪯Q, and finite shadow models leave an empirical gap that can be bounded.

    The authors study membership inference for QNNs under quantum-native access: the adversary no longer only receives classical bits from fixed measurements.

    • Problem: When the service only returns classical results, measurements discard coherence and complementary-basis information. The authors ask whether quantum computational power (RQ1) and quantum information access (RQ2) strengthen membership inference.
    • Theory: The advantage in Game 1 on Ck equals the total variation distance of the output distributions, and quantum measurements cannot improve it, so there is no quantum advantage for membership inference under Ck. For Mk, which allows self-selected Pauli measurements, and Qk, which directly provides ρθ(x)⊗k, we have LC≤LM≤LQ; the optimal advantage for Qk is half the trace norm of the difference between member and non-member conditional states. Under the same access, more shots do not reduce the advantage.
    • Gap: K shadow models can only estimate the member-conditional distribution. The difference between theoretical and empirical advantage is bounded by the trace norm of this estimation error; its expectation is bounded by √(2 d^k / K). More shadow models shrink the gap, and more shots relax this expectation bound while increasing the attack advantage. The authors interpret this bound as how learnable the theoretical advantage is.
    • Experiments: 4-qubit, 24-parameter, noiseless PennyLane QNN, MNIST "0"/"1" and "3"/"8", population 512, training set 256, K up to 64 pairs, shots up to 32. Figure 2 is used by the authors to confirm the access hierarchy and shot effects; Figure 3 is used to show that higher Pauli weight leads to higher Mk advantage; Figure 4 is used to show that the gap tends to 0 as K increases, and that the given K^{−1/2} bound decreases slower than observed. The figures do not annotate advantage percentages that can be transcribed point by point.
    • Conclusion: The authors argue that existing QML privacy research that only looks at classical outputs underestimates leakage under quantum-native access; the probabilistic nature of QML widens the gap between theory and practice but does not prevent membership inference. Ck, restricted measurements, and QDP are considered possible defense directions, with formal bounds left for future work.
Read originalarxiv.org