By driving models to converge to flat minima, sharpness-aware learning algorithms (such as SAM) have shown the power to achieve state-of-the-art performances. However, these algorithms will generally incur one extra forward-backward propagation at each training iteration, which largely burdens the computation especially for scalable models. To this end, we propose a simple yet efficient training scheme, called Randomized Sharpness-Aware Training (RST). Optimizers in RST would perform a Bernoulli trial at each iteration to choose randomly from base algorithms (SGD) and sharpness-aware algorithms (SAM) with a probability arranged by a predefined scheduling function. Due to the mixture of base algorithms, the overall count of propagation pairs could be largely reduced. Also, we give theoretical analysis on the convergence of RST. Then, we empirically study the computation cost and effect of various types of scheduling functions, and give directions on setting appropriate scheduling functions. Further, we extend the RST to a general framework (G-RST), where we can adjust regularization degree on sharpness freely for any scheduling function. We show that G-RST can outperform SAM in most cases while saving 50\% extra computation cost.
Booth School of Business, University of Chicago(芝加哥大学布斯商学院);MIT Sloan School of Management(麻省理工学院斯隆管理学院);Operations Research Center(运筹学中心);MIT Center for Statistics(麻省理工学院统计中心)
DPlis: Boosting Utility of Differentially Private Deep Learning via Randomized Smoothing
Tsinghua University(清华大学);Harvard University(哈佛大学);University of California, Berkeley(加州大学伯克利分校);Huazhong University of Science and Technology(华中科技大学);Virginia Tech(弗吉尼亚理工大学)
深度学习技术在广泛的任务中取得了卓越的性能。然而,当在隐私敏感数据集上训练时,模型参数可能暴露训练数据中的隐私信息。之前的差异化私有训练尝试,虽然提供了严格的隐私保证,但导致模型性能比非私有训练低得多。此外,同一训练算法的不同运行产生的模型具有很大的性能差异。为了解决这些问题,我们提出了DPlis--Differentially Private Learning wIth Smoothing。DPlis的核心思想是构造一个平滑的损失函数,该函数有利于位于损失景观的大平坦区域中的抗噪声模型。我们提供了理论依据的实用程序的改进DPlis。大量的实验也表明,DPlis可以有效地提高模型质量和训练稳定性在给定的隐私预算。