acceptodds
Published as a conference paper at NeurIPS 2026

SnapAudit: Active Auditing of Differentially Private In-Context Learning via Snapshot-Based Simulation

Yuyang Xia, Ruixuan Liu, Li Xiong

Abstract

In-context learning (ICL) allows LLMs to adapt to new tasks via a few demonstrations, but those demonstrations may contain sensitive data. Differentially private (DP) ICL mechanisms mitigate this risk by injecting noise into the aggregation step, but verifying that an implementation actually meets its claimed privacy bound currently requires repeated end-to-end membership-inference attacks (MIAs) against the pipeline as a black box, incurring prohibitive LLM cost and yielding unstable empirical privacy estimates. We propose SnapAudit, an active auditing framework that decomposes a DP-ICL pipeline into a deterministic clean-inference stage and a stochastic DP-noise stage, and audits the full pipeline by combining a small snapshot of the former with bootstrap simulation of the latter. Because clean LLM outputs are near-deterministic at temperature zero, a few thousand clean LLM calls suffice to approximate the snapshot distribution; SnapAudit then bootstraps noisy trials from this snapshot at negligible additional cost, with finite-sample uncertainty controlled via an empirical Bernstein correction. For embedding-based mechanisms, we further introduce a multi-sweep search procedure that constructs maximally separable audit signals. SnapAudit achieves – speedup over prior passive auditing while producing tighter and more stable empirical privacy estimates that closely match theoretical guarantees. Beyond efficiency, SnapAudit uncovers two concrete flaws in existing DP-ICL designs: (i) classical Gaussian noise calibrations underestimate leakage at large privacy budgets, allowing empirical leakage to exceed the theoretical bound; (ii) the sensitivity analysis of an embedding-aggregation mechanism is incorrect when the number of partitions equals one, leading to undersized noise and an outright privacy violation.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_qqP8OpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes SnapAudit, an active auditing framework for DP-ICL. It separates clean LLM inference from DP noise injection, reuses clean snapshots, and simulates many noisy trials to estimate empirical privacy leakage more efficiently. It also introduces a signal-search method for embedding-based auditing and reports two DP-ICL flaws.

Strengths and weaknesses

Strengths

1.The paper studies an important problem: empirical auditing of DP-ICL is expensive when each MIA trial requires full LLM inference.

2.The snapshot-based decomposition is simple and useful for mechanisms where randomness mainly comes from the DP aggregation/noise stage.

3.The experiments cover multiple DP-ICL mechanisms, datasets, threat models, and LLM backbones.

4.The paper identifies concrete flaws in prior DP-ICL settings, including Gaussian calibration issues and ESA sensitivity miscalculation.

5.The method has practical value for internal auditing of DP-ICL implementations.

Weaknesses

1.The method depends strongly on near-deterministic clean LLM outputs at temperature zero. Its behavior under realistic decoding randomness is not sufficiently tested.

2.The active auditing setting assumes access to construct or decompose the pipeline. This is useful for system owners but less applicable to external black-box auditing.

3.The comparison with passive auditing mixes efficiency gains with stronger access assumptions. The paper should make this distinction clearer.

4.The ESA signal sentences produced by MSGS are highly artificial. This is valid for worst-case auditing, but less informative about realistic query leakage.

5.The baseline coverage is strong for passive DP-ICL auditing, but the paper lacks comparison with recent active or efficient DP auditing methods. Even if those methods target DP-SGD or other DP mechanisms, the paper should explain whether they can be adapted or why they are not comparable.

Questions

1.Can the authors test one small setting with nonzero decoding randomness, such as temperature > 0 or multiple seeds? This would show whether the snapshot estimate remains reliable when clean outputs are not nearly deterministic.

2.Can the authors add a short table clarifying what access SnapAudit needs in each setting: passive black-box, active black-box-output, and active intermediate-access? This would make the threat model clearer.

3.For ESA, can the authors report one additional result using more natural signal sentence pairs, not only MSGS-optimized synthetic pairs? This would clarify the gap between worst-case audit power and realistic leakage.

4.Can the authors break down the reported speedup into clean LLM calls, signal search, snapshot collection, and bootstrap simulation? This would make the 80--200x efficiency claim easier to interpret.

