arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.06015cs.LGcs.CVstat.ML
收藏

卷积神经网络中高效的逐例梯度计算

Efficient Per-Example Gradient Computations in Convolutional Neural Networks

ENS, PSL University(巴黎高等师范学院,PSL大学);Owkin, Inc.(Owkin公司)

Gaspar Rochette, Andre Manoel, Eric W. Tramel

摘要:

深度学习框架利用GPU来高效地对批量的许多训练样本执行并行计算。然而,对于某些任务,人们可能对执行每个示例的计算感兴趣,例如使用每个示例的梯度来评估每个示例唯一的感兴趣的量。一个值得注意的应用来自差分隐私领域,其中每个示例的梯度必须是范数有界的,以限制每个示例对聚合批次梯度的影响。在这项工作中,我们讨论了如何在卷积神经网络(CNN)中有效地计算每个示例的梯度。我们通过对不同规模的CNN进行几步不同的私有训练来比较现有的策略。我们还介绍了一种新的策略,用于每个示例的梯度计算,这取决于模型架构和模型的训练方式。这是使CNN的差异化私人培训实用化的第一步。

英文摘要:

Deep learning frameworks leverage GPUs to perform massively-parallel computations over batches of many training examples efficiently. However, for certain tasks, one may be interested in performing per-example computations, for instance using per-example gradients to evaluate a quantity of interest unique to each example. One notable application comes from the field of differential privacy, where per-example gradients must be norm-bounded in order to limit the impact of each example on the aggregated batch gradient. In this work, we discuss how per-example gradients can be efficiently computed in convolutional neural networks (CNNs). We compare existing strategies by performing a few steps of differentially-private training on CNNs of varying sizes. We also introduce a new strategy for per-example gradient calculation, which is shown to be advantageous depending on the model architecture and how the model is trained. This is a first step in making differentially-private training of CNNs practical.

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

↑