ROIC-DM:基于扩散模型的鲁棒文本推理与分类
ROIC-DM: Robust Text Inference and Classification via Diffusion Model
AI总结:
本文提出基于扩散模型的ROIC-DM,通过去噪训练提升鲁棒性,并将语言模型作为顾问组件,在三个数据集上展现出优于传统防御机制的鲁棒性与性能。
摘要:
尽管语言模型在文本推理与分类任务中取得了诸多里程碑,但它们仍易受对抗攻击影响,可能导致不可预见的结果。现有工作通过为语言模型配备防御补丁来缓解此问题。然而,这些防御策略常依赖不切实际的假设,或需大幅牺牲模型性能。因此,使用此类防御机制增强目标模型的韧性是一项艰巨挑战。本文提出了一种基于扩散模型(diffusion models)的鲁棒文本推理与分类创新模型ROIC-DM。得益于包含去噪阶段的训练,ROIC-DM比传统语言模型固有地展现出更强的鲁棒性。此外,通过将传统语言模型有效纳入为顾问组件,ROIC-DM能达到与之相当、甚至在某些情况下更优的性能。在三个数据集上使用几种强文本对抗攻击进行的大量实验表明:(1) 即使传统语言模型配备了先进防御机制,ROIC-DM在鲁棒性上仍优于它们;(2) 通过将传统语言模型用作顾问,ROIC-DM能实现与之相当甚至更优的性能。
英文摘要:
While language models have made many milestones in text inference and classification tasks, they remain susceptible to adversarial attacks that can lead to unforeseen outcomes. Existing works alleviate this problem by equipping language models with defense patches. However, these defense strategies often rely on impractical assumptions or entail substantial sacrifices in model performance. Consequently, enhancing the resilience of the target model using such defense mechanisms is a formidable challenge. This paper introduces an innovative model for robust text inference and classification, built upon diffusion models (ROIC-DM). Benefiting from its training involving denoising stages, ROIC-DM inherently exhibits greater robustness compared to conventional language models. Moreover, ROIC-DM can attain comparable, and in some cases, superior performance to language models, by effectively incorporating them as advisory components. Extensive experiments conducted with several strong textual adversarial attacks on three datasets demonstrate that (1) ROIC-DM outperforms traditional language models in robustness, even when the latter are fortified with advanced defense mechanisms; (2) ROIC-DM can achieve comparable and even better performance than traditional language models by using them as advisors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。