Cookie Monster: Efficient On-Device Budgeting for Differentially-Private Ad-Measurement Systems

Pierre Tholoniat, Kelly Kostopoulou, Peter McNeely, Prabhpreet Singh Sodhi, Anirudh Varanasi, Benjamin Case, Asaf Cidon, Roxana Geambasu, Mathias Lécuyer

TL;DR

This paper introduces "Cookie Monster," an efficient on-device differential privacy (DP) budgeting system for ad measurement. It addresses the challenge of balancing user privacy with advertisers' need for accurate campaign measurement in a post-third-party cookie world, achieving significant improvements in privacy budget efficiency and query accuracy.

What Problem Does This Paper Address?

The digital advertising landscape is rapidly evolving due to the deprecation of third-party cookies and the introduction of privacy-preserving APIs. While these changes aim to enhance user privacy, they also create a critical need for effective ad measurement systems that can operate under strict privacy constraints. Existing proposals for these systems, like Google's ARA and Meta/Mozilla's IPA, often struggle with privacy-utility trade-offs. Specifically, on-device budgeting systems, while offering better user transparency, lack a formal DP foundation and can be inefficient. This paper tackles the problem of designing and formalizing an efficient on-device DP budgeting system that maximizes the number of accurate ad measurement queries an advertiser can perform while guaranteeing individual privacy.

Methods

The core of Cookie Monster's innovation lies in its formalization and application of Individual Differential Privacy (IDP). Unlike traditional DP, which assumes a central curator, IDP allows for per-device privacy guarantees. This enables Cookie Monster to:

  • Formalize On-Device Budgeting: The paper develops a formal model for on-device ad measurement systems, treating each device-epoch (a device's activity within a specific time period) as a unit of privacy.
  • Individual Sensitivity Accounting: Cookie Monster leverages IDP to deduct privacy loss based on the individual sensitivity of a device-epoch's contribution to a query, rather than a global sensitivity. This means if a device-epoch has no relevant data for a query, it deducts zero privacy loss, leading to significant budget savings.
  • Optimized Privacy Filters: The system uses privacy filters that track budgets per device-epoch and per querier, allowing for more granular accounting and preventing unnecessary budget depletion.
  • Bias Detection Mechanism: To address the potential bias introduced by out-of-budget epochs (where data is effectively zeroed out), Cookie Monster implements a side query that allows advertisers to estimate and bound the error introduced by such events.

Datasets

  • Microbenchmark Dataset: A synthetic dataset created by the authors with 40,000 conversions over 120 days, designed to systematically evaluate Cookie Monster under controlled conditions.
  • PATCG Dataset: A synthetic dataset from the W3C Private Advertising Technology Community Group, containing 24 million conversions over 30 days, representing a large advertiser.
  • Criteo Dataset: A real-world dataset from Criteo, containing 1.3 million conversions from 292 advertisers, offering evaluation across diverse advertiser sizes and scenarios. An augmented version of this dataset was also used to assess performance with more synthetic impressions.

Key Insights and Ideas

  • IDP is Crucial for On-Device Efficiency: The paper demonstrates that formalizing on-device budgeting under IDP is not just a theoretical exercise but a practical necessity for achieving significant privacy budget savings.
  • Individual Sensitivity is a Game-Changer: By focusing on the sensitivity of individual device-epochs rather than global sensitivity, Cookie Monster can avoid deducting privacy loss for irrelevant data, a key optimization over existing systems.
  • Bias is an Inherent Challenge of IDP: The paper openly acknowledges that IDP, while efficient, can introduce bias. Their proposed bias detection mechanism is a crucial step towards making IDP systems more robust and trustworthy.
  • Transparency Enhances User Trust: The on-device nature of Cookie Monster, coupled with its privacy loss dashboard (shown in Fig. 1), offers a level of transparency that can build user confidence in privacy-preserving technologies.

Key Results

  • Significant Budget Savings: Cookie Monster consistently consumed less privacy budget than baselines like ARA-like and IPA-like. For instance, on the PATCG dataset, it showed up to 206 times lower average budget consumption compared to ARA-like.
  • Improved Query Accuracy: Due to better budget conservation, Cookie Monster generally incurred lower query errors (RMSRE) than ARA-like, especially in scenarios with fewer impressions per user or when budgets were spread across many users.
  • Effective Bias Measurement: Even with the overhead of bias measurement, Cookie Monster still outperformed ARA-like in terms of budget consumption and query accuracy, demonstrating the utility of their bias estimation technique.
  • Runtime Overhead: While Cookie Monster's reporting time increased linearly with the number of impressions (from 9.1 ms to 57.3 ms), it was still considered efficient for its functionality.

Limitations and Future Work

  • Bias Management Complexity: While the paper introduces a bias detection mechanism, managing IDP-induced bias remains a general challenge. The authors suggest that future work could explore more advanced bias-management tools.
  • Runtime Side Channels: The linear increase in reporting time with impressions could potentially reveal information about the number of relevant impressions. The authors suggest enforcing a constant runtime as a future improvement.
  • Scalability of Bias Detection: Applying the bias measurement technique to real-life datasets with complex query loads is noted as an open challenge.
  • Broader Query Support: The current work focuses on single-advertiser summation queries. Extending support to more complex query types, like multi-advertiser optimization queries, is a promising direction.
  • Intermediary Ad-Tech Perspective: While the theory supports advertisers and first-party providers, further work is needed to fully reason through the theory for intermediary ad-techs.

Summary updated

BibTeX
@inproceedings{tholoniat2024cookie,
  author = {Pierre Tholoniat and Kelly Kostopoulou and Peter McNeely and Prabhpreet Singh Sodhi and Anirudh Varanasi and Benjamin Case and Asaf Cidon and Roxana Geambasu and Mathias Lécuyer},
  title = {{Cookie Monster: Efficient On-Device Budgeting for Differentially-Private Ad-Measurement Systems}},
  booktitle = {SOSP},
  year = {2024},
  doi = {10.1145/3694715.3695965},
}
Figure