SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.04013 · 2024

Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defenses

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.04013.json · badge: /api/ran/2402.04013.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ffhibnese/model-inversion-attack-toolbox canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
FunctionStatusWhere it lives
completion_network_loss Ran
ran; our contract draft was wrong, not the code
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/SecretGen/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from sutd-visual-computing-group/Re-thinking_MI, is pointer only (licence: NONE) · get_code("8ceea87fe22a6f64")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dconv_bn_relu Ran
ran; our contract draft was wrong, not the code
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/SecretGen/models.py
pointer only (licence: NONE) · get_code("5ef80f92b298862d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_block Ran
ran, honoured the contract we drafted
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/SecretGen/facenet.py
pointer only (licence: NONE) · get_code("ad5dbf57f3ea2633")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_blocks Ran
ran; our contract draft was wrong, not the code
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/SecretGen/facenet.py
pointer only (licence: NONE); the stored copy get_code serves, from VladAndronik/face_swap, is pointer only (licence: NONE) · get_code("ea7941eb1ea8ffb2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

l2_norm Ran
ran; our contract draft was wrong, not the code
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/SecretGen/facenet.py
pointer only (licence: NONE) · get_code("c54fea429589425d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

noise_loss Ran
ran; our contract draft was wrong, not the code
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/SecretGen/losses.py
pointer only (licence: NONE) · get_code("32a2722356ae35ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

label_dict_to_pairs Not yet run
unverified (harvested, no recorded run)
ffhibnese/model-inversion-attack-toolbox/src/modelinversion/attack/attacker.py
pointer only (licence: NONE) · get_code("d523e5f3e4572d9b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/model-inversion-attack-toolbox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 5 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
l2_norm 29 other papers
22 dated earlier, 6 later, 1 same year, order not determinable · 2 only as an assembly brick
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
and 26 more not named here
get_block 27 other papers
18 dated earlier, 8 later, 1 same year, order not determinable
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1907.10830 (2019-07)
U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation
and 24 more not named here
get_blocks 16 other papers
12 dated earlier, 3 later, 1 same year, order not determinable
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1907.10830 (2019-07)
U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation
and 13 more not named here
completion_network_loss 4 other papers
2 dated earlier, 2 later
2010.04092 (2020-10)
Knowledge-Enriched Distributional Model Inversion Attacks
2207.12263 (2022-07)
SecretGen: Privacy Recovery on Pre-trained Models via Distribution Discrimination
2411.08460 (2024-11)
Trap-MID: Trapdoor-based Defense against Model Inversion Attacks
and 1 more not named here
dconv_bn_relu 4 other papers
3 dated earlier, 1 later
2010.04092 (2020-10)
Knowledge-Enriched Distributional Model Inversion Attacks
2201.12179 (2022-01)
Plug & Play Attacks: Towards Robust and Flexible Model Inversion Attacks
2207.12263 (2022-07)
SecretGen: Privacy Recovery on Pre-trained Models via Distribution Discrimination
and 1 more not named here
noise_loss 1 other paper
1 dated earlier
2207.12263 (2022-07)
SecretGen: Privacy Recovery on Pre-trained Models via Distribution Discrimination

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Deep Neural Networks (DNNs) have revolutionized various domains with their exceptional performance across numerous applications. However, Model Inversion (MI) attacks, which disclose private information about the training dataset by abusing access to the trained models, have emerged as a formidable privacy threat. Given a trained network, these attacks enable adversaries to reconstruct high-fidelity data that closely aligns with the private training samples, posing significant privacy concerns. Despite the rapid advances in the field, we lack a comprehensive and systematic overview of existing MI attacks and defenses. To fill this gap, this paper thoroughly investigates this realm and presents a holistic survey. Firstly, our work briefly reviews early MI studies on traditional machine learning scenarios. We then elaborately analyze and compare numerous recent attacks and defenses on Deep Neural Networks (DNNs) across multiple modalities and learning tasks. By meticulously analyzing their distinctive features, we summarize and classify these methods into different categories and provide a novel taxonomy. Finally, this paper discusses promising research directions and presents potential solutions to open issues. To facilitate further study on MI attacks and defenses, we have implemented an open-source model inversion toolbox on GitHub (https://github.com/ffhibnese/Model-Inversion-Attack-ToolBox).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.04013")
get_code_for_paper("2402.04013")
have("2402.04013")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.04013.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.04013.svg)](https://syntology.ai/paper/2402.04013)

Connect an agent — have() is free.