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

重构即所需:应对DNN中的恶意文本特征

Reformulation is All You Need: Addressing Malicious Text Features in DNNs

Zhejiang University(浙江大学);Guizhou Medical University(贵州医科大学)

Yi Jiang, Oubo Ma, Yong Yang, Tong Zhang, Shouling Ji

AI总结:

针对DNN在NLP任务中易受对抗性和后门攻击的问题,提出基于重构模块的统一自适应防御框架,处理恶意文本特征并保持语义,实验证明优于现有基线。

摘要:

人类语言包含广泛而复杂的隐含特征,攻击者可利用这些特征发起对抗性或后门攻击,从而危及用于NLP任务的DNN模型。现有的面向模型的防御方法随着模型规模增大通常需要大量计算资源,而面向样本的防御方法通常针对特定攻击向量或方案,使其易受自适应攻击的影响。我们观察到,对抗性和后门攻击的根本原因在于DNN模型的编码过程,其中对人类理解而言微不足道的细微文本特征被鲁棒性较差或被植入后门的模型错误地赋予了显著权重。基于此,我们提出了一个统一且自适应的防御框架,可有效抵御对抗性和后门攻击。我们的方法利用重构模块来处理文本输入中潜在的恶意特征,同时保留原始语义完整性。大量实验表明,我们的框架在多种恶意文本特征上优于现有的面向样本的防御基线。

英文摘要:

Human language encompasses a wide range of intricate and diverse implicit features, which attackers can exploit to launch adversarial or backdoor attacks, compromising DNN models for NLP tasks. Existing model-oriented defenses often require substantial computational resources as model size increases, whereas sample-oriented defenses typically focus on specific attack vectors or schemes, rendering them vulnerable to adaptive attacks. We observe that the root cause of both adversarial and backdoor attacks lies in the encoding process of DNN models, where subtle textual features, negligible for human comprehension, are erroneously assigned significant weight by less robust or trojaned models. Based on it we propose a unified and adaptive defense framework that is effective against both adversarial and backdoor attacks. Our approach leverages reformulation modules to address potential malicious features in textual inputs while preserving the original semantic integrity. Extensive experiments demonstrate that our framework outperforms existing sample-oriented defense baselines across a diverse range of malicious textual features.

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

↑