Defense Against Knowledge Poisoning Attack on GraphRAG
Havva Alizadeh Noughabi, Fattane Zarrinkalam, Ali Dehghantanha
Abstract
GraphRAG augments large language models with structured knowledge graphs, enabling graph-based context selection and a more integrated view of the knowledge space. However, recent work shows that GraphRAG exposes a new attack surface: corpus-level knowledge poisoning can inject spurious entities and relationships during graph construction, corrupting query-specific subgraphs and steering the generator toward incorrect answers. We propose Hop-wise Guard for GraphRAG (HoG-GRAG), a defense layer between retriever and generator that decomposes multi-hop questions into ordered subqueries, monitors hop-wise execution for poisoning-induced inconsistencies, and locally repairs the retrieved subgraph by pruning compromised entities and relationships and adding only minimal missing evidence. Experiments on multi-hop datasets and multiple GraphRAG configurations show that HoG-GRAG recovers a large fraction of the lost performance. The code is available at https://github.com/CyberScienceLab/HoG-GRAG.- Anthology ID:
- 2026.acl-short.47
- Volume:
- Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)
- Month:
- July
- Year:
- 2026
- Address:
- San Diego, California, United States
- Editors:
- Maria Liakata, Viviane P. Moreira, Jiajun Zhang, David Jurgens
- Venue:
- ACL
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 555–563
- Language:
- URL:
- https://preview.aclanthology.org/ingest-acl/2026.acl-short.47/
- DOI:
- Cite (ACL):
- Havva Alizadeh Noughabi, Fattane Zarrinkalam, and Ali Dehghantanha. 2026. Defense Against Knowledge Poisoning Attack on GraphRAG. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 555–563, San Diego, California, United States. Association for Computational Linguistics.
- Cite (Informal):
- Defense Against Knowledge Poisoning Attack on GraphRAG (Noughabi et al., ACL 2026)
- PDF:
- https://preview.aclanthology.org/ingest-acl/2026.acl-short.47.pdf