5.Can the authors provide at least one comparison with another recent active or efficient DP auditing method? If a direct empirical comparison is not feasible because existing methods target DP-SGD or training-time DP rather than DP-ICL, please provide a clear methodological comparison and explain why it cannot be adapted. A small-scale empirical comparison, even on one mechanism or one dataset, would better situate SnapAudit relative to the broader active-auditing literature.

Limitations

The authors discuss several limitations, but should more explicitly address the active-access assumption, the scope of applicable DP-ICL pipelines, and the missing comparison with other active or efficient DP auditing methods.

Paper formatting concerns

N/A

1 comment

We thank the reviewer for the careful and constructive review. Here are our responses to the questions and weaknesses.

W1 & Q1: Robustness to randomess

We appreciate this important question regarding the randomness assumption.
To provide comprehensive results, we provided the results of different output variability with different temperatures in Table 1, reporting the results on AG News with ϵtheory=4\epsilon_{\mathrm{theory}}=4. The T=0T=0 row is taken directly from the paper and reports the mean ±\pm std over our repeated runs; due to the limited rebuttal period, each nonzero-temperature setting was evaluated once. We will repeat these experiments for multiple runs and report the mean and standard deviation for the revision.

Table 1: Auditing text classification under different temperatures.

temperatureBlack-PVWhite-PVBlack-PoEWhite-PoE
0 (direct from paper)3.95±0.013.95\pm 0.013.98±0.023.98\pm 0.022.69±0.342.69\pm 0.343.11±0.323.11\pm 0.32
0.53.933.972.693.27
13.903.952.673.23
23.523.601.212.10
41.701.880.581.04
80.440.630.280.50

Degradation is gradual rather than abrupt. For T≤1T\le1, all four settings match the deterministic case: PV shifts by at most 0.050.05, and every PoE difference falls within the T=0T=0 run-to-run std (±0.34\pm0.34 black-box, ±0.32\pm0.32 white-box). Since the nonzero-TT rows are single runs, such differences carry no signal — auditing power is unaffected up to T=1T=1, which covers the low-temperature regime where DP-ICL is typically deployed. Only beyond T=2T=2 does randomness measurably reduce neighboring-dataset distinguishability, lowering the empirical bound.

We will add these results (along with the results for text generation that are still running) in the revision for a more comprehensive discussion. The key conclusion is that our active auditing strategy improves the tightness over different output variabilities, and a more deterministic decoding configuration (e.g., zero temperature) can enhance the auditing tightness of all methods, which would be beneficial for the system owner to audit the DP-ICL's implementation.

W2 & W3:Clarifications about active-access assumption

  • W2: For an external auditor with only black-box access, active auditing naturally reduces to passive auditing. However, this does not diminish the value of the active setting. A key purpose of privacy auditing is to verify that a claimed privacy guarantee is correctly implemented before deployment, a responsibility that primarily lies with the system owner. By allowing controlled intervention in the auditing process, active auditing provides system owners with a stronger tool for validating both the implementation and the overall design of their DP pipeline.
  • W3: The gain comes directly from the stronger access in active auditing. By caching the expensive LLM outputs and rerunning only the randomized aggregation step, it supports many more trials within the same time budget than passive auditing. This does not strengthen the per-trial attack, but enables rarer-event detection and tighter estimation bounds, leading to a higher and more reliable empirical ϵ\epsilon.

Q2: Clarification for auditing settings

We here provide a short table clarifying what access SnapAudit needs in each setting:

Table 2: Description for auditor and attacker abilities.

PhraseDescription
Passive auditingA passive auditor treats the DP-ICL pipeline as a fixed black-box mechanism: it can only issue queries and observe final outputs, with no access to intermediate computations.
Active auditingAn active auditor can construct and control the pipeline, decomposing it into a clean inference stage and a private aggregation stage.
Black-boxA black-box attacker makes decisions based solely on observable outputs.
White-boxA white-box attacker retains all black-box capabilities and additionally has access to intermediate results, such as DP-noisy vote counts, before the final output is produced.

