Push and Pull: Defending Against Retrieval Poisoning Attacks via Embedding Space Reshaping

Longzhu He et al.

ACM Transactions on Information Systems2026https://doi.org/10.1145/3800948article
ABDC C
Weight
0.50

What the paper says

Retrieval-Augmented Generation (RAG) improves the performance of Large Language Models (LLMs) by retrieving and integrating relevant information from external knowledge bases, which helps generate more accurate responses. However, RAG is vulnerable to retrieval poisoning attacks , where attackers can induce LLM to produce inaccurate responses by injecting malicious documents into the retrieval process. In this paper, we propose ShieldRAG , a novel defense framework designed to counteract retrieval poisoning attacks by reshaping the retrieval embedding space. ShieldRAG leverages a dual-strategy effect realized via a majority-consensus mechanism: ① Push: Implicitly forces the embedding of a user query away from malicious documents by filtering out their minority signals, reducing their influence. ② Pull : Aligns the embedding of a user query closer to that of benign documents, reinforcing accurate retrieval. These strategies work synergistically to preserve retrieval integrity and enhance the quality of LLM-generated responses. Specifically, ShieldRAG operates through three key steps: Sliding Retrieval Explanation Generation , Keyword Aggregation , and Query Targeting Optimization . These three steps collectively ensure the effective integration of information from benign sources while filtering out malicious interference, thereby significantly enhancing the robustness of RAG systems against retrieval poisoning attacks. We evaluate ShieldRAG on four open-domain Question Answering (QA) datasets: Natural Questions, MS-MARCO, HotpotQA, and 2WikiMultiHopQA, using seven representative LLMs. Extensive experiments demonstrate that ShieldRAG significantly improves response accuracy while mitigating adversarial effects, showcasing strong generalization across multiple datasets and LLM architectures.

Open paper page →

Cite this paper

https://doi.org/https://doi.org/10.1145/3800948

Or copy a formatted citation

@article{longzhu2026,
  title        = {{Push and Pull: Defending Against Retrieval Poisoning Attacks via Embedding Space Reshaping}},
  author       = {Longzhu He et al.},
  journal      = {ACM Transactions on Information Systems},
  year         = {2026},
  doi          = {https://doi.org/https://doi.org/10.1145/3800948},
}

Paste directly into BibTeX, Zotero, or your reference manager.

Flag this paper

Push and Pull: Defending Against Retrieval Poisoning Attacks via Embedding Space Reshaping

Flags are reviewed by the Arbiter methodology team within 5 business days.


Evidence weight

0.50

Balanced mode · F 0.40 / M 0.15 / V 0.05 / R 0.40

F · citation impact0.50 × 0.4 = 0.20
M · momentum0.50 × 0.15 = 0.07
V · venue signal0.50 × 0.05 = 0.03
R · text relevance †0.50 × 0.4 = 0.20

† Text relevance is estimated at 0.50 on the detail page — for your query’s actual relevance score, open this paper from a search result.