Reproduce “A Few Words Can Distort Graphs: Knowledge Poisoning Attacks on Graph-based Retrieval-Augmented Generation of Large Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jiayi Wen, Tianxin Chen, Zhirun Zheng, Cheng Huang
The paper presents TKPA and UKPA, attacks that edit existing source text to alter the graph built by GraphRAG rather than adding malicious documents. TKPA selects query-relevant graph regions for rewriting, while UKPA weakens coreference links across chunks. On reported Microsoft GraphRAG QA tests, UKPA reduced accuracy from 95% to 50%; results cover specific systems and corpora.
Key insights
- The automated construction of knowledge graphs in GraphRAG is a critical and vulnerable attack surface, susceptible to subtle, manipulation-only poisoning, not just overt malicious document injection.
- A minimal number of subtle textual modifications can cause disproportionately large distortions in the constructed knowledge graph, fundamentally altering downstream LLM reasoning and responses.
- State-of-the-art text-level defense mechanisms are ineffective against these attacks, highlighting a need for novel graph-based security paradigms and structural integrity checks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.