Bias Amplification in RAG: Poisoning Knowledge Retrieval to Manipulate Large Language ModelsBias Amplification in RAG: Poisoning Knowledge Retrieval to Steer LLMs
The researchers propose the Bias Retrieval and Reward Attack (BRRA) framework, which systematically studies attack paths that amplify large language model bias by manipulating RAG systems. Methodologically, the paper designs an adversarial document generation method based on a multi-objective reward function, uses subspace projection techniques to manipulate retrieval results, and constructs a cyclic feedback mechanism to achieve continuous amplification of bias. Experiments on multiple mainstream large language models show that the BRRA attack can significantly enhance model bias; for example, a compromised RAG system, in response to a gender-neutral query about domestic violence victims, preferentially retrieves documents depicting women as victims, causing the output to perpetuate gender stereotypes. The paper also explores a two-stage defense mechanism to mitigate the attack's impact and points out that fairness issues in RAG systems need attention.