逐步损失非常大:对抗性文本攻击的多步Quantization
Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attacks
摘要:
我们提出了一种新的基于梯度的攻击对基于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分析而来,可能存在错误,请以论文正文为准。