arXiv:2411.10614cs.CRcs.LG2024-11被引 12

发现使用随机打乱训练时,模型隐私保护效果可能被高估4倍。

To Shuffle or not to Shuffle: Auditing DP-SGD with Shuffling

  • 提出新审计方法,评估打乱策略下的真实隐私泄露程度。
  • 实测显示隐私保障被高估最高达4倍,部分情况甚至达10倍。
  • 提醒研究者:打乱虽高效,但无严格分析就可能暴露隐私。

差分隐私随机梯度下降(DP-SGD)为机器学习模型训练提供形式化隐私保障。传统方法使用泊松抽样在每轮迭代中选取批次数据,近年则更倾向采用打乱机制,因其兼容性更好且计算开销更低。然而,在打乱机制下计算紧致的理论隐私保证仍是未解难题。因此,许多基于打乱训练的模型仍沿用泊松抽样的隐私报告方式,可能导致隐私保障被错误评估。本文提出新的差分隐私审计方法,分析打乱策略下的隐私泄露程度,考察其与批次大小、隐私预算及威胁模型的关系。结果表明,使用打乱训练的模型隐私保障普遍被高估,最高达4倍;不同参数设置下差距不均一。此外,两种常见打乱变体导致的隐私泄露甚至可达10倍。本工作揭示了在缺乏严谨分析方法时,使用打乱替代泊松抽样的风险。

原文摘要 · Abstract (English)

The Differentially Private Stochastic Gradient Descent (DP-SGD) algorithm supports the training of machine learning (ML) models with formal Differential Privacy (DP) guarantees. Traditionally, DP-SGD processes training data in batches using Poisson subsampling to select each batch at every iteration. More recently, shuffling has become a common alternative due to its better compatibility and lower computational overhead. However, computing tight theoretical DP guarantees under shuffling remains an open problem. As a result, models trained with shuffling are often evaluated as if Poisson subsampling were used, which might result in incorrect privacy guarantees. This raises a compelling research question: can we verify whether there are gaps between the theoretical DP guarantees reported by state-of-the-art models using shuffling and their actual leakage? To do so, we define novel DP-auditing procedures to analyze DP-SGD with shuffling and measure their ability to tightly estimate privacy leakage vis-à-vis batch sizes, privacy budgets, and threat models. Overall, we demonstrate that DP models trained using this approach have considerably overestimated their privacy guarantees (by up to 4 times). However, we also find that the gap between the theoretical Poisson DP guarantees and the actual privacy leakage from shuffling is not uniform across all parameter settings and threat models. Finally, we study two common variations of the shuffling procedure that result in even further privacy leakage (up to 10 times). Overall, our work highlights the risk of using shuffling instead of Poisson subsampling in the absence of rigorous analysis methods.

差分隐私模型审计隐私泄露

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。