SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.00473 · 2024

Privacy Backdoors: Stealing Data with Corrupted Pretrained Models

arXiv · PDF · Open in the Atlas

Code that ran

14 of 17 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2404.00473.json · badge: /api/ran/2404.00473.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
shanglunfengatethz/privacybackdoor canonical (classifier label)
classifier basis: census
14 ran · 3 no recorded run
FunctionStatusWhere it lives
bait_mirror_position_generator Ran
ran; our contract draft was wrong, not the code
shanglunfengatethz/privacybackdoor/src/edit_bert.py
pointer only (licence: NONE) · get_code("1717f80105daf98d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

channel_extraction Ran
ran, honoured the contract we drafted
shanglunfengatethz/privacybackdoor/src/edit_vit.py
pointer only (licence: NONE) · get_code("bef40d0b20840625")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

cope_with_sentences Ran
ran, honoured the contract we drafted
shanglunfengatethz/privacybackdoor/src/data.py
pointer only (licence: NONE) · get_code("838890aad132e55b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

find_available_bait_and_target Ran
ran; our contract draft was wrong, not the code
shanglunfengatethz/privacybackdoor/src/run_dpprv.py
pointer only (licence: NONE) · get_code("cc619f559e789221")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

find_self_consist Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shanglunfengatethz/privacybackdoor/src/run_dpprv.py
pointer only (licence: NONE) · get_code("19f5cb07d7444756")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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_sentences_labels_from_dicts Ran
ran; our contract draft was wrong, not the code
shanglunfengatethz/privacybackdoor/src/data.py
pointer only (licence: NONE) · get_code("b6d4c90a68249f9d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

make_conv_pixel_extractor Ran
ran, honoured the contract we drafted
shanglunfengatethz/privacybackdoor/src/edit_vit.py
pointer only (licence: NONE) · get_code("393c698d71708c54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

make_extract_pixels Ran
ran, violated the contract we drafted
shanglunfengatethz/privacybackdoor/src/edit_vit.py
pointer only (licence: NONE) · get_code("159e78c46dc65a23")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

native_bait_selector Ran
ran; our contract draft was wrong, not the code
shanglunfengatethz/privacybackdoor/src/model_mlp.py
pointer only (licence: NONE) · get_code("471665f6887b5809")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

native_preprocess Ran
ran; our contract draft was wrong, not the code
shanglunfengatethz/privacybackdoor/src/model_mlp.py
pointer only (licence: NONE) · get_code("6dad85fe4118d5e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

select_position_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shanglunfengatethz/privacybackdoor/src/edit_bert.py
pointer only (licence: NONE) · get_code("e31fd1853842c0e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

setdiff1d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shanglunfengatethz/privacybackdoor/src/tools.py
pointer only (licence: NONE) · get_code("7ead6cdb16fa1610")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

stringify Ran
ran; our contract draft was wrong, not the code
shanglunfengatethz/privacybackdoor/src/tools.py
pointer only (licence: NONE) · get_code("bb8089c8172faa52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

weights_generator Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shanglunfengatethz/privacybackdoor/src/tools.py
pointer only (licence: NONE) · get_code("7096542a80cb5cf0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

load_dataset Not yet run
unverified (harvested, no recorded run)
shanglunfengatethz/privacybackdoor/src/data.py
pointer only (licence: NONE) · get_code("5f45cff9a3473ad2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

record_step_info Not yet run
unverified (harvested, no recorded run)
shanglunfengatethz/privacybackdoor/src/model_mlp.py
pointer only (licence: NONE) · get_code("239d973184003e1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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.

seq_signal_passing Not yet run
unverified (harvested, no recorded run)
shanglunfengatethz/privacybackdoor/src/edit_bert.py
pointer only (licence: NONE) · get_code("1834c18d8b000103")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shanglunfengatethz/privacybackdoor 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 17 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.

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-23.

Repositories linked to this paper

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

Abstract

Practitioners commonly download pretrained machine learning models from open repositories and finetune them to fit specific applications. We show that this practice introduces a new risk of privacy backdoors. By tampering with a pretrained model's weights, an attacker can fully compromise the privacy of the finetuning data. We show how to build privacy backdoors for a variety of models, including transformers, which enable an attacker to reconstruct individual finetuning samples, with a guaranteed success! We further show that backdoored models allow for tight privacy attacks on models trained with differential privacy (DP). The common optimistic practice of training DP models with loose privacy guarantees is thus insecure if the model is not trusted. Overall, our work highlights a crucial and overlooked supply chain attack on machine learning privacy.

For agents

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

get_harvested_code_for_paper("2404.00473")
get_code_for_paper("2404.00473")
have("2404.00473")

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

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

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

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

Connect an agent — have() is free.