Skip to main content
QUICK REVIEW

[Paper Review] Attack-Aware Noise Calibration for Differential Privacy

Bogdan Kulynych, Juan Felipe Gomez|arXiv (Cornell University)|Jul 2, 2024
Network Security and Intrusion DetectionComputer Science5 citations
TL;DR

The paper proposes calibrating DP noise directly to operational privacy risks (attack risk) using f-DP and privacy loss random variables, improving utility over standard ε-based calibration.

ABSTRACT

Differential privacy (DP) is a widely used approach for mitigating privacy risks when training machine learning models on sensitive data. DP mechanisms add noise during training to limit the risk of information leakage. The scale of the added noise is critical, as it determines the trade-off between privacy and utility. The standard practice is to select the noise scale to satisfy a given privacy budget $\varepsilon$. This privacy budget is in turn interpreted in terms of operational attack risks, such as accuracy, sensitivity, and specificity of inference attacks aimed to recover information about the training data records. We show that first calibrating the noise scale to a privacy budget $\varepsilon$, and then translating ε to attack risk leads to overly conservative risk assessments and unnecessarily low utility. Instead, we propose methods to directly calibrate the noise scale to a desired attack risk level, bypassing the step of choosing $\varepsilon$. For a given notion of attack risk, our approach significantly decreases noise scale, leading to increased utility at the same level of privacy. We empirically demonstrate that calibrating noise to attack sensitivity/specificity, rather than $\varepsilon$, when training privacy-preserving ML models substantially improves model accuracy for the same risk level. Our work provides a principled and practical way to improve the utility of privacy-preserving ML without compromising on privacy. The code is available at https://github.com/Felipe-Gomez/riskcal

Motivation & Objective

  • Motivate practical interpretation of DP guarantees beyond ε, focusing on operational attack risks.
  • Introduce attack-aware noise calibration that bypasses ε→risk mappings.
  • Develop efficient methods to compute risk under f-DP for general DP mechanisms including DP-SGD.
  • Demonstrate substantial utility gains from risk-based calibration in language and image tasks.

Proposed method

  • Frame DP as a hypothesis-testing problem via f-DP to relate noise to attack risk.
  • Use dominating pairs and privacy loss random variables (PLRVs) to bound attack risk.
  • Develop advantage calibration and FPR/FNR-based calibration to directly set noise for target risk.
  • Provide algorithms (with binary search) to calibrate noise under risk constraints.
  • Apply to DP-SGD and Gaussian mechanisms with efficient risk computation (≈500 ms per evaluation).
  • Release a Python package with risk-calibration implementations.

Experimental results

Research questions

  • RQ1Can noise be calibrated directly to operational attack risk under f-DP rather than via a fixed ε?
  • RQ2How can PLRVs and dominating pairs be used to compute tight risk bounds for DP mechanisms?
  • RQ3What are the utility gains when calibrating to attack advantage versus FPR/FNR risk regimes?
  • RQ4Is risk-based calibration robust against pitfalls such as increased attack power in low-FPR regions?
  • RQ5How do the proposed methods perform in private NLP and CV tasks (e.g., GPT-2 on SST-2, CNN on CIFAR-10)?

Key findings

  • Direct attack-risk calibration reduces the required noise scale versus standard ε-based calibration (up to 2× in some settings).
  • Calibrating for attack advantage can yield up to 3.5× noise reduction in DP-SGD under fixed risk, but may increase low-FPR attack power.
  • Calibrating to a given FPR/FNR region avoids the low-FPR pitfall of advantage calibration.
  • On SST-2 with private GPT-2 and on CIFAR-10, risk-based calibration yields notable accuracy gains (e.g., 18 percentage points in GPT-2 SST-2).
  • The authors provide a Python package (riskcal) implementing their risk-calibration algorithms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.