Skip to main content
QUICK REVIEW

[Paper Review] Black-Box Opinion Manipulation Attacks to Retrieval-Augmented Generation of Large Language Models

Zhuo Chen, Jiawei Liu|arXiv (Cornell University)|Jul 18, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes a black-box adversarial attack strategy, PAT, that manipulates opinion polarity in Retrieval-Augmented Generation (RAG) models by poisoning retrieval rankings via surrogate model training and instruction-based adversarial prompts. The attack successfully shifts generated opinions toward desired stances—increasing supportive responses by up to 40% in some topics—revealing critical vulnerabilities in RAG systems when handling open-ended, controversial queries.

ABSTRACT

Retrieval-Augmented Generation (RAG) is applied to solve hallucination problems and real-time constraints of large language models, but it also induces vulnerabilities against retrieval corruption attacks. Existing research mainly explores the unreliability of RAG in white-box and closed-domain QA tasks. In this paper, we aim to reveal the vulnerabilities of Retrieval-Enhanced Generative (RAG) models when faced with black-box attacks for opinion manipulation. We explore the impact of such attacks on user cognition and decision-making, providing new insight to enhance the reliability and security of RAG models. We manipulate the ranking results of the retrieval model in RAG with instruction and use these results as data to train a surrogate model. By employing adversarial retrieval attack methods to the surrogate model, black-box transfer attacks on RAG are further realized. Experiments conducted on opinion datasets across multiple topics show that the proposed attack strategy can significantly alter the opinion polarity of the content generated by RAG. This demonstrates the model's vulnerability and, more importantly, reveals the potential negative impact on user cognition and decision-making, making it easier to mislead users into accepting incorrect or biased information.

Motivation & Objective

  • To investigate the vulnerability of RAG models to black-box opinion manipulation attacks in open-ended, controversial topics.
  • To explore the impact of such attacks on user cognition and decision-making, especially in politically or socially sensitive domains.
  • To develop a transferable attack strategy that operates without access to the internal components of the RAG system (e.g., retriever, LLM, corpus).
  • To evaluate the effectiveness of the attack across diverse topics, including education, society, health, and government, to identify susceptibility patterns.
  • To highlight the risks of misinformation and cognitive distortion due to retrieval-level manipulation in real-world LLM applications.

Proposed method

  • Train a surrogate model using instruction-tuned adversarial texts to simulate the behavior of the target RAG system’s retriever.
  • Generate adversarial candidate texts that manipulate the ranking of retrieval results by exploiting the surrogate model’s predictions.
  • Inject these adversarially crafted texts into the knowledge base to poison the retrieval process without modifying the retriever or LLM.
  • Use the poisoned retrieval results as context for the LLM to generate opinionated responses, measuring shifts in sentiment polarity.
  • Apply transfer-based attack techniques to ensure the adversarial samples generalize across different RAG systems, even under black-box constraints.
  • Evaluate attack success through stance classification of generated responses, comparing pre- and post-attack opinion distributions.

Experimental results

Research questions

  • RQ1To what extent can black-box adversarial attacks manipulate the opinion polarity of RAG-generated content in open-ended, controversial topics?
  • RQ2How effective is the proposed PAT attack strategy in transferring adversarial samples from a surrogate model to real RAG systems?
  • RQ3Which topics (e.g., health, society, government) are most susceptible to opinion manipulation via retrieval poisoning?
  • RQ4How does the LLM’s instruction-following capability influence the success of opinion manipulation attacks?
  • RQ5What are the downstream cognitive and decision-making impacts of such attacks on users consuming RAG-generated content?

Key findings

  • The PAT attack strategy significantly increased the proportion of supportive responses by up to 40% in topics like education and health when the target opinion was set to support.
  • For opposing opinion targets, the attack reduced supportive responses by over 30% and increased neutral and opposing responses, demonstrating effective opinion steering.
  • LLAMA3-8b showed stronger opinion manipulation effectiveness than Qwen1.5-14b, likely due to its superior instruction-following and contextual understanding abilities.
  • The attack was most effective on society and health topics, with higher success rates and greater ranking shifts in the top-3 retrieval results compared to government-related topics.
  • The government topic showed lower manipulation success, suggesting possible fine-tuning of the LLM on government-related data may help mitigate retrieval-based bias.
  • The results confirm that RAG models are vulnerable to retrieval-level poisoning attacks that can distort user perception and decision-making, especially in high-stakes, opinion-based domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.