Notably, the abilities of the auditor and attacker are orthogonal. For instance, passive-black-box means a passive auditor is trying to simulate a black-box attacker's ability, figuring out how much privacy leakage can be achieved by a black-box attacker.

Q3 & W4: ESA auditing with natural signal sentences

We ran ESA auditing with the natural pair "Yes." / "No." on Samsum; their embedding distance is only 0.75, versus 1.419 for the MSGS-searched sentence pair.

Table 3: Auditing effectiveness with natural signal sentence (Samsum dataset, ϵtheory=8\epsilon_{theory} = 8).

natural signalSearched signal
Black-box2.374.84
White-box2.414.90

We would like to clarify a point: the MSGS-searched pairs are not synthetic artifacts outside the reachable input space. They are ordinary instruction sentences inserted into the query prompt to steer the model's output — the same channel and the same form of control that any user of the deployed pipeline has. MSGS searches over what an adversary can actually write, so the searched column reports leakage that is attainable in practice, not a hypothetical upper envelope.

Moreover, detecting the ESA sensitivity miscalculation flaw requires a signal pair with distance >1>1; the natural signal pairs cannot fulfill the requirement.

Q4: Decomposition of the auditing time We thank the reviewer for this request. Before giving the numbers, we clarify how the four components listed in the question map onto SnapAudit's actual structure, since the correspondence is not one-to-one:

  • Clean LLM calls and snapshot collection are the same operation. A snapshot is the output of a clean LLM call; collecting the snapshot set is the set of clean inference passes. They form a single phase and cannot be separated.

  • Bootstrap simulation corresponds to our bootstrap-and-noise phase.

  • Signal search is one-time preprocessing that fixes the canary before auditing begins. It is applied identically to SnapAudit and to the passive baselines, is amortized over all epsilon values and all repetitions, and therefore does not enter the efficiency comparison.

We here provide a table demonstrating the time consumption of each DP-ICL pipeline for all 5 ϵtheory\epsilon_{theory}: {1,2,4,8,16}\{1,2,4,8,16\}. Note that the signal search time is not considered in the Auditing pipeline,

Table 4a: Time decomposition, covering all five ϵtheory\epsilon_{theory}.

PipelineSnapshot generationBootstrap and adding noiseActive auditing timePassive auditing time
PV335s1347s1682s1739s
PoE461s5472s5933s2340s
ESA1599s6458s8057s9703s
KSA1923s6927s8850s8007s

What each phase computes:

  • Snapshot generation produces 2000×2=40002000\times2=4000 snapshots — two distributions to estimate (with and without canary), 2000 snapshots each by default — and is executed once, then reused for every ϵ\epsilon.
  • Bootstrap + noise produces 400K×2×5=4M400K\times2\times5=4M DP-ICL outputs: 400K noisy outputs per distribution, two distributions, all five ϵ\epsilon in a single pass.
  • Passive auditing performs 2000×2×5=200002000\times2\times5 = 20000 DP-ICL trials, each an indivisible clean-inference-plus-noise pass.

The two total columns are therefore not directly comparable: they cover 4M4M and 20K20K observations respectively. The meaningful quantity, and the one reported in the paper, is cost per observation.

Table 4b: Per-observation auditing cost.

PipelineActive(/4M)Passive(/20K)Speedup
PV0.42ms87ms207x
PoE1.48ms117ms79x
ESA2.01ms400ms199x
KSA2.21ms485ms219x

