A General Framework for Per-record Differential Privacy

Xinghe Chen, Dajun Sun, Quanqing Xu, Wei DongProc. ACM Manag. Data 2025

Introduction

Differential Privacy (DP) has established itself as the gold standard for privacy-preserving data analysis. By introducing controlled noise, DP ensures that the presence or absence of a single record in a dataset does not significantly alter the output of a query. This protection is quantified by the privacy budget parameter, $\epsilon$. Traditionally, $\epsilon$ is applied uniformly across an entire dataset. However, this "one-size-fits-all" approach often results in a catastrophic loss of utility when datasets contain heterogeneous records.

In many real-world scenarios, the sensitivity of data varies significantly between individuals. For instance, in a banking dataset, a customer with a $1 million balance may require much stricter privacy protections than a customer with a $10 balance. If a global $\epsilon$ is set to protect the most sensitive possible record, the resulting noise can render the entire analysis useless. This paper introduces a general framework for Per-record Differential Privacy (PrDP), a paradigm that allows privacy budgets to vary based on individual data values while maintaining rigorous privacy guarantees.

The Challenge of Variable Budgets

The primary obstacle in implementing per-record privacy is that the privacy budget itself can become a sensitive value. If the amount of noise added to a query response reveals the privacy budget of a specific record, it indirectly leaks information about that record's underlying data. Previous attempts to address this, often categorized as Personalized DP (PDP), typically assumed that privacy budgets were public knowledge. PrDP tackles the more difficult and secure problem: providing record-specific privacy without allowing the budget itself to leak information.

The PrDP Framework

The authors propose a "glass-box" framework designed to transform standard DP mechanisms into PrDP-compliant ones. This framework is built upon two core innovations:

1. Privacy-Specified Domain Partitioning

Instead of treating the dataset as a monolithic entity, the framework partitions the entire data universe into disjoint domains based on the privacy budget function $\epsilon(r)$. By grouping records with similar privacy requirements, the system can manage noise levels more granularly without exposing individual record values.

2. The Two-Step General Framework

The framework operates in two distinct phases to ensure both utility and privacy:

  • Step 1 (Estimation): The system uses a specialized private counting algorithm to estimate the minimum privacy budget ($\epsilon_{min}(D)$) actually present in the dataset. This is a critical departure from traditional methods that rely on a theoretical, ultra-conservative global minimum. By identifying the actual sensitivity of the current data, the framework can calibrate noise more accurately.
  • Step 2 (Execution): The framework filters out "light" domains—those with too few records to be protected privately—and then executes a standard DP mechanism on the remaining data using the estimated budget.

This approach adds remarkably low overhead. The cost of "finding" the correct privacy budget is only doubly logarithmic ($O(\log \log (\hat{\epsilon}/\check{\epsilon}))$) relative to the budget range, making it highly practical for large-scale applications.

Extension to Local Differential Privacy (LDP)

The authors further extend this framework to the Local DP setting, where users do not trust a central server. Through a technique called Privacy-Specified Query Augmentation, users send multiple noisy responses corresponding to different potential budget domains. This ensures that even without a central aggregator, the per-record privacy requirements are respected.

Experimental Results

The framework was evaluated against synthetic data (Normal and Zipf distributions) and diverse real-world datasets, including financial marketing data, government salary records from San Francisco and Ontario, and Japan customs trade statistics.

Key findings include:

  • Massive Utility Gains: In sum estimation tasks, the PrDP framework achieved 2x to 165x lower relative error compared to state-of-the-art Personalized DP methods.
  • Efficiency: The algorithms demonstrated high operational efficiency, reducing runtime by up to 16x compared to existing baselines.
  • Handling Extremes: For "Max" queries—where naive DP often fails with relative errors exceeding 100%—the PrDP framework maintained a relative rank error of only ~6%.
  • Versatility: The framework proved robust across various budget functions, including inverse, logarithmic, and square root functions, and successfully handled complex non-union queries like "Median" and "Distinct Count."

Conclusion and Future Directions

By allowing the privacy budget to adapt to the records actually present in a dataset, the PrDP framework bridges the gap between rigorous privacy and practical data utility. While the current framework is optimized for static databases, it lays the groundwork for several future research avenues. These include extending PrDP to dynamic, streaming data environments, exploring its application within the Shuffle-DP model to further improve the privacy-utility tradeoff, and managing multi-variable budget functions where privacy requirements depend on multiple interacting attributes.

Summary updated

BibTeX
@inproceedings{chen2025general,
  author = {Xinghe Chen and Dajun Sun and Quanqing Xu and Wei Dong},
  title = {{A General Framework for Per-record Differential Privacy}},
  booktitle = {Proc. ACM Manag. Data},
  year = {2025},
}
Figure