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

神经排序模型对词替换排序攻击的鲁棒性

Certified Robustness to Word Substitution Ranking Attack for Neural Ranking Models

Chen Wu, Ruqing Zhang, Jiafeng Guo, Wei Chen, Yixing Fan, Maarten de Rijke, Xueqi Cheng

摘要:

神经排序模型在信息检索中取得了可喜的成果。非国家机制也被证明容易受到敌对性例子的影响。最近提出了一种典型的针对NRM的单词替换排名攻击(WSRA),攻击者通过向其文本添加人类无法感知的扰动来提升目标文档的排名。这在现实世界的应用中部署NRM时引起了关注。因此,重要的是要开发技术,抵御这种攻击的NRM。在经验防御中,对抗性的例子在训练过程中被发现,并被用来增强训练集。然而,这样的方法并不能保证模型的鲁棒性,最终可能会被其他复杂的WSRA打破。为了避免这种军备竞赛,需要严格和可证明的NRM认证防御方法。为此,我们首先为排名模型定义了\textit{Certified Top-$K$ Robustness},因为用户主要关心现实场景中排名靠前的结果。当保证在任何攻击下都能使不在顶部$K$的文档远离顶部$K$时,排名模型在排名列表上被称为Certified Top- $K$ Robust。然后,我们介绍了一个认证的防御方法,命名为CertDR,以实现认证的顶级$K$对WSRA的鲁棒性,基于随机平滑的思想。具体来说,我们首先构建一个平滑的排名应用随机字替换的文件,然后利用排名属性与统计属性的合奏证明顶级$K$的鲁棒性。在两个有代表性的网络搜索数据集上进行的大量实验表明,CertDR可以显着优于最先进的排名模型经验防御方法。

英文摘要:

Neural ranking models (NRMs) have achieved promising results in information retrieval. NRMs have also been shown to be vulnerable to adversarial examples. A typical Word Substitution Ranking Attack (WSRA) against NRMs was proposed recently, in which an attacker promotes a target document in rankings by adding human-imperceptible perturbations to its text. This raises concerns when deploying NRMs in real-world applications. Therefore, it is important to develop techniques that defend against such attacks for NRMs. In empirical defenses adversarial examples are found during training and used to augment the training set. However, such methods offer no theoretical guarantee on the models' robustness and may eventually be broken by other sophisticated WSRAs. To escape this arms race, rigorous and provable certified defense methods for NRMs are needed. To this end, we first define the \textit{Certified Top-$K$ Robustness} for ranking models since users mainly care about the top ranked results in real-world scenarios. A ranking model is said to be Certified Top-$K$ Robust on a ranked list when it is guaranteed to keep documents that are out of the top $K$ away from the top $K$ under any attack. Then, we introduce a Certified Defense method, named CertDR, to achieve certified top-$K$ robustness against WSRA, based on the idea of randomized smoothing. Specifically, we first construct a smoothed ranker by applying random word substitutions on the documents, and then leverage the ranking property jointly with the statistical property of the ensemble to provably certify top-$K$ robustness. Extensive experiments on two representative web search datasets demonstrate that CertDR can significantly outperform state-of-the-art empirical defense methods for ranking models.

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

↑