Q5 & W5: Active DP auditing baselines Thank you for suggesting a broader comparison with active and efficient DP auditing. We here add a methodological comparison with recent DP-SGD auditing methods.

  • Active DP-training auditors strengthen the auditing signal by intervening in the optimization process. For example, Nasr et al. (Adversary Instantiation: Lower Bounds for Differentially Private Machine Learning) inject arbitrary canary gradients and exploit intermediate privatized updates; Maddock et al. (CANIFE: Crafting Canaries for Empirical Privacy Measurement in Federated Learning) construct canary samples whose model updates are distinguishable from ordinary updates. These approaches are not directly adaptable to DP-ICL because DP-ICL performs no parameter updates and exposes no training gradients, loss trajectory, or intermediate model states on which such interventions can operate.

  • Efficient one-run auditors instead place multiple independently randomized canaries into a single training run. For example, Mahloujifar et al. (Auditing f-Differential Privacy in One Run) propose a method that adds multiple canaries in one run and identifies the membership signal of each canary. However, a DP-ICL invocation produces a shared, often low-dimensional aggregate output for the entire context; multiple canaries therefore interact through prompt conditioning and do not naturally yield separate per-canary membership scores.

  • SnapAudit exploits a different form of structure: it separates expensive, near-deterministic clean inference from terminal DP noise injection. Clean snapshots can therefore be reused for many bootstrap noise trials. This decomposition is unavailable in DP-SGD, where noise injected at each update changes the model state and consequently all future gradients. We retain the prior passive DP-ICL auditor as the direct empirical baseline and will add these DP-SGD methods as methodological comparisons.

Reviewer_d3ccOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper addresses the cost of empirically auditing differentially private in-context learning (DP-ICL) pipelines. Standard auditing treats the pipeline as a black box and requires many full LLM queries to obtain a reliable membership-inference estimate. The authors instead decompose the pipeline into a deterministic clean-inference stage and a noise stage, exploiting the near-determinism of temperature-0 LLM decoding. A small snapshot of clean outputs is collected, then bootstrapped into a much larger number of noisy trials at minimal additional LLM cost, with an empirical Bernstein correction applied to keep the resulting estimate statistically valid. For embedding-based mechanisms (ESA), they additionally propose MSGS, a greedy search procedure for constructing better-separated audit signal pairs.

Strengths and weaknesses

Strengths

  • The decomposition is matched to the problem, it correctly identifies that the cost bottleneck in prior auditing is repeated LLM querying rather than noise resampling, and shows these can be separated once the auditor controls the pipeline.
  • Identifying two concrete, falsifiable design flaws, rather than only demonstrating efficiency gains, is a meaningful additional contribution.
  • MSGS yields a consistent improvement in embedding separation over both baselines across two datasets.
  • The experimental setup is described with sufficient detail (mechanisms, datasets, attack modes) to follow the methodology.

Weaknesses

  • The determinism assumption is central but only lightly stress-tested. The method's validity depends on near-perfect output determinism at temperature 0, verified primarily on a single model. Production serving environments are not always bitwise deterministic, and the paper does not show how the method's guarantees degrade if this assumption is partially violated.
  • The scope of "implementation auditing" is somewhat overstated. Both flaws identified are design-level errors in the mechanism's theoretical calibration, not bugs in a specific deployed implementation. This is still a valuable finding, but it is narrower than the framing suggests, and the paper would benefit from being explicit about which class of errors this method can and cannot detect.
  • MSGS is evaluated against limited baselines. Only an LLM-generated probe and a single greedy sweep are considered, yet the achieved separation (1.4 of a theoretical maximum of 2) is used to explain a persistent, unavoidable gap in ESA's auditability.
  • Minor: the speedup comparison (Table 7) would be clearer if it explicitly stated that active auditing amortizes a fixed number of LLM calls across many bootstrap trials, while passive auditing pays per trial; this is implied but not stated directly.
Questions
  • How does the method's validity degrade under realistic departures from perfect determinism (e.g., if small artificial output variance is introduced)?
  • Can this approach detect bugs in a deployed system's actual noise-injection implementation, or is it limited to detecting errors in sensitivity/calibration design, given that both reported flaws are of the latter type?
  • How does MSGS compare against a stronger discrete optimization baseline (e.g., gradient-guided token search), given how much the paper's explanation of ESA's auditing gap relies on the 1.4-vs-2 separation figure?

My assessment would improve with stronger evidence that the determinism assumption holds beyond the tested setup.

Limitations

The paper would benefit from more clearly scoping the class of errors this method can detect, and from a more direct discussion of robustness to realistic non-determinism in serving environments, beyond the brief acknowledgment that randomness would weaken the guarantees.

Paper formatting concerns

none

Final justification

I thank the authors for their final comments. I think the last comments address my concerns about the experiments.

1 comment

Thank you for your constructive reviews! Here are our responses to the weaknesses and questions:

