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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tan, Zhen, Zhao, Chengshuai, Moraffah, Raha, Li, Yifan, Wang, Song, Li, Jundong, Chen, Tianlong, Liu, Huan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866907960724160512
author Tan, Zhen
Zhao, Chengshuai
Moraffah, Raha
Li, Yifan
Wang, Song
Li, Jundong
Chen, Tianlong
Liu, Huan
author_facet Tan, Zhen
Zhao, Chengshuai
Moraffah, Raha
Li, Yifan
Wang, Song
Li, Jundong
Chen, Tianlong
Liu, Huan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_19417
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle "Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models
Tan, Zhen
Zhao, Chengshuai
Moraffah, Raha
Li, Yifan
Wang, Song
Li, Jundong
Chen, Tianlong
Liu, Huan
Cryptography and Security
Artificial Intelligence
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.
title "Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2406.19417