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

利用差分隐私进行微调需要额外的超参数搜索

Fine-Tuning with Differential Privacy Necessitates an Additional Hyperparameter Search

Vector Institute(向量研究所);Mines Paris Université PSL(巴黎文理研究大学巴黎矿业学院);Google Research(谷歌研究院)

Yannis Cattan, Christopher A. Choquette-Choo, Nicolas Papernot, Abhradeep Thakurta

摘要:

模型需要使用隐私保护学习算法进行训练,以防止其训练数据中包含的可能的敏感信息泄漏。然而,像差分私有随机梯度下降(DP-SGD)这样的规范算法并不像非私有学习那样受益于模型规模。这表现在当在复杂任务上使用DP-SGD时,隐私和实用性(准确性)之间的折衷形式。为了弥补这种紧张关系,一种范式正在出现:从公共预训练的模型(即,非敏感)训练数据。在这项工作中,我们确定了一个监督现有的方法不同的私人微调。他们没有针对隐私学习的具体情况定制微调方法。我们的主要结果是展示如何仔细选择在预训练的神经网络中进行微调的层,使我们能够在隐私和准确性之间建立新的最先进的权衡。例如,对于在ImageNet上预训练的模型,我们在CIFAR-100上实现了$(\varepsilon, δ)=(2, 10^{-5})$的77.9%准确率。我们的工作需要额外的超参数搜索来配置差分私有微调过程本身。

英文摘要:

Models need to be trained with privacy-preserving learning algorithms to prevent leakage of possibly sensitive information contained in their training data. However, canonical algorithms like differentially private stochastic gradient descent (DP-SGD) do not benefit from model scale in the same way as non-private learning. This manifests itself in the form of unappealing tradeoffs between privacy and utility (accuracy) when using DP-SGD on complex tasks. To remediate this tension, a paradigm is emerging: fine-tuning with differential privacy from a model pretrained on public (i.e., non-sensitive) training data. In this work, we identify an oversight of existing approaches for differentially private fine tuning. They do not tailor the fine-tuning approach to the specifics of learning with privacy. Our main result is to show how carefully selecting the layers being fine-tuned in the pretrained neural network allows us to establish new state-of-the-art tradeoffs between privacy and accuracy. For instance, we achieve 77.9% accuracy for $(\varepsilon, δ)=(2, 10^{-5})$ on CIFAR-100 for a model pretrained on ImageNet. Our work calls for additional hyperparameter search to configure the differentially private fine-tuning procedure itself.

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

↑