Q1 & W1: Robustness to imperfect determinism

We appreciate this important question regarding the determinism assumption.

To provide comprehensive results, we provided the results of different output variability with different temperatures in Table 1, reporting the results on AG News with ϵtheory=4\epsilon_{\mathrm{theory}}=4. The T=0T=0 row is taken directly from the paper and reports the mean ±\pm std over our repeated runs; due to the limited rebuttal period, each nonzero-temperature setting was evaluated once. We will repeat these experiments for multiple runs and report the mean and standard deviation for the revision.

Table 1: Auditing text classification under different temperatures.

temperatureBlack-PVWhite-PVBlack-PoEWhite-PoE
0 (direct from paper)3.95±0.013.95\pm 0.013.98±0.023.98\pm 0.022.69±0.342.69\pm 0.343.11±0.323.11\pm 0.32
0.53.933.972.693.27
13.903.952.673.23
23.523.601.212.10
41.701.880.581.04
80.440.630.280.50

Degradation is gradual rather than abrupt. For T≤1T\le1, all four settings match the deterministic case: PV shifts by at most 0.050.05, and every PoE difference falls within the T=0T=0 run-to-run std (±0.34\pm0.34 black-box, ±0.32\pm0.32 white-box). Since the nonzero-TT rows are single runs, such differences carry no signal — auditing power is unaffected up to T=1T=1, which covers the low-temperature regime where DP-ICL is typically deployed. Only beyond T=2T=2 does randomness measurably reduce neighboring-dataset distinguishability, lowering the empirical bound.

We will add these results (along with the results for text generation that are still running) in the revision for a more comprehensive discussion. The key conclusion is that our active auditing strategy improves the tightness over different output variabilities, and a more deterministic decoding configuration (e.g., zero temperature) can enhance the auditing tightness of all methods, which would be beneficial for the system owner to audit the DP-ICL's implementation.

W2: Scope of implementation auditing

Thanks for your insightful question and the recognition of our findings. We agree that the two flaws that we revealed are indeed design-level, and we will clarify this subtle difference.

But our scope still covers "implementation auditing" because the essence of all bugs is insufficient perturbations. For example, design-level flaws are insufficient noise magnitudes due to a false algorithm design; implementation-level flaws are insufficient noise computed by incorrect privacy accountant components. The key bugs are the same. So no matter how the insufficient noise is derived, as long as the empirical epsilon is higher than the theoretical epsilon, this indicates a bug. To demonstrate that SnapAudit is not limited to design flaws, we have now added an evaluation of a purely implementation-level failure, as described in our response to Q2.

Q2: Detecting an implementation-level noise-injection error

Yes, SnapAudit can detect bugs in the actual implementation. In Phase B, SnapAudit does not re-derive the noise—it invokes the pipeline's own randomization routine on the bootstrapped snapshots and observes only its realized outputs. The audit is therefore agnostic to whether an inflated ϵemp\epsilon_{emp} originates in a wrong formula or in wrong code implementing a correct formula.

To demonstrate this capability, we constructed a PV pipeline containing a standard-deviation/variance confusion. Specifically, σ\sigma is derived correctly, but σ2\sigma^2 is passed as the scale parameter to the Gaussian sampler instead of σ\sigma. This is a purely implementation-level error: the privacy analysis and intended mechanism remain unchanged, but the deployed noise-injection code is incorrect. This type of mistake is plausible because Gaussian mechanisms are often described analytically in terms of variance σ2\sigma^2, whereas common software libraries expect the standard deviation σ\sigma as the sampler’s scale parameter. Table 2 reports the results on AG News with ϵtheory=8\epsilon_{\mathrm{theory}}=8. Due to the limited rebuttal period, each setting was evaluated once.

Table 2. Auditing a variance-as-standard-deviation implementation error.

ϵ\epsilonBlack-PVWhite-PV
89.329.56

SnapAudit estimates empirical privacy losses of 9.32 and 9.56 under the black-box and white-box settings, respectively, both exceeding the claimed privacy parameter of 8. These results show that SnapAudit can detect a code-level noise-injection error even when the underlying privacy analysis and intended mechanism are correct.

Q3 & W3: Comparison with a stronger optimization baseline

