arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.01300cs.LGcs.CR
收藏

如何以更好的一致性注入后门:在干净数据上进行Logit验证

How to Inject Backdoors with Better Consistency: Logit Anchoring on Clean Data

Peking University(北京大学);Sony AI(索尼AI);Ant Group(蚂蚁集团);Lehigh University(理海大学)

Zhiyuan Zhang, Lingjuan Lyu, Weiqiang Wang, Lichao Sun, Xu Sun

摘要:

由于从头开始训练大规模后门模型需要大量的训练数据集,最近的几次攻击都考虑将后门注入到经过训练的干净模型中,而不改变干净数据上的模型行为。以前的工作发现,后门可以通过对抗性权重扰动(AWP)注入到经过训练的干净模型中。这里AWPs指的是在后门学习中很小的参数变化。在这项工作中,我们观察到一个有趣的现象,参数的变化总是AWP时,调整训练干净的模型注入后门。我们进一步提供理论分析来解释这一现象。我们将在干净数据上保持准确性的行为表述为后门模型的一致性,包括全局一致性和实例一致性。我们广泛地分析了AWPs对后门模型一致性的影响。为了实现更好的一致性,我们提出了一种新的锚定损失锚定或冻结模型行为的干净的数据,与理论保证。分析和实验结果都验证了锚定损失在提高一致性,特别是实例一致性方面的有效性。

英文摘要:

Since training a large-scale backdoored model from scratch requires a large training dataset, several recent attacks have considered to inject backdoors into a trained clean model without altering model behaviors on the clean data. Previous work finds that backdoors can be injected into a trained clean model with Adversarial Weight Perturbation (AWP). Here AWPs refers to the variations of parameters that are small in backdoor learning. In this work, we observe an interesting phenomenon that the variations of parameters are always AWPs when tuning the trained clean model to inject backdoors. We further provide theoretical analysis to explain this phenomenon. We formulate the behavior of maintaining accuracy on clean data as the consistency of backdoored models, which includes both global consistency and instance-wise consistency. We extensively analyze the effects of AWPs on the consistency of backdoored models. In order to achieve better consistency, we propose a novel anchoring loss to anchor or freeze the model behaviors on the clean data, with a theoretical guarantee. Both the analytical and the empirical results validate the effectiveness of the anchoring loss in improving the consistency, especially the instance-wise consistency.

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

↑