Papers › Label-Only Model Inversion Attacks via Knowledge Transfer

Label-Only Model Inversion Attacks via Knowledge Transfer

30 Oct 2023NeurIPS 2023 11arXiv:2310.19342archive 2025-07-28

In a model inversion (MI) attack, an adversary abuses access to a machine learning (ML) model to infer and reconstruct private training data. Remarkable progress has been made in the white-box and black-box setups, where the adversary has access to the complete model or the model's soft output respectively. However, there is very limited study in the most challenging but practically important setup: Label-only MI attacks, where the adversary only has access to the model's predicted label (hard label) without confidence scores nor any other model information. In this work, we propose LOKT, a novel approach for label-only MI attacks. Our idea is based on transfer of knowledge from the opaque target model to surrogate models. Subsequently, using these surrogate models, our approach can harness advanced white-box attacks. We propose knowledge transfer based on generative modelling, and introduce a new model, Target model-assisted ACGAN (T-ACGAN), for effective knowledge transfer. Our method casts the challenging label-only MI into the more tractable white-box setup. We provide analysis to support that surrogate models based on our approach serve as effective proxies for the target model for MI. Our experiments show that our method significantly outperforms existing SOTA Label-only MI attack by more than 15% across all MI benchmarks. Furthermore, our method compares favorably in terms of query budget. Our study highlights rising privacy threats for ML models even when minimal information (i.e., hard labels) is exposed. Our study highlights rising privacy threats for ML models even when minimal information (i.e., hard labels) is exposed. Our code, demo, models and reconstructed data are available at our project page: https://ngoc-nguyen-0.github.io/lokt/

PaperPDFConference PDFCodeCode 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="2310.19342")

Code

Syntology Ran 13 of 31 code samples harvested from 4 repositories linked to this paper; 18 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 4 ran; found in paper text by Syntology: 19 samples from 2 repositories, 7 ran; community: 4 samples from 1 repository, 2 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.

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

31 samples harvested; 13 ran; 3 honoured the contract we drafted; 18 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.

3ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
7ran
18unverified

Licence: 13 of the 31 samples are 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 4 repositories linked to this paper, official or community; each sample names its own and says which. 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.

cross_entropy_loss ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository ran no licence file found · pointer only · c808ba0601a877e8 · report
max_margin_loss ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository ran no licence file found · pointer only · 342f31bfe572d0c8 · report
poincare_loss ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository ran · our draft was wrong no licence file found · pointer only · b6e4cb9cdcdb7226 · report
sample_z ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository ran · honoured contract no licence file found · pointer only · e419b5eab5a4c10e · report
inversion ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository unverified no licence file found · pointer only · 32b21a45b3401a1a · report
save_tensor_images ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository unverified no licence file found · pointer only · 8a7eec0e2a16469a · report
set_random_seed ngoc-nguyen-0/LOKT_neurips2023/plg_tacgan.py official repository unverified no licence file found · pointer only · e4778d33af343c8c · report
Inversion Jiachen-T-Wang/mi-defense/knowledge_align/model.py found in paper text by Syntology ran no licence file found · pointer only · 91738ef0d0844a36 · report
ResNet18 AlanPeng0897/Defend_MI/BiDO/model.py found in paper text by Syntology ran MIT (permissive) · 4d7100d163a0ad4f · report
get_in_channels AlanPeng0897/Defend_MI/BiDO/model.py found in paper text by Syntology ran MIT (permissive) · 5140f76be90b05a2 · report
gram_schmidt AlanPeng0897/Defend_MI/VMI/layers.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · c41836f3e51fa8f1 · report
imread AlanPeng0897/Defend_MI/GMI/fid_score_raw.py found in paper text by Syntology ran · honoured contract MIT (permissive) · aa4cae054b657ba2 · report
imread AlanPeng0897/Defend_MI/DMI/fid_score.py found in paper text by Syntology ran MIT (permissive) · e8dfc0e2df364d99 · report
imread AlanPeng0897/Defend_MI/DMI/fid_score_raw.py found in paper text by Syntology ran MIT (permissive) · 7a46ab6d33c637db · report
ResNet10 AlanPeng0897/Defend_MI/BiDO/backbone.py found in paper text by Syntology unverified MIT (permissive) · d30f849071ebea54 · report
ResNet10_64 AlanPeng0897/Defend_MI/BiDO/backbone.py found in paper text by Syntology unverified MIT (permissive) · 83d772c48bd4e1cc · report
ResNetL_IH AlanPeng0897/Defend_MI/BiDO/backbone.py found in paper text by Syntology unverified MIT (permissive) · 231adc85ec00eba1 · report
calculate_frechet_distance AlanPeng0897/Defend_MI/DMI/fid_score.py found in paper text by Syntology unverified MIT (permissive) · 0def50a351111624 · report
get_activations AlanPeng0897/Defend_MI/GMI/fid_score_raw.py found in paper text by Syntology unverified MIT (permissive) · 56afde1af5757691 · report
get_activations AlanPeng0897/Defend_MI/DMI/fid_score.py found in paper text by Syntology unverified MIT (permissive) · 8dcbb65408aae9e3 · report
get_activations AlanPeng0897/Defend_MI/DMI/fid_score_raw.py found in paper text by Syntology unverified MIT (permissive) · c945372835eb9223 · report
get_activations AlanPeng0897/Defend_MI/GMI/fid_score.py found in paper text by Syntology unverified MIT (permissive) · 7a33df383fc5fb9d · report
make_layers AlanPeng0897/Defend_MI/BiDO/model.py found in paper text by Syntology unverified MIT (permissive) · d8ff7dc2584b42c8 · report
parse_kwargs AlanPeng0897/Defend_MI/VMI/model_utils.py found in paper text by Syntology unverified MIT (permissive) · cd1a232569d08a1b · report
power_iteration AlanPeng0897/Defend_MI/VMI/layers.py found in paper text by Syntology unverified MIT (permissive) · 28d3a35157f2916d · report
proj AlanPeng0897/Defend_MI/VMI/layers.py found in paper text by Syntology unverified MIT (permissive) · 4015ab1f3ab9b881 · report
filter_indices val-iisc/hard-label-model-stealing/code/train_student/train_student.py community ran · honoured contract no licence file found · pointer only · 6d7145cc1578db8c · report
mixup_data val-iisc/hard-label-model-stealing/code/train_student/train_student.py community ran · fixture could not drive it no licence file found · pointer only · 9917ee672087e236 · report
filter_indices val-iisc/hard-label-model-stealing/code/train_generator/train_gen.py community unverified no licence file found · pointer only · c9de4689c018d059 · report
get_model_accuracy val-iisc/hard-label-model-stealing/code/train_generator/train_gen.py community unverified no licence file found · pointer only · 9dcd16e6960e3b6b · report
rand_bbox identical code first harvested elsewhere unverified licence of this copy not recorded · d34a085d71b8f4b5 · report

Tasks

Transfer Learningmodel

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