We thank the reviewer for suggesting a stronger discrete optimization baseline. We implemented GCG from the Universal and Transferable Adversarial Attacks on Aligned Language Models and compared it with the greedy optimization used in MSGS. The results are reported in Table 3.

Table 3. Embedding distance from different methods.

Single sweepMulti-sweep
Greedy search (GS)1.2541.419
GCG1.4001.531

As a standalone baseline, GCG achieves an embedding distance of 1.400, which improves over single-sweep greedy search (1.254) but remains below our original MSGS method (1.419). This result shows that the improvement of MSGS does not merely result from using a weak greedy baseline: its multi-sweep alternating optimization remains more effective than the gradient-guided GCG baseline.

We further combine the multi-sweep structure of MSGS with GCG as its inner token optimizer, resulting in a new variant that we call MSGCG. MSGCG achieves a distance of 1.531, outperforming both MSGS and standalone GCG. These results show that the two components are complementary: GCG improves the token-level optimization within each sweep, while our multi-sweep procedure alternately optimizes both signal sentences. We will add GCG as a baseline and MSGCG as an improved variant of our method in the revised paper.

The sentence pair found by MSGCG with an embedding distance of 1.531 is:

"the boys sweeps straw donkey deer deserted tad adventist fife weaver wee payne pee degree grassland",

"designers heel or lina monroe dhabi woman cas born ann ferrer external gift wikipedia hosts etat"

We also evaluated this improved signal pair on SAMSum with ϵtheory=8\epsilon_{\mathrm{theory}}=8. Using the original MSGS signal pair, the empirical privacy estimates were 4.73±0.364.73\pm0.36 under the black-box attack and 4.99±0.044.99\pm0.04 under the white-box attack. Using the MSGCG signal pair increases the estimates to 5.345.34 and 5.395.39, respectively. Thus, the stronger signal pair meaningfully improves auditing effectiveness and narrows the gap between the empirical lower bound and the theoretical privacy parameter.

Nevertheless, the MSGCG distance remains below the theoretical maximum of 2, and the empirical–theoretical gap is therefore reduced but not eliminated. This is fully consistent with our original analysis: when the achievable signal-pair distance is smaller than 2, the limited output separation necessarily constrains the tightness of the empirical privacy lower bound. The new results demonstrate that stronger optimization can shrink this gap, while also supporting our explanation for why a remaining gap persists.

W4: Source of the active-auditing speedup

Thank you for pointing out that the source of the speedup should be stated more explicitly. We will revise the discussion surrounding Table 7 to clarify that active auditing amortizes a fixed set of LLM calls across many bootstrap trials, whereas passive auditing requires new LLM queries for every trial. The reported speedup therefore arises from reusing the actively collected outputs during bootstrap simulation, rather than from accelerating individual LLM calls.

Reviewer_T7ViOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes SnapAudit, an active auditing framework for differentially private in-context learning (DP-ICL). SnapAudit decomposes the auditing pipeline into clean LLM inference and stochastic privacy-noise injection. It uses a limited number of clean-output snapshots and performs large-scale bootstrap simulations with statistical confidence corrections, substantially reducing the number of expensive LLM calls. The framework is evaluated on four DP-ICL mechanisms across classification and generation tasks and reportedly achieves 80–200× speedup over passive auditing. The authors also introduce a multi-sweep greedy search method for constructing effective audit signals in embedding space and identify two privacy issues in existing DP-ICL implementations.

Strengths and weaknesses

Strengths:

  1. The decomposition of clean inference and DP noise injection is intuitive and practically useful, enabling a large number of simulated auditing trials while reducing LLM computation. The statistical correction for finite snapshots and bootstrap sampling further improves the reliability of the estimated privacy bounds.
  2. The experiments cover four representative DP-ICL mechanisms, multiple datasets, classification and generation tasks, and both black-box and white-box output settings. Beyond improving efficiency, SnapAudit successfully detects an incorrect sensitivity calculation and insufficient Gaussian noise calibration in existing DP-ICL pipelines, demonstrating its practical value.

