arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.06496cs.LGcs.CR
收藏

这是我们的损失:非凸损失下隐藏状态DP-SGD不存在隐私放大效应

It's Our Loss: No Privacy Amplification for Hidden State DP-SGD With Non-Convex Loss

University College London(伦敦大学学院)

Meenatchi Sundaram Muthu Selva Annamalai

AI总结:

本研究针对隐藏状态DP-SGD是否存在通用隐私放大的开放问题,通过构造反例从理论和实证层面证明,非凸等一般损失函数下最终迭代泄露信息量与全迭代序列相当,现有DP-SGD隐私分析是紧的,不存在普遍隐私放大效应。

摘要:

差分隐私随机梯度下降(DP-SGD)是一种广泛应用的迭代算法,用于在为用户隐私提供正式保证的前提下训练机器学习模型。然而,DP-SGD的隐私分析做出了一个不切实际的假设:算法的所有中间迭代结果(即内部状态)都会被公开,但在实际场景中,只有最终训练完成的模型(也就是算法的最终迭代结果)会被发布。在这种隐藏状态的设置下,已有研究提出了更紧的分析结论,但这些结论仅适用于损失函数受约束的情况,例如强凸且光滑的损失函数,或是线性损失函数。另一方面,实验中观测到的隐藏状态DP-SGD的隐私泄露情况——即便使用非凸损失函数时也是如此——表明,理论隐私分析与实际达到的隐私保证之间确实存在差距。因此,对于所有(可能为非凸的)损失函数,DP-SGD的隐藏状态隐私放大是否普遍可行,仍是一个悬而未决的问题。\n在本研究中,我们设计了一个反例,并从理论和实证两个层面证明:适用于所有损失函数的DP-SGD隐藏状态隐私放大结论是不成立的。我们为DP-SGD精心构造了一个损失函数,证明对于特定的损失函数,仅DP-SGD的最终迭代结果泄露的信息量,就与所有迭代结果组成的序列泄露的总信息量相当。此外,我们通过评估使用该损失函数的DP-SGD最终迭代结果的隐私泄露情况,对这一结论进行了实证验证,结果显示泄露程度与DP保证的理论上界完全吻合。由此我们证明,当前针对DP-SGD的隐私分析对于一般损失函数是紧的,并得出结论:对于所有(可能为非凸的)损失函数,DP-SGD普遍不存在隐私放大效应。

英文摘要:

Differentially Private Stochastic Gradient Descent (DP-SGD) is a popular iterative algorithm used to train machine learning models while formally guaranteeing the privacy of users. However, the privacy analysis of DP-SGD makes the unrealistic assumption that all intermediate iterates (aka internal state) of the algorithm are released since, in practice, only the final trained model, i.e., the final iterate of the algorithm is released. In this hidden state setting, prior work has provided tighter analyses, albeit only when the loss function is constrained, e.g., strongly convex and smooth or linear. On the other hand, the privacy leakage observed empirically from hidden state DP-SGD, even when using non-convex loss functions, suggests that there is in fact a gap between the theoretical privacy analysis and the privacy guarantees achieved in practice. Therefore, it remains an open question whether hidden state privacy amplification for DP-SGD is possible for all (possibly non-convex) loss functions in general. In this work, we design a counter-example and show, both theoretically and empirically, that a hidden state privacy amplification result for DP-SGD for all loss functions in general is not possible. By carefully constructing a loss function for DP-SGD, we show that for specific loss functions, the final iterate of DP-SGD alone leaks as much information as the sequence of all iterates combined. Furthermore, we empirically verify this result by evaluating the privacy leakage from the final iterate of DP-SGD with our loss function and show that this exactly matches the theoretical upper bound guaranteed by DP. Therefore, we show that the current privacy analysis for DP-SGD is tight for general loss functions and conclude that no privacy amplification is possible for DP-SGD in general for all (possibly non-convex) loss functions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