Skip to main content
QUICK REVIEW

[论文解读] Attack-Aware Noise Calibration for Differential Privacy

Bogdan Kulynych, Juan Felipe Gomez|arXiv (Cornell University)|Jul 2, 2024
Network Security and Intrusion DetectionComputer Science被引用 5
一句话总结

本文提出直接将DP噪声按操作隐私风险(攻击风险)进行标定,利用f-DP和隐私损失随机变量,提升相对于标准基于ε的标定的实用性。

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

研究动机与目标

  • 推动将DP保证的实际含义从ε扩展到超越ε的解释,聚焦于操作层面的攻击风险。
  • 引入面向攻击的噪声标定,绕过ε到风险的映射。
  • 开发在f-DP下计算通用DP机制(包括DP-SGD)的风险的高效方法。
  • 展示基于风险的标定在语言和图像任务中的显著效用提升。

提出的方法

  • 通过f-DP将DP框定为假设检验问题,以将噪声与攻击风险联系起来。
  • 使用支配对和隐私损失随机变量(PLRVs)来界定攻击风险。
  • 开发基于优势的标定和基于FPR/FNR的标定,直接为目标风险设定噪声。
  • 提供在风险约束下进行噪声标定的算法(含二分搜索)。
  • 应用于DP-SGD和高斯机制,并提供高效的风险计算(每次评估约500 ms)。
  • 发布一个包含风险标定实现的Python包。

实验结果

研究问题

  • RQ1是否可以直接将噪声按操作攻击风险在f-DP下标定,而不是通过固定的ε?
  • RQ2如何利用PLRVs和支配对来计算DP机制的紧致风险界限?
  • RQ3在对攻击优势进行标定与基于FPR/FNR风险区间标定之间,效用增益有多大?
  • RQ4基于风险的标定是否对低FPR区域攻击能力上升等陷阱具有鲁棒性?
  • RQ5在私有NLP和CV任务中的表现如何(如在SST-2上使用GPT-2,在CIFAR-10上使用CNN)?

主要发现

  • 直接按攻击风险进行标定可以减少所需的噪声尺度,相较于标准基于ε的标定(在某些设置中可达到2×)。
  • 对攻击优势进行标定在固定风险下可在DP-SGD中实现高达3.5×的噪声降低,但可能增加低FPR区域的攻击能力。
  • 对给定的FPR/FNR区域进行标定可避免优势标定的低FPR陷阱。
  • 在SST-2上使用私有GPT-2以及在CIFAR-10上,基于风险的标定带来显著的准确率提升(如GPT-2在SST-2上提升18个百分点)。
  • 作者提供了一个实现其风险标定算法的Python包(riskcal)。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。