The right to hide: Masking community affiliation via minimal graph rewiring

Protecting privacy in social graphs may require obscuring nodes’ membership in sensitive communities. However, doing so without significantly disrupting the underlying graph topology remains a key challenge. In this work, we address the community membership hiding problem, which involves strategically modifying the graph structure to conceal a target node’s affiliation with a community, regardless of the detection algorithm used. We reformulate the original discrete, counterfactual graph search objective as a differentiable constrained optimisation task. To this end, we introduce ∇ - CMH, a new gradient-based method that operates within a feasible modification budget to minimise structural changes while effectively hiding a node’s community membership. Extensive experiments on multiple datasets and community detection methods demonstrate that our technique outperforms existing baselines, achieving the best balance between node hiding effectiveness and graph rewiring cost, while preserving computational efficiency.

Authors

Institutions

Publication Details

Journal
Online Social Networks and Media
Published
2026-09-11
DOI
https://doi.org/10.1016/j.osnem.2026.100357
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

The right to hide: Masking community affiliation via minimal graph rewiring

Edoardo Gabrielli, Fabrizio Silvestri, Matteo Silvestri, Gabriele Tolomei
Online Social Networks and Media
Advanced Graph Neural Networks
article

The right to hide: Masking community affiliation via minimal graph rewiring

Edoardo Gabrielli, Fabrizio Silvestri, Matteo Silvestri, Gabriele Tolomei
article en

Abstract

Protecting privacy in social graphs may require obscuring nodes’ membership in sensitive communities. However, doing so without significantly disrupting the underlying graph topology remains a key challenge. In this work, we address the community membership hiding problem, which involves strategically modifying the graph structure to conceal a target node’s affiliation with a community, regardless of the detection algorithm used. We reformulate the original discrete, counterfactual graph search objective as a differentiable constrained optimisation task. To this end, we introduce ∇ - CMH, a new gradient-based method that operates within a feasible modification budget to minimise structural changes while effectively hiding a node’s community membership. Extensive experiments on multiple datasets and community detection methods demonstrate that our technique outperforms existing baselines, achieving the best balance between node hiding effectiveness and graph rewiring cost, while preserving computational efficiency.

Online Social Networks and MediaVol. 55
Sapienza University of Rome (IT)
Reduced inequalities
Openalex Percentile: Top 9%
Advanced Graph Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

The right to hide: Masking community affiliation via minimal graph rewiring — Edoardo Gabrielli, Fabrizio Silvestri, et al. · Online Social Networks and Media (2026) | TGRS Research Map | TGRS