arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.23307cs.CRcs.IR
收藏

RobustMask: 通过随机掩码实现对抗神经排序攻击的认证鲁棒性

RobustMask: Certified Robustness against Adversarial Neural Ranking Attack via Randomized Masking

Wuhan University(武汉大学);Yale University(耶鲁大学);Nanyang Technological University(南洋理工大学)

Jiawei Liu, Zhuo Chen, Rui Zhu, Miaokun Chen, Yuyang Gong, Wei Lu, Xiaofeng Wang

AI总结:

RobustMask通过结合预训练语言模型和随机掩码机制,提升神经排序模型对对抗扰动的鲁棒性,认证top-K鲁棒性并有效增强实际检索系统的安全性。

摘要:

神经排序模型已取得显著进展,并广泛应用于现实世界中的检索增强生成(RAG)等应用。然而,与其他神经架构一样,它们仍然容易受到对抗性操纵的影响:细微的字符、词或短语级别的扰动可以污染检索结果并人为促进目标候选者,破坏搜索引擎和下游系统的完整性。现有防御措施要么依赖于泛化能力差的启发法,要么假设了过于强烈的对抗性知识,限制了其实际应用。为了解决这些挑战,我们提出了RobustMask,一种结合预训练语言模型的上下文预测能力与基于随机掩码的平滑机制的新防御方法。我们的方法增强了神经排序模型对字符、词和短语级别的对抗扰动的抵抗力。利用排序模型的成对比较能力和概率统计分析,我们为RobustMask提供了理论证明,证明其在认证top-K鲁棒性。广泛的实验进一步表明,RobustMask成功地在对抗扰动影响其内容高达30%的情况下,认证了top-10排名位置中超过20%的候选文档。这些结果突显了RobustMask在增强神经排序模型对抗鲁棒性方面的有效性,标志着向为现实世界检索系统提供更强安全保证的重要一步。

英文摘要:

Neural ranking models have achieved remarkable progress and are now widely deployed in real-world applications such as Retrieval-Augmented Generation (RAG). However, like other neural architectures, they remain vulnerable to adversarial manipulations: subtle character-, word-, or phrase-level perturbations can poison retrieval results and artificially promote targeted candidates, undermining the integrity of search engines and downstream systems. Existing defenses either rely on heuristics with poor generalization or on certified methods that assume overly strong adversarial knowledge, limiting their practical use. To address these challenges, we propose RobustMask, a novel defense that combines the context-prediction capability of pretrained language models with a randomized masking-based smoothing mechanism. Our approach strengthens neural ranking models against adversarial perturbations at the character, word, and phrase levels. Leveraging both the pairwise comparison ability of ranking models and probabilistic statistical analysis, we provide a theoretical proof of RobustMask's certified top-K robustness. Extensive experiments further demonstrate that RobustMask successfully certifies over 20% of candidate documents within the top-10 ranking positions against adversarial perturbations affecting up to 30% of their content. These results highlight the effectiveness of RobustMask in enhancing the adversarial robustness of neural ranking models, marking a significant step toward providing stronger security guarantees for real-world retrieval systems.

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

↑