16
0

GRADA: Graph-based Reranker against Adversarial Documents Attack

Abstract

Retrieval Augmented Generation (RAG) frameworks improve the accuracy of large language models (LLMs) by integrating external knowledge from retrieved documents, thereby overcoming the limitations of models' static intrinsic knowledge. However, these systems are susceptible to adversarial attacks that manipulate the retrieval process by introducing documents that are adversarial yet semantically similar to the query. Notably, while these adversarial documents resemble the query, they exhibit weak similarity to benign documents in the retrieval set. Thus, we propose a simple yet effective Graph-based Reranking against Adversarial Document Attacks (GRADA) framework aiming at preserving retrieval quality while significantly reducing the success of adversaries. Our study evaluates the effectiveness of our approach through experiments conducted on five LLMs: GPT-3.5-Turbo, GPT-4o, Llama3.1-8b, Llama3.1-70b, and Qwen2.5-7b. We use three datasets to assess performance, with results from the Natural Questions dataset demonstrating up to an 80% reduction in attack success rates while maintaining minimal loss in accuracy.

View on arXiv
@article{zheng2025_2505.07546,
  title={ GRADA: Graph-based Reranker against Adversarial Documents Attack },
  author={ Jingjie Zheng and Aryo Pradipta Gema and Giwon Hong and Xuanli He and Pasquale Minervini and Youcheng Sun and Qiongkai Xu },
  journal={arXiv preprint arXiv:2505.07546},
  year={ 2025 }
}
Comments on this paper