# Differentially Private GraphRAG: Protecting Relation Connectivity and Semantics

DevFeed: [Differentially Private GraphRAG: Protecting Relation Connectivity and Semantics](<https://devfeed.tech/articles/differentially-private-graphrag-protecting-relation-connectivity-and-semantics-122808.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09658>)

Author: Jie Fu, Yuan Hong, Yue Ning, Wendy Hui Wang

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Differential Privacy](<https://devfeed.tech/topics/differential-privacy.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>)

Tags: [attacks](<https://devfeed.tech/tags/attacks.md>), [connectivity](<https://devfeed.tech/tags/connectivity.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [defense](<https://devfeed.tech/tags/defense.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [graphrag](<https://devfeed.tech/tags/graphrag.md>), [knowledge-graphs](<https://devfeed.tech/tags/knowledge-graphs.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [semantics](<https://devfeed.tech/tags/semantics.md>)

## AI overview

RelGuard proposes a differentially private defense for GraphRAG systems, which can expose knowledge graph connections and relation meanings through black-box access. Its relation-DP definition bounds how distinguishable outputs can be for alternative relations based on their semantic distance, while accounting for relation removal. Before indexing, a four-step mechanism sanitizes source documents by perturbing relation predicates or removing their connectivity using the exponential mechanism. Experiments on three GraphRAG systems and two reconstruction attacks report stronger protection than four existing defenses while better preserving downstream utility. The supplied text is an abstract and does not provide implementation details or quantitative results.

## Source excerpt

arXiv:2611.09658v1 Announce Type: new Abstract: Graph Retrieval-Augmented Generation (GraphRAG) connects information across documents through entity relationships to support relational reasoning. However, black-box access to GraphRAG systems can enable adversaries to reconstruct knowledge graphs and recover both structural connectivity between entities and the semantics of their relationships. Existing defenses lack formal privacy guarantees and provide limited protection against such reconstruction attacks. We propose RelGuard, the first differentially private framework for GraphRAG, which provides formal privacy guarantees by mitigating connectivity leakage and protecting relations and their semantic meaning through relation removal. We formalize relation differential privacy (relation-DP), which bounds the distinguishability of mechanism outputs according to the semantic distance between alternative relations while accounting for relation removal. Building on this definition, we develop a four-step defense mechanism that sanitizes source documents before GraphRAG indexing by perturbing relation predicates or removing their associated connectivity using the exponential mechanism. Experiments across three GraphRAG systems and two targeted reconstruction attacks demonstrate that RelGuard provides stronger protection against reconstruction attacks than four existing defense mechanisms while better preserving downstream utility.