# Counting on Dummies: Privacy Amplification with Observable Counts and Truncated Batches

Dummy points let batch-size-hiding privacy amplification survive truncation

Vitaly Feldman, Audra McMillan, Kunal Talwar · arXiv · 2026-10-30

- **Problem** Privacy amplification needs hidden batch sizes, but servers can observe them. Truncating batches to a fixed maximum size also roughly doubles sensitivity, which raises the noise needed.
- **Method** Dummy count masking adds a random number of dummy points to each batch before its count is released. Truncation then pads or cuts to a fixed size, so the count stays private.
- **Results** Under Poisson subsampling in Setting A, the tuned negative binomial stays within about 7% of the baseline epsilon of 1.

## Why variable and capped batches break accounting

Poisson subsampling and random allocation give strong privacy amplification, but both produce batches whose size is random. Their guarantees assume the batch size stays hidden, which is a poor fit once the aggregating server can count the messages it combines. In that setting the amplification analysis no longer applies as stated, so the leakage erodes the privacy guarantees.

Memory and compute budgets impose a cap s on the batch size, so any batch larger than s has to be truncated. When the batch size is fixed or known, removing a point from a full batch means another point takes its place. The batch sum can then shift by two gradients rather than one, which doubles the sensitivity and the noise scale needed.

Ganesh's tighter analysis of truncated Poisson sampling still charges this doubled sensitivity whenever the batch overflows. That charge forces the expected batch size to sit well below s.

The paper's fix starts from a count that holds the pre-truncation size, and dummy count masking adds a random number of dummies before that count is released.

## Dummies as a privacy device for the count

Dummy count masking adds a random number of dummy points to each batch before the count is released. A dummy is a fixed reference element that equals the zero vector in aggregation, so replacing a real point by a dummy is zero-out adjacency. The core mechanism already controls the privacy of that kind of replacement, so the count release is the only new thing to analyse.

The number of dummies comes from a fixed, public distribution C over the positive integers, which doesn't depend on the data. If a truncation cap applies, the batch is truncated to size s after the dummies are added, and batches with fewer than s elements are padded with the same dummy element.

Once the count is released, a removed user is replaced by one more dummy rather than by another user's data. The scheme also works in distributed aggregation without a trusted curator, because each user decides by local coin flips whether to add dummy messages and how many. With anonymous aggregation, dummy reports look like real ones, so the total number of dummies stays hidden.

The authors restrict the count noise to non-negative values, since a server cannot drop messages that other users generated. Negative noise would require dropping randomly chosen elements from the batch, which the server can only do when it can manipulate batches arbitrarily. With non-negative noise, the two conditional batches couple as zero-out neighbors, so the core mechanism controls their divergence.

## Turning the masked batch into a dominating pair

The batch algorithm folds the count release and the truncation into one object, so the existing amplification theorems apply unchanged. The pair that describes it is built from the per-step remove-direction pair (P0, Q0), which can be the Gaussian noisy sum. The paper takes P as C+1 × P0 and Q as C × Q0, where C+1 is the law of R + 1 for R drawn from C.

Because the dummy count is independent of the data, the count stage and the core stage combine as a product pair.

For Poisson subsampling, the authors apply the subsampling domination to the batch pair, which gives the subsampled pair (Pγ, Q). Here Pγ equals γP + (1 − γ)Q, and the add direction is controlled by the swapped pair (Q, Pγ). Because the t Poisson steps are independent across steps and compose adaptively, the full transcript is dominated by the t-fold product (Pγ^{⊗t}, Q^{⊗t}).

For random allocation, the same batch pair feeds the random-allocation pair RA\_{t,k}(P, Q) against Q^{⊗t}, following Feldman and Shenfeld.

A stable map sends batches that differ in one entry to batches that differ in one entry, so it keeps adjacency. Joint convexity of the hockey-stick divergence means that pre-composing with such a map cannot increase any divergence. So the dominating pair stays the same under truncation, and the authors can state the results for the truncated version.

The authors also state a participant-generated variant, in which only users that join a batch add dummies to it. That variant needs a different dominating pair, which the authors develop in a later section.

## When only participants add dummies

Dummies from every user in every round can be wasteful, so the authors analyze a cheaper variant where only users who join a batch inject dummies into it. Under random allocation a user therefore contributes data and dummies only to the k batches it joins, which is the participant-generated analogue of Algorithm 2. The authors model this with an equivalent batch algorithm Mρ, which draws the dummy count for a batch of m real users from the distribution Cm.

The monotonicity lemma states that for m ≥ r ≥ 0, the pair (1 + Cr+1, Cr) dominates (1 + Cm+1, Cm). Its proof adds an independent Cm−r draw to both sides, so post-processing contracts the hockey-stick divergence.

Lemma 6.3 uses this monotonicity to give a dominating pair Pρ,r = (1 + Cr+1) × P0 and Qρ,r = Cr × Q0 for batches with at least r participants. The conditional output argument fixes a count c and conditions on the a common real elements plus the distinguished element xn. The analysis relies on a minimum-batch-participation event, which is charged to δ rather than to ε.

In the evaluation, the guaranteed participation is r = 789 of E\[m\] = 1000 in Setting (A), with failure budget β = 0.01δ.

## How many dummies are needed

The main cost of masking is the expected number of dummies per batch, which the paper writes as E\[R\] for R drawn from C. A count with one-sided noise on its own needs a mean of order (1/ε) log(ε/δ), so privatizing the count directly is expensive. Combining black-box amplification with composition gives a per-batch mean of O(σ\* log(γt/δ)), where σ\* is γ times the square root of 2t log(1/δ) divided by ε.

In the CLT regime the log(1/δ) factor can be avoided, because the count release is controlled by the χ² divergence of a single step.

The joint analysis of the count and the sums also amplifies the count release itself. Because a user affects any given count only with probability about 1/t, the amplified count needs noise of mean roughly 1/(√t ε) per batch. Masking multiplies the χ² divergence of the pair before subsampling by 1 + χc²(1 + χs²)/χs², where χc² is the divergence of the count pair.

Under the CLT condition the variance grows by the same factor, so ε grows by at most that factor, up to lower-order terms. Calibrating the count width to σ/√α keeps this factor at most 1 + α.

Under the simplifying CLT assumptions, Theorem 7.5 says the masked release is (1+α)ε-DP for a fixed α and large parameters. The cost is a mean of b log b + 2b + 1 dummies per batch, which is O(σ/√α log(σ/√α)). Since σ = Θ(σ\*), the same mean can be written as O(σ\*/√α log(σ\*/√α)). The theorem applies to Poisson subsampling at rate γ ≤ 1/2 and to 1-out-of-t random allocation.

The result needs δ to shrink faster than any fixed power of V0 when V0 is not bounded below by a constant.

## Count-noise families under Poisson subsampling

The paper compares three count-noise families for masking the batch count under Poisson subsampling and random allocation. The families are the binomial Bin(n, q) with n equal to the dataset size, a tuned negative-binomial family, and the trapezoid family of Xiao et al. For each prescribed mean, the negative-binomial tuning searches a finite grid of tail rates, refined near the best grid point.

The reported values are the best found by that search, not certified minima over the family.

Setting (A) uses sampling rate 1/1000 over 5,000 steps, giving an expected batch of 1000 over 5 epochs. Setting (B) uses sampling rate 1/100 over 2,500 steps, giving an expected batch of 10,000 over 25 epochs. In Setting (A), the core Gaussian noise multiplier σ is 0.75 for Poisson subsampling, calibrated so the mechanism without dummies reaches ε = 1.

Under Poisson subsampling in Setting (A), the tuned negative binomial stays within about 7% of the baseline ε = 1 over the entire overhead range. In the same setting, the binomial more than doubles the overhead, so it is the most expensive family. The trapezoid family sits close to the negative binomial in both settings and both sampling schemes.

Under random allocation, the authors tune the negative-binomial parameters with the random allocation accountant. The trapezoid parameters come from the procedure of Xiao et al., which uses their Rényi-DP accountant for Poisson subsampling in both cases. The authors next compare participant-generated dummies, but only with the negative binomial and binomial families, since those can be generated in a distributed manner.

## Masking versus plain truncation under Poisson sampling

Plain truncation breaks the privacy accounting once a batch overflows the cap, so the authors test whether dummy masking does better. They compare their mechanism with the direct accounting for truncation given by Ganesh, and they do this for Poisson sampling only. The comparison sweeps batch efficiency at s = 1000 in Setting A and at s = 10000 in Setting B.

Setting A has a sampling rate of 1/1000 over 5,000 steps, while Setting B has a rate of 1/100 over 2,500 steps. Each point uses the negative-binomial count noise, with the sampling rate γ searched jointly with the noise parameters.

## Limits of the analysis and evaluation

The CLT results rest on a simplifying assumption that the Gaussian approximation is exact, which the authors state up front. They don't prove the lower-order corrections are negligible in general; they argue these corrections don't change the asymptotic conclusion. The analysis in Section 7.3 compares privacy bounds through χ² divergences, and it assumes the differences in those divergences aren't outweighed by differences in correction terms.

Theorem 7.4 holds only under the asymptotic conditions (A) and γ ≤ 1/2.

That restriction limits the theorem to the regime where the bound on εG is tight up to lower-order terms.

The authors use two settings, A and B, and the tuned negative binomial is only searched on a finite grid. Its reported values are the best found by that search, not certified minima over the family. They don't certify the optimum over the negative-binomial family, so the overhead numbers are upper estimates of what is achievable. The comparisons cover Poisson subsampling and random allocation, so other sampling schemes aren't evaluated here.

In Setting A under Poisson subsampling, the negative binomial stays within about 7% of the baseline while the binomial more than doubles the overhead.

## Paper info