Weaknesses:

  1. SnapAudit assumes a relatively strong level of auditor access. In particular, the auditor must be able to control the DP-ICL pipeline, obtain clean intermediate outputs, and accurately reproduce the noise-injection mechanism. This assumption may limit its applicability to externally deployed or fully black-box services.
  2. The method appears to benefit substantially from the near-deterministic behavior of LLMs at temperature zero. It remains unclear whether the same efficiency and tight privacy estimates can be maintained under stochastic decoding, commercial APIs, dynamic retrieval, or other settings with greater output variability.
  3. The experimental evaluation is somewhat limited in scope. Most experiments rely on a small set of models and largely fixed choices of temperature, privacy parameters, and partition sizes. Evaluations across a broader range of models, decoding settings, snapshot sizes, embedding models, and realistic RAG pipelines would provide stronger evidence for the method’s generalizability.
Questions

Please see the weaknesses.

Limitations

Yes.

Paper formatting concerns

No

Final justification

I appreciate the authors' thorough response to my questions during the review process. My concerns have been resolved, and I have raised my rating accordingly.

1 comment

We thank the reviewer for the constructive review. Here are our responses to the weaknesses:

W1: Limitations of active auditing assumption

We agree that the active auditing setting is particularly useful for system owners. For an external auditor with only black-box access, active auditing naturally reduces to passive auditing. However, this does not diminish the value of the active setting. A key purpose of privacy auditing is to verify that a claimed privacy guarantee is correctly implemented before deployment, a responsibility that primarily lies with the system owner. By allowing controlled intervention in the auditing process, active auditing provides system owners with a stronger tool for validating both the implementation and the overall design of their DP pipeline.

W2: Behavior under randomness

Thanks for the important question. First, all auditing methods are compared under the same temperature, so the improvement is attributed to our active auditing strategy instead of the temperature. Second, zero temperature is the most deterministic setting, so we will not underestimate the baseline performance and can stress test the greatest empirical risk for better auditing the DP ICL's implementation.

To provide comprehensive results, we provided the results of different output variability with different temperatures in Table 1, reporting the results on AG News with ϵtheory=4\epsilon_{\mathrm{theory}}=4. The T=0T=0 row is taken directly from the paper and reports the mean ±\pm std over our repeated runs; due to the limited rebuttal period, each nonzero-temperature setting was evaluated once. We will repeat these experiments for multiple runs and report the mean and standard deviation for the revision.

Table 1: Auditing text classification under different temperatures.

temperatureBlack-PVWhite-PVBlack-PoEWhite-PoE
0 (direct from paper)3.95±0.013.95\pm 0.013.98±0.023.98\pm 0.022.69±0.342.69\pm 0.343.11±0.323.11\pm 0.32
0.53.933.972.693.27
13.903.952.673.23
23.523.601.212.10
41.701.880.581.04
80.440.630.280.50

Degradation is gradual rather than abrupt. For T≤1T\le1, all four settings match the deterministic case: PV shifts by at most 0.050.05, and every PoE difference falls within the T=0T=0 run-to-run std (±0.34\pm0.34 black-box, ±0.32\pm0.32 white-box). Since the nonzero-TT rows are single runs, such differences carry no signal — auditing power is unaffected up to T=1T=1, which covers the low-temperature regime where DP-ICL is typically deployed. Only beyond T=2T=2 does randomness measurably reduce neighboring-dataset distinguishability, lowering the empirical bound.

We will add these results (along with the results for text generation that are still running) in the revision for a more comprehensive discussion. The key conclusion is that our active auditing strategy improves the tightness over different output variabilities, and a more deterministic decoding configuration (e.g., zero temperature) can enhance the auditing tightness of all methods, which would be beneficial for the system owner to audit the DP-ICL's implementation.

W3: Experiment settings and broader evaluations

We agree that a broader evaluation would provide additional evidence of generalizability. Nevertheless, the current evaluation already covers two LLMs, four datasets, four distinct DP-ICL mechanisms, five privacy budgets for each mechanism, both black-box and white-box settings, and deterministic as well as stochastic decoding. SnapAudit consistently improves auditing across these configurations, suggesting that its effectiveness is not tied to a single model or parameter choice.

