arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.17441cs.CVeess.IV
收藏

通过自然梯度微调实现高效的后门移除

Efficient Backdoor Removal Through Natural Gradient Fine-tuning

University of Central Florida(中佛罗里达大学);North Carolina State University(北卡罗来纳州立大学)

Nazmul Karim, Abdullah Al Arafat, Umar Khalid, Zhishan Guo, Naznin Rahnavard

AI总结:

本文提出一种仅微调单层的自然梯度微调(NGF)后门净化技术,利用损失表面几何感知优化器与Fisher Information Matrix正则化器,在多个数据集和攻击基准上实现了最先进的防御性能。

摘要:

深度神经网络(DNN)的成功严重依赖于训练方案的细节;例如训练数据、架构、超参数等。近来的后门攻击表明,攻击者可以利用此类训练细节并破坏DNN的完整性。我们的研究表明,后门模型通常被优化到一个糟糕的局部极小值,即与良性模型相比更尖锐的极小值。直观上,可以通过使用少量干净验证数据进行微调,将模型重新优化至更平滑的极小值来净化后门模型。然而,微调所有DNN参数通常需要巨大的计算成本,且往往导致一般的干净测试性能。为了解决这一问题,我们提出了一种新颖的后门净化技术——自然梯度微调(NGF),该方法专注于仅微调一层来移除后门。具体而言,NGF利用一种损失表面几何感知优化器,能够成功克服在单层优化场景下达到平滑极小值的挑战。为了增强所提方法的泛化性能,我们基于损失表面曲率矩阵(即Fisher Information Matrix)的知识,引入了一种干净数据分布感知正则化器。大量实验表明,所提方法在广泛的后门防御基准上实现了最先进的性能:四个不同的数据集——CIFAR10、GTSRB、Tiny-ImageNet和ImageNet;13种近来的后门攻击,例如Blend、Dynamic、WaNet、ISSBA等。

英文摘要:

The success of a deep neural network (DNN) heavily relies on the details of the training scheme; e.g., training data, architectures, hyper-parameters, etc. Recent backdoor attacks suggest that an adversary can take advantage of such training details and compromise the integrity of a DNN. Our studies show that a backdoor model is usually optimized to a bad local minima, i.e. sharper minima as compared to a benign model. Intuitively, a backdoor model can be purified by reoptimizing the model to a smoother minima through fine-tuning with a few clean validation data. However, fine-tuning all DNN parameters often requires huge computational costs and often results in sub-par clean test performance. To address this concern, we propose a novel backdoor purification technique, Natural Gradient Fine-tuning (NGF), which focuses on removing the backdoor by fine-tuning only one layer. Specifically, NGF utilizes a loss surface geometry-aware optimizer that can successfully overcome the challenge of reaching a smooth minima under a one-layer optimization scenario. To enhance the generalization performance of our proposed method, we introduce a clean data distribution-aware regularizer based on the knowledge of loss surface curvature matrix, i.e., Fisher Information Matrix. Extensive experiments show that the proposed method achieves state-of-the-art performance on a wide range of backdoor defense benchmarks: four different datasets- CIFAR10, GTSRB, Tiny-ImageNet, and ImageNet; 13 recent backdoor attacks, e.g. Blend, Dynamic, WaNet, ISSBA, etc.

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

↑