用反向同态加密保护小样本迁移学习的训练数据安全
Securing Transfer-Learned Networks with Reverse Homomorphic Encryption
- 将模型权重加密、输入数据明文,实现高效安全防护
- 在小样本场景下,差分隐私无法有效防御重建攻击
- 适合关注隐私保护的迁移学习应用开发者
针对敏感数据训练的神经网络分类器面临训练数据重构攻击的严峻威胁。尽管差分隐私训练(如DP-SGD)在大数据集上可有效防御且损失较小,但现有文献缺乏对小样本每类数据场景的实证支持。本文在现实攻击者模型下,显著扩展了重构攻击能力,验证了少样本迁移学习分类器的脆弱性。我们设计了新的白盒与黑盒攻击方法,发现DP-SGD在此类场景下难以防御,除非牺牲大量分类器性能。为此,提出一种新型同态加密(HE)方案:不加密输入数据,而是加密迁移学习所得权重,实现训练数据保护;输出保持加密,防止各类重构攻击。仅拥有私钥的可信方可解密分类结果。该方法计算开销低,兼顾安全性与模型精度。
原文摘要 · Abstract (English)
The growing body of literature on training-data reconstruction attacks raises significant concerns about deploying neural network classifiers trained on sensitive data. However, differentially private (DP) training (e.g. using DP-SGD) can defend against such attacks with large training datasets causing only minimal loss of network utility. Folklore, heuristics, and (albeit pessimistic) DP bounds suggest this fails for networks trained with small per-class datasets, yet to the best of our knowledge the literature offers no compelling evidence. We directly demonstrate this vulnerability by significantly extending reconstruction attack capabilities under a realistic adversary threat model for few-shot transfer learned image classifiers. We design new white-box and black-box attacks and find that DP-SGD is unable to defend against these without significant classifier utility loss. To address this, we propose a novel homomorphic encryption (HE) method that protects training data without degrading model's accuracy. Conventional HE secures model's input data and requires costly homomorphic implementation of the entire classifier. In contrast, our new scheme is computationally efficient and protects training data rather than input data. This is achieved by means of a simple role-reversal where classifier input data is unencrypted but transfer-learned weights are encrypted. Classifier outputs remain encrypted, thus preventing both white-box and black-box (and any other) training-data reconstruction attacks. Under this new scheme only a trusted party with a private decryption key can obtain the classifier class decisions.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。