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

逐步损失非常大:对抗性文本攻击的多步Quantization

Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attacks

Jagiellonian University(雅盖隆大学);Ardigen(阿迪根公司)

Piotr Gaiński, Klaudia Bałazy

摘要:

我们提出了一种新的基于梯度的攻击对基于transformer的语言模型,搜索一个敌对的例子在一个连续的空间令牌概率。我们的算法通过在量化补偿循环中执行多步量化来减轻连续和离散文本表示的对抗性损失之间的差距。实验表明,我们的方法显着优于其他方法在各种自然语言处理(NLP)任务。

英文摘要:

We propose a novel gradient-based attack against transformer-based language models that searches for an adversarial example in a continuous space of token probabilities. Our algorithm mitigates the gap between adversarial loss for continuous and discrete text representations by performing multi-step quantization in a quantization-compensation loop. Experiments show that our method significantly outperforms other approaches on various natural language processing (NLP) tasks.

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

↑