arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.00829cs.LG

差分隐私学习中的在线敏感性优化

Online Sensitivity Optimization in Differentially Private Learning

Scuola Normale Superiore(高等师范学校);INRIA(法国国家信息与自动化研究所);Scuola Superiore Sant’Anna(圣安娜高等科学院)

Filippo Galli, Catuscia Palamidessi, Tommaso Cucinotta

AI总结:

提出一种动态优化差分隐私学习中梯度裁剪阈值的方法,将阈值作为可学习参数通过梯度下降优化,在最小化隐私分析影响的同时,避免了超参数调优的隐私开销,并在多种实验场景中表现优异。

摘要:

训练差分隐私机器学习模型需要限制个体对优化过程的贡献。这通过在平均和批处理净化之前,将梯度的$2$-范数裁剪到预定阈值来实现。这种选择以两种相反的方式对优化产生不利影响:要么在较低值时因过度裁剪而加剧偏差,要么在较高值时增加净化噪声。该选择很大程度上取决于数据集、模型架构等因素,甚至在同一优化过程中也会变化,通常需要通过网格搜索进行细致调优。为了避免超参数调优带来的隐私开销,我们提出了一种动态优化裁剪阈值的新方法。我们将该阈值视为一个额外的可学习参数,在阈值与代价函数之间建立清晰的关系。这使我们能够使用梯度下降优化前者,且对整体隐私分析的影响极小。我们的方法在多种数据集、任务、模型维度和隐私级别下,与替代的固定和自适应策略进行了全面评估。结果表明,在相同的隐私要求下,它在所评估的场景中表现相当或更好。

英文摘要:

Training differentially private machine learning models requires constraining an individual's contribution to the optimization process. This is achieved by clipping the $2$-norm of their gradient at a predetermined threshold prior to averaging and batch sanitization. This selection adversely influences optimization in two opposing ways: it either exacerbates the bias due to excessive clipping at lower values, or augments sanitization noise at higher values. The choice significantly hinges on factors such as the dataset, model architecture, and even varies within the same optimization, demanding meticulous tuning usually accomplished through a grid search. In order to circumvent the privacy expenses incurred in hyperparameter tuning, we present a novel approach to dynamically optimize the clipping threshold. We treat this threshold as an additional learnable parameter, establishing a clean relationship between the threshold and the cost function. This allows us to optimize the former with gradient descent, with minimal repercussions on the overall privacy analysis. Our method is thoroughly assessed against alternative fixed and adaptive strategies across diverse datasets, tasks, model dimensions, and privacy levels. Our results indicate that it performs comparably or better in the evaluated scenarios, given the same privacy requirements.

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

↑