[论文解读] Reconstructing Training Data from Trained Neural Networks
这篇论文表明,对于某些训练好的分类器,可以通过基于梯度训练的隐式偏差的重构方案,从网络参数中重构训练数据的大部分内容。
Understanding to what extent neural networks memorize training data is an intriguing question with practical and theoretical implications. In this paper we show that in some cases a significant fraction of the training data can in fact be reconstructed from the parameters of a trained neural network classifier. We propose a novel reconstruction scheme that stems from recent theoretical results about the implicit bias in training neural networks with gradient-based methods. To the best of our knowledge, our results are the first to show that reconstructing a large portion of the actual training samples from a trained neural network classifier is generally possible. This has negative implications on privacy, as it can be used as an attack for revealing sensitive training data. We demonstrate our method for binary MLP classifiers on a few standard computer vision datasets.
研究动机与目标
- 研究训练样本在经过训练的神经网络参数中被编码到何种程度。
- 提出一个基于梯度训练隐式偏置的实用重构方案。
- 在标准视觉数据集上演示从二进制 MLP 分类器重构训练数据。
- 讨论该重构方法的隐私影响及局限性。
提出的方法
- 利用一个理论结果:对具有同质性的网络,在逻辑损失下的梯度流收敛到边距最大化问题的 KKT 点。
- 将数据重构构建为求解输入样本 x_i 与对偶变量 lambda_i,使其满足经过训练参数的 KKT 风格表示。
- 定义一个重构损失,结合稳定性项、对偶可行性,以及可选先验,通过非凸优化恢复类似训练的输入。
- 利用网络对输入的梯度将学习到的参数与潜在训练样本联系起来。
- 应用基于 SGD 的优化来最小化重构损失并提取候选训练样本。
实验结果
研究问题
- RQ1是否可以从分类器的训练网络参数中恢复大量训练样本?
- RQ2哪种理论机制(隐式偏置)能解释哪些样本可被恢复以及原因?
- RQ3在真实数据集(MNIST/CIFAR-10)上使用二进制分类器的实际重构方案有多有效?
- RQ4此类重构攻击的隐私影响与局限性是什么?
主要发现
- 可以从训练好的二进制分类器的参数中重构相当大比例的训练数据。
- 重构质量与理论一致:对在学习分类器边界上的样本,重构更好。
- 在 MNIST 和 CIFAR-10 上,当使用具有过参数化网络的二进制分类器时,重构是可行的。
- 较小的初始化和更多的训练迭代往往会提高重构质量。
- 该方法产生的重构在视觉上与真实输入相似,但带有一定噪声,同时凸显潜在的隐私风险。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。