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 $\nabla$-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.

The right to hide: Masking community affiliation via minimal graph rewiring / Silvestri, M., Gabrielli, E., Silvestri, F., Tolomei, G.. - In: ONLINE SOCIAL NETWORKS AND MEDIA. - ISSN 2468-6964. - 55:(2026). [10.1016/j.osnem.2026.100357]

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

Silvestri, Matteo;Gabrielli, Edoardo;Silvestri, Fabrizio;Tolomei, Gabriele
2026

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 $\nabla$-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.
2026
community membership hiding; community detection; social graph privacy; counterfactual graph; gradient-based optimisation
01 Pubblicazione su rivista::01a Articolo in rivista
The right to hide: Masking community affiliation via minimal graph rewiring / Silvestri, M., Gabrielli, E., Silvestri, F., Tolomei, G.. - In: ONLINE SOCIAL NETWORKS AND MEDIA. - ISSN 2468-6964. - 55:(2026). [10.1016/j.osnem.2026.100357]
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1774542
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact