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

sharpness aware minimization 的成员隐私风险

Membership Privacy Risks of Sharpness Aware Minimization

Department of Computer Science(计算机科学系);Purdue University(普渡大学);Delft University of Technology(代尔夫特理工大学);Department of Industrial and Systems Engineering(工业与系统工程系);University of Southern California(南加州大学)

Young In Kim, Andrea Agiollo, Pratiksha Agrawal, Johannes O. Royset, Rajiv Khanna

AI总结:

本文发现SAM在提升泛化能力的同时加剧了成员隐私泄露,通过分析记忆分数和影响分数揭示其对非典型子模式的捕捉能力更强,从而在成员推断攻击中表现更差。

摘要:

寻求更平坦极小值的优化算法,如sharpness-aware minimization (SAM),被认为在泛化能力和噪声鲁棒性方面有所提升。我们质疑这种提升是否会影响成员隐私。令人惊讶的是,我们发现SAM在多个数据集和攻击方法上比经典SGD更容易受到成员推断攻击(MIA)的影响,尽管其测试误差更低。这表明,SAM的几何机制虽然提升了泛化能力,却同时加剧了成员泄露。我们通过大量对记忆和影响分数的分析来研究这一现象。我们的结果揭示,SAM更擅长捕捉非典型子模式,导致样本的记忆分数更高。相反,SGD更依赖于多数特征,在非典型子群体上表现更差,记忆分数更低。关键的是,SAM的这一特性可以与未见样本预测置信度的方差降低联系起来,从而放大成员信号。最后,我们通过完美插值线性模式对SAM进行建模,并理论证明,sharpness正则化本质上会降低方差,从而保证对置信度和似然比攻击的更高MIA优势。

英文摘要:

Optimization algorithms that seek flatter minima, such as Sharpness-Aware Minimization (SAM), are credited with improved generalization and robustness to noise. We ask whether such gains impact membership privacy. Surprisingly, we find that SAM is more prone to Membership Inference Attacks (MIA) than classical SGD across multiple datasets and attack methods, despite achieving lower test error. This suggests that the geometric mechanism of SAM that improves generalization simultaneously exacerbates membership leakage. We investigate this phenomenon through extensive analysis of memorization and influence scores. Our results reveal that SAM is more capable of capturing atypical subpatterns, leading to higher memorization scores of samples. Conversely, SGD depends more heavily on majority features, exhibiting worse generalization on atypical subgroups and lower memorization. Crucially, this characteristic of SAM can be linked to lower variance in the prediction confidence of unseen samples, thereby amplifying membership signals. Finally, we model SAM under a perfectly interpolating linear regime and theoretically show that sharpness regularization inherently reduces variance, guaranteeing a higher MIA advantage for confidence and likelihood ratio attacks.

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

↑