When Poison Meets Structure: Topology-based Defense against Poisoning Attack on Graph-based Retrieval-Augmented Generation
Qizhi Chen, Junhao Wen, Shuang Liang, Jiakai Li, Yizhuo Ma, Rongzheng Wang, Ke Qin
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Graph Adversarial Robustness · Type: new method · Keywords: graph RAG poisoning defense, topology-based detection, pairwise discriminator, plug-and-play module, knowledge contamination
Areas: Safety & Security › Adversarial Security › Graph Adversarial Security; Graph Learning › Graph Learning Paradigms › Graph Adversarial Robustness
Summary
TDP is a lightweight topology-based defense that distinguishes poisoned evidence by ranking subgraphs, achieving state-of-the-art protection for GraphRAG systems.
Explained to a 5-year-old
A game is played where someone tries to hide bad information in a picture made of connected dots. TDP looks at how the dots are linked and spots when the links are too sparse, then removes the bad dots. This keeps the picture clean and the game fair.
Explained to a 5-year-old, longer
Imagine you have a big board of cards where each card is a piece of information and they are connected by lines. An attacker can sneak in a fake card that looks real but doesn't have enough supporting cards around it. TDP checks the board by looking at how many cards are connected to each card. If a card has very few connections, it might be fake. TDP builds two groups of cards from what you find, then trains a simple judge to compare the groups. The judge learns that real cards have lots of connections while fake cards have few. Then TDP uses this judge to find and remove the fake cards, keeping only the good ones. This works for many different kinds of attacks and can be added to existing systems without having to retrain everything from scratch.
For a technical reader
The paper introduces TDP, a lightweight discriminator that builds two candidate subgraphs from retrieved evidence and learns to rank them based on topological density. It separates clean evidence (dense connections) from poisoned evidence (sparse connections) and removes the latter. TDP is plug-and-play, requiring no end-to-end retraining, and it generalizes across multiple GraphRAG benchmarks and poisoning scenarios.
Problem
Poisoning attacks can pollute knowledge in graph-based retrieval-augmented generation, and existing defenses that rely on sentence-level semantics are less effective against such attacks.
Method
The approach constructs conflicting candidate subgraphs from retrieved evidence and trains a pairwise topology-ranking discriminator to separate clean, densely supported evidence from poisoned, sparsely supported evidence, removing the latter.
Results
TDP achieves state-of-the-art defense performance across several benchmarks and poisoning attacks, showing strong generalization.
Contributions
The first systematic defense for GraphRAG that leverages topological patterns from the poisoning game, and a plug-and-play discriminator that can be transferred without end-to-end retraining.
Practical relevance
Provides a lightweight, transferable module that can protect GraphRAG deployments against poisoning without extensive retraining.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction