Privacy Odometers in Differential Privacy
- Privacy odometers are mechanisms in differential privacy that provide a time-uniform, high-probability upper bound on cumulative privacy loss without a fixed budget.
- They utilize martingale concentration inequalities to derive bounds—such as filter, mixture, and stitched odometers—with an intrinsic √lnln(n) overhead in adaptive settings.
- Practical implementations in deep learning and adaptive algorithm design demonstrate that privacy odometers enable dynamic tracking of privacy expenditure for real-world applications.
A privacy odometer is a formal mechanism within the theory of differential privacy that provides a time-uniform, high-probability upper bound on the cumulative privacy loss incurred by a sequence of (potentially adaptively chosen) differentially private mechanisms. Unlike privacy filters, which enforce a pre-specified privacy budget via a stopping rule, privacy odometers allow analysts to track privacy expenditure dynamically without the need to fix a budget in advance. This is critical for practical deployments where the number of data accesses and their privacy parameters may depend on previous computations' outcomes, settings where classical (fixed-parameter) composition theorems fall short. Privacy odometers provide mathematically rigorous, high-probability guarantees that, at every time step, the true cumulative privacy loss does not exceed the odometer's reading, except with a specified small failure probability.
1. Formal Definitions and Guarantee
A privacy odometer is defined relative to a target failure probability , a sequence of mechanisms (each -differentially private, possibly chosen adaptively based on previous outcomes), and neighboring databases . At each round , the privacy loss random variable is
A family of deterministic functions defines the odometer readings . The sequence is a -privacy odometer if, for every 0,
1
That is, with probability at least 2, the true privacy loss never exceeds the instantaneous odometer reading at any step (Rogers et al., 2016, Whitehouse et al., 2022).
2. Odometer Bounds and Constructions
Recent work, notably Whitehouse et al. (Whitehouse et al., 2022), provides several odometer constructions with varying tightness of their bounds and dependencies on the adaptivity of parameters. Assuming each mechanism 3 is 4-pointwise DP conditioned on the past, they define 5. For a total allowable failure 6, principal odometer forms are:
- Filter odometer: Matches the classical advanced composition bound at a chosen 7. The guarantee is
8
where 9 provides the same leading constants as advanced composition (Whitehouse et al., 2022).
- Mixture odometer: Valid for all 0 simultaneously, providing a bound of order 1, derived via the method of mixtures for martingale concentration.
- Stitched odometer: Achieves the optimal asymptotic rate 2 via a stitching argument, which closely matches the law of the iterated logarithm for sums of bounded random variables.
All above guarantee, simultaneously for all 3, that the realized privacy loss stays beneath the associated odometer with probability 4.
A foundational result in (Rogers et al., 2016) demonstrates that, in the adaptive-parameter setting, privacy odometers must pay an extra factor of 5 in the cumulative loss comparison to filters or nonadaptive advanced composition. Thus, odometers provide nearly tight adaptive composition, but with an unavoidable, though slowly growing, overhead.
3. Martingale-Based Analysis and Proof Techniques
The derivation of privacy odometers is grounded in martingale concentration inequalities. The privacy-loss martingale is
6
with the filtration 7 determined by the history of 8.
Key technical steps (Whitehouse et al., 2022, Rogers et al., 2016):
- The one-step conditional expectation is bounded as 9.
- Uniform (over time) concentration of the privacy-loss martingale is obtained by advanced tools:
- Line-crossing bounds: Provide explicit expressions for the maximal excursion of the martingale, yielding the filter odometer.
- Mixture and stitching bounds: Further refine tail decay at the expense of iterated logarithmic factors in the bound, enabling tight, time-uniform guarantees.
These techniques replace earlier combinatorial or moment-based arguments and allow for sharp, implementation-friendly bounds when privacy parameters are chosen adaptively.
4. Advanced Composition and Performance Comparison
The classical advanced composition result states that composing 0 1-DP mechanisms achieves 2-DP with
3
For small 4, the second term is 5. In the nonadaptive case, privacy filters or filters can match this bound exactly (up to constants), while privacy odometers, which cannot "refuse" output, must suffer the 6 overhead. This formal separation is proved in (Rogers et al., 2016), affirming that any valid odometer in this setting must incur this additional term, while filters or nonadaptive composition can avoid it.
Empirical evaluation in deep learning (Lécuyer, 2021) shows that RDP-based odometers with improved constants report realized 7 up to 8–9 lower than previous constructions, making them practical for adaptive algorithm design.
5. Rényi Differential Privacy Odometers
The odometer concept readily extends to Rényi Differential Privacy (RDP) (Lécuyer, 2021), which offers additive composition for orders 0. For 1-RDP mechanisms, composing adaptively chosen steps summing to 2 results in 3-RDP.
In this setting, the RDP odometer maintains a collection of exponentially growing privacy budgets indexed by 4, with each "bucket" 5 of the form 6 where 7. The odometer reading after 8 steps is
9
and, as in the classical setting, this provides a high-probability upper bound, accounting for the adaptivity in the privacy parameters.
Notably, the RDP odometer incurs only an additive, logarithmic-in-0 penalty compared to the strong-composition rate, with no adaptivity overhead in the filter version.
6. Practical Implementation, Use Cases, and Experimental Insights
Practical deployment of privacy odometers relies on their ability to dynamically report privacy usage, making them suitable for scenarios such as adaptive noise or batch-size tuning during deep learning training, and early-stopping algorithms to conserve the privacy budget (Lécuyer, 2021, Whitehouse et al., 2022).
A typical implementation maintains a summary of the cumulant privacy loss statistics (e.g., 1 for DP or 2 for RDP), updating the odometer reading efficiently using bucketed structures for high-frequency queries.
Experiments on DP-SGD for CIFAR-10 classification demonstrate that privacy odometers enable:
- Adaptive algorithm design (e.g., dynamically tuning noise or batch size for improved accuracy at fixed 3);
- Early halting, saving privacy budget when further training yields diminishing returns;
- Substantially tighter 4-accounting relative to previous adaptive tools, translating into greater utility for given privacy standards.
7. Fundamental Limitations and Theoretical Separation from Filters
A principal limitation, established by Rogers et al. (Rogers et al., 2016), is that privacy odometers must suffer an additional 5 factor compared to privacy filters or nonadaptive advanced composition. This gap is intrinsic and arises from the impossibility (proved via an anti-concentration argument) of producing an odometer bound that uniformly matches the advanced composition rate for all adversarial stopping-time strategies. By contrast, privacy filters can always enforce the advanced composition budget (up to constants) by halting future computations once the cumulative loss meets the enforced threshold.
This theoretical separation underlines the necessity of choosing between the flexibility of pay-as-you-go privacy accounting (odometers) and the tightness of fixed-budget accounting (filters), with the former optimal for interactive, open-ended analyses and the latter for pre-specified query regimes.
References
- Rogers, Roth, Smith, Thakurta. "Privacy Odometers and Filters: Pay-as-you-Go Composition" (Rogers et al., 2016)
- Whitehouse, Steinke, Bun, et al. "Fully Adaptive Composition in Differential Privacy" (Whitehouse et al., 2022)
- Feldman, Zrnic. "Practical Privacy Filters and Odometers with Rényi Differential Privacy and Applications to Differentially Private Deep Learning" (Lécuyer, 2021)