Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models

About

Retrieval-Augmented Generative (RAG) models enhance Large Language Models (LLMs) by integrating external knowledge bases, improving their performance in applications like fact-checking and information searching. In this paper, we demonstrate a security threat where adversaries can exploit the openness of these knowledge bases by injecting deceptive content into the retrieval database, intentionally changing the model's behavior. This threat is critical as it mirrors real-world usage scenarios where RAG systems interact with publicly accessible knowledge bases, such as web scrapings and user-contributed data pools. To be more realistic, we target a realistic setting where the adversary has no knowledge of users' queries, knowledge base data, and the LLM parameters. We demonstrate that it is possible to exploit the model successfully through crafted content uploads with access to the retriever. Our findings emphasize an urgent need for security measures in the design and deployment of RAG systems to prevent potential manipulation and ensure the integrity of machine-generated content.

Zhen Tan, Chengshuai Zhao, Raha Moraffah, Yifan Li, Song Wang, Jundong Li, Tianlong Chen, Huan Liu• 2024

Related benchmarks

TaskDatasetResultRank
Radiology Report GenerationMIMIC-CXR (test)--
209
Radiology Report GenerationIU-Xray (test)--
110
Image ClassificationMHIST (test)
Accuracy66.19
81
Image ClassificationPCam (test)
Accuracy75.36
60
Medical Image ClassificationNCT-CRC-HE-100K (test)
Accuracy89.67
51
Medical Visual Question Answering (Multiple-choice)IU-Xray (test)
Accuracy96.05
40
Medical Visual Question Answering (Multiple-choice)MIMIC (test)
Accuracy82.56
40
Medical Visual Question Answering (True/False)IU-Xray (test)
Accuracy97.78
40
Medical Visual Question Answering (True/False)MIMIC (test)
Accuracy73.2
40
Image ClassificationPCAM
Task Utility58.68
20
Showing 10 of 18 rows

Other info

Follow for update