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

链中攻击:引导大型语言模型攻击黑盒神经排序模型

Attack-in-the-Chain: Bootstrapping Large Language Models for Attacks Against Black-box Neural Ranking Models

Yu-An Liu, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke, Yixing Fan, Xueqi Cheng

AI总结:

提出Attack-in-the-Chain框架,利用思维链提示引导大型语言模型在黑盒设置下生成对抗样本,有效攻击并揭示神经排序模型的鲁棒性缺陷。

摘要:

神经排序模型(NRMs)在检索性能方面表现出极高的有效性。然而,与上一代模型相比,它们对攻击表现出更高的敏感性。为了揭示并解决这种鲁棒性不足的问题,我们提出了一种名为Attack-in-the-Chain的新型排序攻击框架。该框架基于思维链(CoT)提示跟踪大型语言模型(LLMs)与NRMs之间的交互,以在黑盒设置下生成对抗样本。我们的方法首先识别排名高于目标文档的锚点文档,将其作为推理链中的节点。然后,我们动态地为每个节点分配扰动词的数量,并提示LLMs执行攻击。最后,我们在每个推理步骤验证所有节点的攻击性能,并继续生成下一个推理步骤。在两个网络搜索基准上的实证结果证明了我们方法的有效性。

英文摘要:

Neural ranking models (NRMs) have been shown to be highly effective in terms of retrieval performance. Unfortunately, they have also displayed a higher degree of sensitivity to attacks than previous generation models. To help expose and address this lack of robustness, we introduce a novel ranking attack framework named Attack-in-the-Chain, which tracks interactions between large language models (LLMs) and NRMs based on chain-of-thought (CoT) prompting to generate adversarial examples under black-box settings. Our approach starts by identifying anchor documents with higher ranking positions than the target document as nodes in the reasoning chain. We then dynamically assign the number of perturbation words to each node and prompt LLMs to execute attacks. Finally, we verify the attack performance of all nodes at each reasoning step and proceed to generate the next reasoning step. Empirical results on two web search benchmarks show the effectiveness of our method.

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

↑