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

基于逐样本自适应裁剪的差分隐私学习

Differentially Private Learning with Per-Sample Adaptive Clipping

Tsinghua University(清华大学);Peking University(北京大学);Ant Group(蚂蚁集团)

Tianyu Xia, Shuheng Shen, Su Yao, Xinyi Fu, Ke Xu, Xiaolong Xu, Xing Fu

AI总结:

针对差分隐私学习中恒定裁剪需调参、归一化方法偏差大的问题,提出基于非单调权重的DP-PSAC算法,在保障隐私的同时降低更新偏差,理论与实验均验证其性能优于现有最优方法。

摘要:

近年来,人工智能隐私问题持续受到研究人员与公众的关注。作为实现隐私保护AI的一种途径,差分隐私学习是让AI模型应用差分隐私(DP)的框架。为在学习过程中实现DP,现有算法通常采用恒定裁剪限制梯度的幅度,而该裁剪阈值因对模型性能影响显著,需要精心调优。针对这一问题,最新的NSGD和Auto-S工作创新性地提出用归一化代替裁剪,以规避超参数调优。然而,NSGD、Auto-S这类基于归一化的方法依赖单调权重函数,会给小梯度样本施加过高权重,给更新过程引入额外偏差。本文提出一种基于非单调自适应权重函数的差分隐私逐样本自适应裁剪(DP-PSAC)算法,它无需传统恒定裁剪所需的超参数调优过程即可保障隐私,同时能显著降低更新量与真实批量平均梯度之间的偏差。我们提供了严谨的理论收敛分析,证明在收敛阶数相同的情况下,所提算法能得到更低的非消失界,且该边界在训练迭代过程中保持稳定,优于NSGD与Auto-S。此外,通过大量实验评估,我们证明DP-PSAC在多个主流视觉与语言任务上的表现优于或持平于当前最优方法。

英文摘要:

Privacy in AI remains a topic that draws attention from researchers and the general public in recent years. As one way to implement privacy-preserving AI, differentially private learning is a framework that enables AI models to use differential privacy (DP). To achieve DP in the learning process, existing algorithms typically limit the magnitude of gradients with a constant clipping, which requires carefully tuned due to its significant impact on model performance. As a solution to this issue, latest works NSGD and Auto-S innovatively propose to use normalization instead of clipping to avoid hyperparameter tuning. However, normalization-based approaches like NSGD and Auto-S rely on a monotonic weight function, which imposes excessive weight on small gradient samples and introduces extra deviation to the update. In this paper, we propose a Differentially Private Per-Sample Adaptive Clipping (DP-PSAC) algorithm based on a non-monotonic adaptive weight function, which guarantees privacy without the typical hyperparameter tuning process of using a constant clipping while significantly reducing the deviation between the update and true batch-averaged gradient. We provide a rigorous theoretical convergence analysis and show that with convergence rate at the same order, the proposed algorithm achieves a lower non-vanishing bound, which is maintained over training iterations, compared with NSGD/Auto-S. In addition, through extensive experimental evaluation, we show that DP-PSAC outperforms or matches the state-of-the-art methods on multiple main-stream vision and language tasks.

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

↑