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

FlippedRAG: 黑盒意见操控对抗攻击针对检索增强生成模型

FlippedRAG: Black-Box Opinion Manipulation Adversarial Attacks to Retrieval-Augmented Generation Models

Wuhan University(武汉大学);Worcester Polytechnic Institute(伍斯特理工学院)

Zhuo Chen, Yuyang Gong, Jiawei Liu, Miaokun Chen, Haotan Liu, Qikai Cheng, Fan Zhang, Wei Lu, Xiaozhong Liu

AI总结:

本文提出FlippedRAG,一种针对黑盒RAG模型的对抗攻击方法,通过逆向工程检索器和污染触发器实现对意见操控的高效攻击。

摘要:

检索增强生成(RAG)通过动态检索外部知识来丰富大语言模型,减少幻觉并满足实时信息需求。尽管现有研究主要针对RAG的性能和效率,新兴研究强调了关键的安全问题。然而,现有的对抗方法仍然有限,主要针对白盒场景或启发式的黑盒攻击,而没有充分调查检索阶段的漏洞。此外,先前的工作主要集中在事实性问答任务上,其攻击缺乏复杂性,可以被高级LLM轻易纠正。在本文中,我们研究了一个更加现实和关键的威胁场景:针对黑盒RAG模型的对抗攻击,特别是针对争议性话题。具体来说,我们提出了FlippedRAG,一种基于转移的对抗攻击方法,针对黑盒RAG系统。我们首先证明了黑盒RAG系统的底层检索器可以被逆向工程,使我们能够训练一个代理检索器。利用代理检索器,我们进一步设计了目标污染触发器,通过修改少量文档来有效操控检索和随后的生成。广泛的实证结果表明,FlippedRAG显著优于基线方法,将平均攻击成功率提高了16.7%。FlippedRAG在平均上使RAG生成响应的意见极性产生50%的方向性偏移,最终导致用户认知产生20%的偏移。此外,我们评估了几种潜在的防御措施的性能,得出结论现有缓解策略仍然不足以对抗这种复杂的操控攻击。这些结果突显了开发创新防御解决方案的紧迫性,以确保RAG系统的安全性和可信度。

英文摘要:

Retrieval-Augmented Generation (RAG) enriches LLMs by dynamically retrieving external knowledge, reducing hallucinations and satisfying real-time information needs. While existing research mainly targets RAG's performance and efficiency, emerging studies highlight critical security concerns. Yet, current adversarial approaches remain limited, mostly addressing white-box scenarios or heuristic black-box attacks without fully investigating vulnerabilities in the retrieval phase. Additionally, prior works mainly focus on factoid Q&A tasks, their attacks lack complexity and can be easily corrected by advanced LLMs. In this paper, we investigate a more realistic and critical threat scenario: adversarial attacks intended for opinion manipulation against black-box RAG models, particularly on controversial topics. Specifically, we propose FlippedRAG, a transfer-based adversarial attack against black-box RAG systems. We first demonstrate that the underlying retriever of a black-box RAG system can be reverse-engineered, enabling us to train a surrogate retriever. Leveraging the surrogate retriever, we further craft target poisoning triggers, altering vary few documents to effectively manipulate both retrieval and subsequent generation. Extensive empirical results show that FlippedRAG substantially outperforms baseline methods, improving the average attack success rate by 16.7%. FlippedRAG achieves on average a 50% directional shift in the opinion polarity of RAG-generated responses, ultimately causing a notable 20% shift in user cognition. Furthermore, we evaluate the performance of several potential defensive measures, concluding that existing mitigation strategies remain insufficient against such sophisticated manipulation attacks. These results highlight an urgent need for developing innovative defensive solutions to ensure the security and trustworthiness of RAG systems.

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

↑