Papers › On Strengthening and Defending Graph Reconstruction Attack with Markov Chain Approximation

On Strengthening and Defending Graph Reconstruction Attack with Markov Chain Approximation

15 Jun 2023arXiv:2306.09104archive 2025-07-28

Zhanke Zhou, Chenyu Zhou, Xuan Li, Jiangchao Yao, Quanming Yao, Bo Han

Although powerful graph neural networks (GNNs) have boosted numerous real-world applications, the potential privacy risk is still underexplored. To close this gap, we perform the first comprehensive study of graph reconstruction attack that aims to reconstruct the adjacency of nodes. We show that a range of factors in GNNs can lead to the surprising leakage of private links. Especially by taking GNNs as a Markov chain and attacking GNNs via a flexible chain approximation, we systematically explore the underneath principles of graph reconstruction attack, and propose two information theory-guided mechanisms: (1) the chain-based attack method with adaptive designs for extracting more private information; (2) the chain-based defense method that sharply reduces the attack fidelity with moderate accuracy loss. Such two objectives disclose a critical belief that to recover better in attack, you must extract more multi-aspect knowledge from the trained GNN; while to learn safer for defense, you must forget more link-sensitive information in training GNNs. Empirically, we achieve state-of-the-art results on six datasets and three common GNNs. The code is publicly available at: https://github.com/tmlr-group/MC-GRA.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.09104")

Code

Syntology Ran 14 of 23 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · violated contract; 7 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 22 samples from 1 repository, 13 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

tmlr-group/mc-gra officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 14 ran; 2 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
2ran · violated contract
7ran · our draft was wrong
3ran
9unverified

Licence: 1 of the 23 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from tmlr-group/mc-gra. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BaseAttack tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran MIT (permissive) · 27b61ad1437b1f9c · report
Info_entropy tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 06c51c6cdd2e1c83 · report
MutualInformation tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran MIT (permissive) · 8761bdf3ac0917f1 · report
PGDAttack tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran MIT (permissive) · 20859a342af81901 · report
accuracy tmlr-group/MC-GRA/MC-GRA/models/gat.py official repository ran · honoured contract fingerprinted MIT (permissive) · 18557871f0c93b3f · report
accuracy tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 2a10125e4bf22807 · report
is_sparse_tensor tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · violated contract fingerprinted MIT (permissive) · 52dc6af09a603269 · report
normalize_adj tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong MIT (permissive) · 6002a1395bc2b25d · report
normalize_adj_tensor tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · efa838a9d8cb2b22 · report
parse_index_file tmlr-group/MC-GRA/MC-GRA/dataset.py official repository ran · honoured contract MIT (permissive) · 5c3fa9402a9405bc · report
tensor2onehot tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong MIT (permissive) · edde8b8b03e59989 · report
to_scipy tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong MIT (permissive) · 3aeda921e3028bde · report
to_tensor tmlr-group/mc-gra/MC-GRA/topology_attack.py official repository ran · our draft was wrong MIT (permissive) · 98b9562f9f93cf6a · report
calc_mrr tmlr-group/MC-GRA/MC-GRA/gaussian_parameterized.py official repository unverified MIT (permissive) · ac45b872d56028b3 · report
calc_mrr_all tmlr-group/MC-GRA/MC-GRA/gaussian_parameterized.py official repository unverified MIT (permissive) · d147e77a227e1ec8 · report
distmat tmlr-group/MC-GRA/MC-GRA/hsic.py official repository unverified MIT (permissive) · f5d7ba6e6fc594f1 · report
dot_product_decode tmlr-group/MC-GRA/MC-GRA/defense/use_model.py official repository unverified MIT (permissive) · 6ca867ba81c38181 · report
dot_product_decode tmlr-group/MC-GRA/MC-GRA/topology_attack.py official repository unverified MIT (permissive) · a49a86f5e036e7fe · report
kernelmat tmlr-group/MC-GRA/MC-GRA/hsic.py official repository unverified MIT (permissive) · e3c0f8ba33d86df6 · report
metric tmlr-group/MC-GRA/MC-GRA/gaussian_parameterized.py official repository unverified MIT (permissive) · ffdd100106716576 · report
sampling_MI tmlr-group/MC-GRA/MC-GRA/topology_attack.py official repository unverified MIT (permissive) · 822a38907beda1d8 · report
sigma_estimation tmlr-group/MC-GRA/MC-GRA/hsic.py official repository unverified MIT (permissive) · 81e80990e0255bc4 · report
normalization identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 86c7147edb17dd5d · report

Tasks

Graph ReconstructionReconstruction Attack

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections