On the Differential Privacy and Interactivity of Privacy Sandbox Reports

Badih Ghazi, Charlie Harrison, Arpana Hosabettu, Pritish Kamath, Alexander Knop, S. Ravi Kumar, Ethan Leeman, Pasin Manurangsi, Vikas SahuProc. Priv. Enhancing Technol 2024

Abstract

This paper provides the first rigorous mathematical proof that Google’s Privacy Sandbox APIs—specifically the Attribution Reporting API (ARA) and Private Aggregation API (PAA)—satisfy formal Differential Privacy (DP) guarantees. The authors demonstrate that these protections hold even in interactive settings where advertisers adapt queries or influence underlying data based on previous reports. By modeling the system as an interactive mechanism and proving that individual DP implies global DP, this work bridges the gap between practical ad-tech implementations and formal privacy theory.

Introduction

As the digital advertising industry transitions away from third-party cookies, Google’s Privacy Sandbox has introduced APIs to enable performance measurement without cross-site tracking. While these APIs include privacy "guardrails," a formal proof of their Differential Privacy (DP) properties was previously missing. The primary challenge lies in the interactive nature of these systems: ad-tech companies may use adaptive queries (refining queries based on previous results) or operate on adaptive databases (changing business logic based on past performance). This paper addresses these complexities by formalizing the end-to-end measurement pipeline.

Methodology

The authors develop an abstract model of the Privacy Sandbox as an Interactive Mechanism. This involves formalizing the interaction between the Client (the browser, responsible for attribution and budget capping) and the Aggregation Service (a Trusted Execution Environment that adds noise).

Overview of the Attribution Reporting API (ARA) workflow, showing source and trigger registration leading to an aggregatable report.

The core technical contribution is the "IDP implies DP" theorem. By utilizing Individual Differential Privacy (IDP) to track privacy loss for specific individuals across multiple queries, the authors prove that satisfying a specific version of IDP guarantees a global $(\epsilon, \delta)$-DP bound, even against adaptive adversaries. The model incorporates real-world constraints like "Contribution Bounding" and "Privacy Budgeting" implemented in Chrome to limit the sensitivity of aggregate data.

Key Insights

A central argument of the paper is that interactivity is the default state of ad measurement. Proving DP for static, one-shot queries is insufficient for real-world applications where analysts are "in the loop."

Illustration of the Private Aggregation API (PAA) managing contribution budgets across time windows and event registrations.

The privacy of ARA and PAA relies heavily on browser-level capping. By enforcing hard limits on the number of reports and the total value a single "source" (e.g., an ad click) can contribute, the system naturally bounds sensitivity. The paper also addresses "key discovery" and "requerying," showing that these features remain private as long as the privacy budget is tracked correctly. Furthermore, it provides a unified framework for both summary reports (using Laplace noise) and event-level reports (using Randomized Response).

Key Results

The authors provide the first formal proofs that ARA Summary Reports, PAA Summary Reports, and ARA Event-Level Reports satisfy $(\epsilon, \delta)$-Differential Privacy. A standout result, Theorem 4.2, establishes that for any interactive mechanism, a cumulative IDP bound is sufficient for global DP. This theorem serves as a powerful tool for analyzing other interactive systems. Additionally, for the PAA, the authors introduce a "gradual expiration" model, recognizing that privacy guarantees evolve as data is cleared over time.

Limitations and Future Work

The proofs assume the security of the Trusted Execution Environment (TEE) and do not fully account for side channels, such as report timing, which Chrome currently mitigates through heuristics. While the paper focuses on "last-touch" attribution, extending these proofs to complex multi-touch models is a potential area for future research. Crucially, this work focuses on privacy; future studies will need to address the utility trade-offs and optimize the noise-to-signal ratio within these established privacy bounds.

Summary updated

BibTeX
@inproceedings{ghazi2024differential,
  author = {Badih Ghazi and Charlie Harrison and Arpana Hosabettu and Pritish Kamath and Alexander Knop and S. Ravi Kumar and Ethan Leeman and Pasin Manurangsi and Vikas Sahu},
  title = {{On the Differential Privacy and Interactivity of Privacy Sandbox Reports}},
  booktitle = {Proc. Priv. Enhancing Technol},
  year = {2024},
  url = {https://openreview.net/forum?id=2yMg3NoiWo},
}
Figure