- **Authors**: Vitaly Feldman, Audra McMillan, Kunal Talwar
- **Venue**: arXiv · Preprint
- **First published**: 2026-10-30
- **Added**: 2026-11-7
- **Updated**: 2026-10-30
- **Version**: v1
- **arXiv**: 2610.42139
- **Category**: cs.LG · cs.CR
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2610.42139v1) · [PDF ↗](https://arxiv.org/pdf/2610.42139v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

In many practical deployments of Differentially Private Stochastic Gradient Descent (DP-SGD), the server processes data in batches. Randomly sampling these batches allows for better privacy bounds via privacy amplification results. Most sampling schemes with provable privacy amplification, including Poisson sampling and random allocation, result in variable batch sizes. The privacy guarantee of these schemes requires that the batch sizes are not revealed. In distributed settings, the server performing the aggregation or any party observing the communication traffic may learn these batch sizes. Furthermore, in both centralized and distributed settings, memory and computation constraints may require each batch to be of some maximum size $s$, necessitating truncation of the batch when it exceeds this limit. It is known that this truncation can result in a significant increase in privacy loss. In this work, we address both of these challenges via a simple mechanism that uses a random number of \\emph{dummy points} to privatize the batch size and maintain the privacy guarantee even under truncation. We demonstrate that our mechanism is easy to implement in a distributed setting, and provide a general analysis of this mechanism for both Poisson sampling and random allocation. Our analysis is designed to support efficient and relatively tight privacy accounting. It also effectively amplifies the privacy of the count releases by subsampling, making the expected number of dummy points asymptotically smaller than what is needed to directly privatize the (sensitivity-one) batch sizes with non-negative noise. For Poisson sampling with truncated batches, we demonstrate empirically that our mechanism achieves better privacy--efficiency tradeoffs than the direct accounting for truncation recently given by (Ganesh, 2025).

## Quote from the paper

Vitaly Feldman, Audra McMillan, Kunal Talwar (2026). Counting on Dummies: Privacy Amplification with Observable Counts and Truncated Batches. arXiv:2610.42139v1. https://arxiv.org/abs/2610.42139v1

**BibTeX**

```
@misc{feldman2026counting,
  title = {{Counting on Dummies: Privacy Amplification with Observable Counts and Truncated Batches}},
  author = {Vitaly Feldman and Audra McMillan and Kunal Talwar},
  year = {2026},
  eprint = {2610.42139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.42139v1}
}
```

## Other paper commentary

- [Fast Privacy Loss Accounting for Random Allocation via Multiscale FFT](https://refivu.com/en/papers/ea28c715-b06f-47d3-ba2a-31d1558cdcae-fast-privacy-loss-accounting-for-random-allocation-via.md)
- [User Embeddings are Superpositions of Interpretable Behavioral Modes](https://refivu.com/en/papers/5ce977e5-7400-4210-a1ba-7cbeca566af8-user-embeddings-are-superpositions-of-interpretable.md)
- [A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning](https://refivu.com/en/papers/08306129-4598-48b6-baf3-9d1af09e03a6-a-reduction-of-imitation-learning-and-structured-prediction.md)
- [NICE: Non-linear Independent Components Estimation](https://refivu.com/en/papers/f56da4f3-4308-4b66-a0bf-e0d6e495195a-nice-non-linear-independent-components-estimation.md)
- [Gaussian Error Linear Units (GELUs)](https://refivu.com/en/papers/264fd129-ba49-4e4c-ac1f-59466a4e43ea-gaussian-error-linear-units-gelus.md)
- [Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasets](https://refivu.com/en/papers/c1ee1227-dd45-4aef-9943-a760b7a45dbc-towards-learning-universal-regional-and-local-hydrological.md)
- [Know When the Equation Is Wrong: Structural Uncertainty for LLM-Guided Symbolic Regression under Extrapolation](https://refivu.com/en/papers/453f5eee-b9bc-4507-9fee-c9f8070e51a0-know-when-the-equation-is-wrong-structural-uncertainty.md)
- [PersonaChatBench: Evaluating Chat Assistants with Diverse Simulated Users](https://refivu.com/en/papers/a50e9837-9e97-46c8-8f14-4c57885cb2da-personachatbench-evaluating-chat-assistants-with-diverse.md)
- [MoETok: Sparse Expert Routing for 1D Visual Tokenizers](https://refivu.com/en/papers/9ac56c4f-79e4-4a8e-84c0-669a18545702-moetok-sparse-expert-routing-for-1d-visual-tokenizers.md)
- [Failure Prediction and Classification in Vision-Language-Action Models Via Calibrated Latent Probing](https://refivu.com/en/papers/8167dc4e-f33a-47b4-ac9f-e337868963a3-failure-prediction-and-classification-in-vision-language.md)
- [Design and Validation of a Robotic Knee Exoskeleton with Musculoskeletal Simulation-Derived Biological Torque Control](https://refivu.com/en/papers/6b578a5d-2f06-47a6-ad4b-447e889eba64-design-and-validation-of-a-robotic-knee-exoskeleton.md)
- [Adversarial Training with Large Step Sizes: Implicit Bias, Optimization, and Sharpness](https://refivu.com/en/papers/6d821609-e340-4306-ba20-d8935eb49619-adversarial-training-with-large-step-sizes-implicit-bias.md)

## Terms in this paper

- [dp-SGD](https://refivu.com/en/terms/af9acb154188-dp-sgd)
- [dominating pair](https://refivu.com/en/terms/a80facbd8399-dominating-pair)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/0f60657c-f2b0-4f7a-9729-cf286e5281f4-counting-on-dummies-privacy-amplification-with-observable)
