cd /news/artificial-intelligence/topoguard-graph-theory-based-defense… · home topics artificial-intelligence article
[ARTICLE · art-71423] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

TopoGuard: Graph Theory Based Defenses Against Split-Knowledge Attacks on RAG

A new family of graph theory-based defenses called TopoGuard, introduced by researchers in a preprint on arXiv, catches 21 times more split-knowledge attacks on Retrieval Augmented Generation (RAG) systems than LlamaGuard-2-8B at 1% false positive rate (32.6% vs 1.5% recall) on the HotpotQA dataset. The attacks exploit retrieved documents that are individually benign but create false associations when combined, and TopoGuard detects malicious topology in semantic similarity graphs at sub-millisecond latency.

read1 min views1 publishedJul 24, 2026

arXiv:2607.20437v1 Announce Type: new Abstract: Production Retrieval Augmented Generation (RAG) systems rely on aggregating multiple external documents to answer complex queries. However, the retrieved documents introduce a new threat surface that can be exploited to launch split-knowledge attacks. In this attack, the adversary injects documents that are individually benign but create false associations when combined and fed to language models. This paper shows that the new attack is structurally invisible to existing per-document filters, like LlamaGuard. To address this issue in RAG, this work introduces TopoGuard, a family of graph theory-based methods specifically targeting the split-knowledge attacks by building a semantic similarity graph from retrieved documents and detecting contexts with malicious topology. Grounded on the theoretical analysis, the TopoGuard family has been proven to be effective and robust even with noisy inputs. Extensive experiments are conducted on two retrieval datasets and compared with multiple baseline methods. Specifically, the TopoGuard-$\lambda_2$+Entity catches 21$\times$ more attacks than LlamaGuard-2-8B at 1% FPR (32.6% vs 1.5% recall) on the HotpotQA dataset. Compared with production RAG detection systems using large language models, the proposed TopoGuard variants run efficiently at sub-millisecond latency and stay robust under adaptive adversaries and benign cross-domain queries.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @topoguard 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/topoguard-graph-theo…] indexed:0 read:1min 2026-07-24 ·