Differential privacy usually protects people by adding random noise to statistics before they are released. A newer family of methods, called sampling-based or noise-free differential privacy, adds no noise at all. It releases exact counts computed on a random subset of users and suppresses any count below a threshold. The privacy guarantee then rests entirely on one fact: the attacker cannot see which users were sampled. This proposal tests that assumption empirically, on real federated data and real implementation code paths. The question is what happens to the guarantee when the sampling randomness, the "hidden coin," is partly or fully known to the party running the system. In federated learning, the server typically chooses the participating cohort itself.
The opportunity matters because these mechanisms are attractive on utility. They report no false items, and their heavy-hitter counts are undistorted. Yet none of them has been audited by attack. Every evaluation so far measures accuracy only. We propose an auditing harness built for threshold mechanisms. It plants test users whose items sit at controlled distances from the release threshold. It then measures a statistically valid lower bound on the realized privacy loss under three adversary models: the sampling coin is hidden, partially known, or fully known. The goal is a privacy profile across item frequencies that tells practitioners when the proof describes their deployment and when it does not.
Core Claim
We claim that noise-free mechanisms have a single point of failure that additive-noise mechanisms do not. In a noisy mechanism, each release draws fresh noise that the server never needs to know. In sample-and-threshold, the only randomness is who participates, and real systems routinely expose that information. Examples include server-selected cohorts, salted-hash sampling for reproducibility, and logging of who checked in. We further claim that standard audits will miss this failure. They plant a unique "canary" record, and in a threshold mechanism a unique item essentially never crosses the threshold. A naive audit would therefore conclude that leakage is near zero.
The mechanism makes this precise. Take the method of Sample-and-threshold differential privacy: Histograms and applications, which samples each user with probability $p$ and releases an item's sampled count only if it reaches $\tau$. Suppose a target user holds an item that $m$ other users also hold. The attacker's best test is whether the item appears in the output. The test's power is governed by the ratio
$$ \frac{\Pr[\mathrm{Bin}(m,p) \ge \tau-1]\,p + \Pr[\mathrm{Bin}(m,p)\ge \tau]\,(1-p)}{\Pr[\mathrm{Bin}(m,p)\ge \tau]}, $$
where $\mathrm{Bin}(m,p)$ is the number of the $m$ co-holders who get sampled. The ratio is close to 1 for $m \ll \tau/p$ and for $m \gg \tau/p$, and it peaks near $m \approx \tau/p$.
If the attacker knows the target was sampled, the leading $p$ is replaced by 1. If the attacker also knows which co-holders were sampled, the test becomes deterministic at exactly $\tau-1$ sampled co-holders: thresholding alone carries no privacy.
The prediction follows directly. Empirical leakage should be negligible for rare and very common items. It should approach the theoretical bound for items near $\tau/p$ holders. It should exceed the bound once the coin is exposed. Heavy-tailed federated text has many items in exactly that middle band. LEAF: A Benchmark for Federated Settings documents this kind of extreme per-client heterogeneity, and Concentration Inequalities for the Missing Mass and for Histogram Rule Error shows that substantial probability mass sits in sparse regions of skewed distributions.
Research Program
Several works motivate the gap, and they treat it the same way. Sample-and-threshold histograms (Sample-and-threshold differential privacy) were evaluated on Shakespeare and on synthetic Binomial and Geometric data. TrieHH (Federated Heavy Hitters Discovery with Differential Privacy) finds frequent words by having sampled clients vote on prefixes over several rounds, keeping prefixes whose votes clear a threshold. It was evaluated on Sentiment140 against Apple's local-noise protocol. Streaming threshold selection (Differentially Private Histograms under Continual Observation) extends the idea to continual releases. All three report only utility and assume the sampling is invisible to the server. TrieHH's honest-but-curious server assumption is exactly where our partial-knowledge adversary lives.
Two works supply the methodology. Auditing Private Prediction shows that auditing can reveal large gaps between bounds and realized leakage for prediction-time mechanisms. We reuse its distinguishing-game logic but redesign the canaries for thresholding. The broader privacy-auditing evidence summarized in the file points both ways. Bounds can be far too pessimistic (LDP-Auditor, PATE versus ALIBI). Proofs can also fail silently through implementation details such as timing channels, seed handling, and flawed sensitivity analysis. Our harness is built to detect both directions.
The harness has three parts. The first is a threshold-aware canary generator. It injects target users holding a synthetic item and controls $m$, the number of other users holding the same item, sweeping it across $\tau/p$. It also covers the multi-round prefix structure of TrieHH, where a canary's prefix may survive early rounds and die late.
The second is a set of adversary models over the coin. In the hidden model, fresh Bernoulli sampling is never logged. In the partial model, the attacker knows the cohort up to client availability, simulated from LEAF-style client participation. In the full model, sampling is reproducible from a salted hash the server holds, which is a common engineering choice.
The third is an estimator. Over $R$ repeated trials it records true- and false-positive rates of the presence test. It converts them to a lower bound $\hat\epsilon = \log\big((\mathrm{TPR}_{\mathrm{lo}}-\delta)/\mathrm{FPR}_{\mathrm{hi}}\big)$, where the subscripts denote one-sided Clopper–Pearson confidence limits and $\delta$ is the mechanism's stated failure probability. Because this is a lower bound, any $\hat\epsilon$ above the claimed $\epsilon$ is a certified violation.
As a secondary output, the same runs record what the threshold erases. We measure per-client recall of each user's own frequent items, which quantifies the tail-suppression bias the original papers note but do not measure. This is the utility cost of whatever $(p,\tau)$ setting the audit shows is needed to restore privacy under partial coin knowledge.
PMixED (Differentially Private Next-Token Prediction of Large Language Models) also relies on hidden Poisson subsampling, there of language-model experts. It is a natural follow-on target, but it is out of scope here. Its leakage also depends on the mollification step, which would confound the coin question.
Baselines
The naive reference point is the generic unique-canary audit used for noisy mechanisms. It plants one record no one else holds and asks whether it appears. Running it on identical data, trial counts, and confidence levels shows how much a threshold-unaware audit underestimates leakage. We expect it to report $\hat\epsilon$ near zero in every adversary model, including the full-knowledge one where the true loss is unbounded.
The strongest analytic competitor is an exact numerical privacy-loss calculation for sample-and-threshold. It evaluates the binomial ratio above, maximized over $m$, for each $(p,\tau)$. This is the strongest competitor because, for the idealized mechanism under hidden sampling, it is in principle exact and costs nothing to compute. Our audit does not need to beat it on the hidden model. There, matching it within confidence limits validates the harness. The audit "wins" only where the analytic calculation's modelling assumptions break: partial coin knowledge from realistic availability patterns, multi-round TrieHH composition as implemented, and users holding the same item several times. In those settings, beating the calculation means producing a certified $\hat\epsilon$ above the analytic value, or demonstrating that the analytic value is loose on natural data.
The strongest method on utility is TrieHH itself. On Sentiment140 it reaches top-200 word recall "close to 1.0" at $\epsilon=4$, $\delta<5\times10^{-9}$, with out-of-vocabulary precision of 1.0 (Federated Heavy Hitters Discovery with Differential Privacy). For sample-and-threshold on Shakespeare, the file contains no reported numbers; results appear only in figures. Our reimplementations must reproduce these figures before any audit result is trusted.
The additive-noise alternative is the Laplace histogram with post-hoc thresholding, the central-noise comparison in the sample-and-threshold paper. It receives the same privacy budget and the same $\tau$ grid search, and it is audited under the same three adversary models.
The key ablation is to re-randomize the coin per release while leaving the mechanism unchanged. If leakage under the full-knowledge model disappears, coin exposure, not thresholding per se, is shown to be the cause.
Why not just…?
Why not just compute the exact privacy curve analytically instead of auditing? For the textbook mechanism under hidden fresh sampling, this works, and we use it as ground truth. The weakness is that the analytic answer is only as good as its model of who knows what about sampling. Realistic client availability, cohort logging, and multi-round prefix voting are hard to model in closed form. The decisive check is whether the audit's certified $\hat\epsilon$ exceeds the analytic value in the partial-knowledge runs. If it never does, the honest conclusion is that analytics suffice, and the contribution shrinks to the knowledge-model taxonomy.
Why not just reuse standard canary-based auditing as built for noisy training? The binomial ratio shows that unique items almost never cross the threshold. Standard canaries therefore measure the one regime where these mechanisms leak least. The naive-audit baseline tests this directly. If generic canaries already recover the near-threshold peak, the threshold-aware generator is unnecessary.
Why not just add Laplace noise and stop depending on the hidden coin? This is a real alternative. Fresh noise does not need to be secret from the server operator in the same way. The cost, documented in Sample-and-threshold differential privacy, is false positives and noisier heavy-hitter counts. We put the two on a common footing. For each adversary model we find the $(p,\tau)$ that keeps the audited $\hat\epsilon$ at or below target, then compare utility to Laplace at the same audited level. If sample-and-threshold loses once the coin is partially known, that is a useful negative result for deployers.
Proposed Experiments
The data are Shakespeare with speaking roles as clients and Sentiment140 partitioned by user, both via LEAF, plus the Binomial and Geometric synthetic families for controlled skew. The grid covers $p$ and $\tau$ chosen to hit claimed $\epsilon\in\{1,2,4,8\}$ at the papers' $\delta$ levels. Each configuration runs at least $10^4$ trials so the confidence limits can certify $\epsilon$ near 4.
The first decisive check is the shape of the privacy profile under hidden sampling. Audited $\hat\epsilon$ plotted against $m$ should peak near $\tau/p$ and agree with the analytic curve. If it does not, the harness is wrong.
The second check is coin exposure. Under the partial and full models, we look for certified $\hat\epsilon$ above the claimed $\epsilon$ for near-threshold canaries in both TrieHH and flat histograms. We also measure what fraction of natural Sentiment140 and Shakespeare vocabulary falls in the vulnerable band, which says how many real users the violation would affect.
The third check is the cost of repair. We report the per-client recall lost when $(p,\tau)$ is retuned to restore the target under partial knowledge, compared against Laplace with thresholding at equal audited privacy.
The work counts as a success if the hidden-model audit matches the analytic curve and either partial-knowledge violations appear or are convincingly ruled out. Practitioners would then have a measured statement of when the noise-free guarantee holds.
References
- Sample-and-threshold differential privacy: Histograms and applications
- LEAF: A Benchmark for Federated Settings
- Concentration Inequalities for the Missing Mass and for Histogram Rule Error
- Federated Heavy Hitters Discovery with Differential Privacy
- Differentially Private Histograms under Continual Observation: Streaming Selection into the Unknown
- Auditing Private Prediction
- Differentially Private Next-Token Prediction of Large Language Models