Due to the limited rebuttal period, we prioritized additional evaluations of decoding temperature and partition size. We are also evaluating different snapshot sizes and will include results with an additional embedding model in the revision.

For partition size, we evaluated the PV pipeline on AG News with ϵtheory=4\epsilon_{\mathrm{theory}}=4. The partition size=3\text{partition size}=3 row is taken directly from the paper. Due to the limited rebuttal period, partition size=1\text{partition size}=1 and partition size=4\text{partition size}=4 were evaluated once.

Table 2: Auditing PV with different partition sizes.

Partition sizeBlack-boxWhite-box
13.963.97
33.95±0.013.95\pm 0.013.98±0.023.98\pm 0.02
43.953.99

The empirical privacy estimates remain stable across the tested partition sizes and close to the theoretical value of 4. In this PV configuration, changing the partition size does not materially alter the vote difference between neighboring datasets with and without the canary. The resulting auditing effectiveness is therefore largely insensitive to partition size within the evaluated range.

Regarding RAG, we thank the reviewer for suggesting a RAG evaluation. However, we believe that a full RAG experiment falls outside the scope of this paper.

At the output level, RAG systems still perform tasks such as classification or generation, both of which are already covered by our PV and ESA evaluations. The key difference lies in the privacy unit. Representative DP-RAG works typically define adjacency at the document or record level (Koga et al., Privacy-Preserving Retrieval-Augmented Generation with Differential Privacy; Grislain, RAG with Differential Privacy), whereas our setting uses exemplar-level adjacency. In practical RAG pipelines, one protected document may be split into multiple retrieved chunks, so removing one privacy unit may affect multiple in-context exemplars.

Therefore, auditing a complete RAG pipeline would require a separate document-level adjacency definition and must also account for the retrieval stage. Simply adding a retriever to our current experiments would not provide a well-aligned evaluation of a DP-RAG guarantee.

Comments on the paper

1 comment
Meta-review

Paper Summary

This paper introduces SnapAudit, an active auditing framework for differentially private in-context learning (DP-ICL) that accelerates empirical privacy auditing by 80–200×. It minimizes expensive LLM queries by decomposing the pipeline into deterministic clean inference and stochastic noise injection. By reusing a small set of clean-output snapshots, it cheaply simulates large-scale noisy trials using statistical confidence corrections. Additionally, the authors propose a multi-sweep greedy search (MSGS) to optimize audit signals in embedding spaces and identify two privacy flaws in existing DP-ICL implementations.

Pros and Cons

This paper receives mixed reviews. All reviewers appreciate the proposed auditing framework under the assumption that the auditor has control over the entire pipeline. Reviewers also agree that the experiment is extensive with sufficient detail, as well as the identified flaws in prior works.

Some concerns are summarized below, where addressing them would improve the quality of the work.

  1. Reviewer T7Vi and qqP8 raise concerns about the temperature zero setting. Since commercial API and most practical settings use stochastic decoding (temperature$>0$), it is unclear how the proposed method can extend to these cases.
  2. Reviewer qqP8 pointed out that the baselines are sufficient for passive auditing but not for active auditing. Even if the recent active or efficient DP auditing methods target methods that are not DP-ICL, it would be great to have a discussion on why they cannot be adopted (or if they can, what the result looks like).
  3. Reviewer d3cc and qqP8 have questions about the experiment regarding MSGS. Please check their comments.
  4. I fully agree with reviewer d3cc on the comment that claiming “implementation auditing” is overstated. Note that the claimed Gaussian mechanism issue is a design-level error (i.e., the previous authors ignore the condition for what range of ε\varepsilon the variance formula can be applied). Similar to the case of the sensitivity issue of ESA. Pointing them out is also important, but this is not an implementation error (which is often harder to identify). I would suggest that the authors revise the claim regarding this contribution.

Post-rebuttal update

The authors have addressed most concerns raised by the reviewers, including questions on the MSGD experiment and the temperature issue. The authors also agree to revise the claim on "implementation auditing". While some concerns remain, such as active auditing baselines, I feel the merit of this work outweighs its weaknesses. Together with the fact that all reviewers are positive (though borderline-ish), I recommend acceptance of this manuscript.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.