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

RobustNLP:一种保护NLP模型免受后门攻击的技术

RobustNLP: A Technique to Defend NLP Models Against Backdoor Attacks

Marwan Omar

摘要:

随着机器学习(ML)系统越来越多地用于现实世界中处理敏感任务并在各个领域做出决策,这些模型的安全性和隐私性也变得越来越重要。特别是,深度神经网络(DNN)已被证明容易受到后门攻击的攻击,从而对手可以访问训练数据,并有机会通过将精心开发的样本插入训练数据集中来操纵这些数据。尽管NLP社区已经进行了几项关于生成后门攻击的研究,证明了语言模式的脆弱状态,但据我们所知,还没有任何对抗此类攻击的工作。为了弥补这一差距,我们提出了RobustEncoder:一种新的基于聚类的技术,用于检测和删除文本域中的后门攻击。大量的实证结果表明,我们的技术在检测和删除后门触发器的有效性。我们的代码可在https://github.com/marwanomar1/Backdoor-Learning-for-NLP上获得

英文摘要:

As machine learning (ML) systems are being increasingly employed in the real world to handle sensitive tasks and make decisions in various fields, the security and privacy of those models have also become increasingly critical. In particular, Deep Neural Networks (DNN) have been shown to be vulnerable to backdoor attacks whereby adversaries have access to the training data and the opportunity to manipulate such data by inserting carefully developed samples into the training dataset. Although the NLP community has produced several studies on generating backdoor attacks proving the vulnerable state of language modes, to the best of our knowledge, there does not exist any work to combat such attacks. To bridge this gap, we present RobustEncoder: a novel clustering-based technique for detecting and removing backdoor attacks in the text domain. Extensive empirical results demonstrate the effectiveness of our technique in detecting and removing backdoor triggers. Our code is available at https://github.com/marwanomar1/Backdoor-Learning-for-NLP

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

↑