Hongyuan Zha, Baoyuan Wu, Shaokui Wei
4 of 5 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, 1 violated it and 0 have no contract verdict; 2 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/2405.16112.json · badge: /api/ran/2405.16112.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.
| Repository | Role | Ran |
|---|---|---|
| shawkui/Proactive_Defensive_Backdoor | canonical (classifier label) classifier basis: plan_row |
4 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| add_common_attack_args | Ran ran; our contract draft was wrong, not the code |
shawkui/Proactive_Defensive_Backdoor/attack/badnet.py pointer only (licence: NONE); the stored copy get_code serves, from retsuh-bqw/fmp, is pointer only (licence: NOASSERTION) · get_code("efd3b8b851a0f5e7") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, shawkui/Proactive_Defensive_Backdoor 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. |
| generalize_to_lower_pratio | Ran ran, honoured the contract we drafted |
shawkui/Proactive_Defensive_Backdoor/attack/wanet.py pointer only (licence: NONE); the stored copy get_code serves, from sclbd/backdoorbench, is pointer only (licence: NOASSERTION) · get_code("1e9b4bedd9340fe0") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, shawkui/Proactive_Defensive_Backdoor 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. |
| generate_single_target_attack_train_poison_index | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
shawkui/Proactive_Defensive_Backdoor/utils/backdoor_generate_poison_index.py pointer only (licence: NOASSERTION) · get_code("7619e33793ef078e") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shawkui/Proactive_Defensive_Backdoor (NOASSERTION). 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. |
| is_valid_file | Ran ran, violated the contract we drafted |
shawkui/Proactive_Defensive_Backdoor/for_imagenet/generate_poison_val_badnet.py pointer only (licence: NOASSERTION) · get_code("ea3c60ddf40d46bc") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shawkui/Proactive_Defensive_Backdoor (NOASSERTION). 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. |
| generate_poison_index_from_label_transform | Not yet run unverified (harvested, no recorded run) |
shawkui/Proactive_Defensive_Backdoor/utils/backdoor_generate_poison_index.py pointer only (licence: NOASSERTION) · get_code("19d602ceddede2c4") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shawkui/Proactive_Defensive_Backdoor (NOASSERTION). 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. |
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 2 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| add_common_attack_args | 8 other papers 7 dated earlier, 1 later |
1708.06733 (2017-08) BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain |
1905.13409 (2019-05) Bypassing Backdoor Detection Algorithms in Deep Learning 2206.12654 (2022-06) BackdoorBench: A Comprehensive Benchmark of Backdoor Learning and 5 more not named here |
| generalize_to_lower_pratio | 4 other papers 3 dated earlier, 1 later |
2307.10562 (2023-07) Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examples |
2307.11565 (2023-07) Adversarial Feature Map Pruning for Backdoor 2310.01875 (2023-10) Towards Stable Backdoor Purification through Feature Shift Tuning and 1 more not named here |
| is_valid_file | 3 other papers 3 dated earlier |
2307.10562 (2023-07) Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examples |
2307.11565 (2023-07) Adversarial Feature Map Pruning for Backdoor 2310.01875 (2023-10) Towards Stable Backdoor Purification through Feature Shift Tuning |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Data-poisoning backdoor attacks are serious security threats to machine learning models, where an adversary can manipulate the training dataset to inject backdoors into models. In this paper, we focus on in-training backdoor defense, aiming to train a clean model even when the dataset may be potentially poisoned. Unlike most existing methods that primarily detect and remove/unlearn suspicious samples to mitigate malicious backdoor attacks, we propose a novel defense approach called PDB (Proactive Defensive Backdoor). Specifically, PDB leverages the "home field" advantage of defenders by proactively injecting a defensive backdoor into the model during training. Taking advantage of controlling the training process, the defensive backdoor is designed to suppress the malicious backdoor effectively while remaining secret to attackers. In addition, we introduce a reversible mapping to determine the defensive target label. During inference, PDB embeds a defensive trigger in the inputs and reverses the model's prediction, suppressing malicious backdoor and ensuring the model's utility on the original task. Experimental results across various datasets and models demonstrate that our approach achieves stateof-the-art defense performance against a wide range of backdoor attacks. The code is available at https://github.com/shawkui/Proactive_Defensive_Backdoor.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2405.16112")
get_code_for_paper("2405.16112")
have("2405.16112")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2405.16112.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2405.16112)
Connect an agent — have() is free.