SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.03805 · 2026

Detecting Semantic Backdoors in a Mystery Shopping Scenario

Márk Jelasity, Árpád Berta, Gábor Danner, István Hegedűs

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 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; 8 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2601.03805.json · badge: /api/ran/2601.03805.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
szegedai/SemanticBackdoorDetection canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
PreActResNet18 Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/models/preact_resnet.py
pointer only (licence: NONE) · get_code("a55348359ff9d8f1")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/models/resnetmod_ulp.py
pointer only (licence: NONE) · get_code("d9def42110729a85")
How it ran

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

conv3x3 Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/models/resnetmod_ulp.py
pointer only (licence: NONE) · get_code("160bb14bd76201b4")
How it ran

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

filter_labels Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/model_distillation.py
pointer only (licence: NONE) · get_code("8b5ea9c05fcaa68e")
How it ran

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

filter_labels Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/visualize_layer.py
pointer only (licence: NONE) · get_code("02ce38cdc4382eee")
How it ran

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

filter_labels_every Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
szegedai/SemanticBackdoorDetection/model_distillation.py
pointer only (licence: NONE) · get_code("2fc3d11ecded5622")
How it ran

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

filter_samples Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/visualize_layer.py
pointer only (licence: NONE) · get_code("5d3cb8f7bb33ab0d")
How it ran

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

kld_loss Ran
ran; our contract draft was wrong, not the code
szegedai/SemanticBackdoorDetection/model_distillation.py
pointer only (licence: NONE) · get_code("add6275036b004d3")
How it ran

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

normalize_data Ran
ran, honoured the contract we drafted
szegedai/SemanticBackdoorDetection/visualize_layer.py
pointer only (licence: NONE) · get_code("a753873103fc3d1a")
How it ran

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

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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, 3 later) and 6 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
conv1x1 431 other papers
418 dated earlier, 12 later, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
conv3x3 312 other papers
303 dated earlier, 8 later, 1 undated · 31 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
and 309 more not named here
PreActResNet18 22 other papers
21 dated earlier, 1 later
1710.09412 (2017-10)
mixup: BEYOND EMPIRICAL RISK MINIMIZATION
2003.04887 (2020-03)
ReZero is All You Need: Fast Convergence at Large Depth
2103.14222 (2021-03)
Adversarial Attacks are Reversible with Natural Supervision
and 19 more not named here

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

Detecting semantic backdoors in classification models-where some classes can be activated by certain natural, but out-of-distribution inputs-is an important problem that has received relatively little attention. Semantic backdoors are significantly harder to detect than backdoors that are based on trigger patterns due to the lack of such clearly identifiable patterns. We tackle this problem under the assumption that the clean training dataset and the training recipe of the model are both known. These assumptions are motivated by a consumer protection scenario, in which the responsible authority performs mystery shopping to test a machine learning service provider. In this scenario, the authority uses the provider's resources and tools to train a model on a given dataset and tests whether the provider included a backdoor. In our proposed approach, the authority creates a reference model pool by training a small number of clean and poisoned models using trusted infrastructure, and calibrates a model distance threshold to identify clean models. We propose and experimentally analyze a number of approaches to compute model distances and we also test a scenario where the provider performs an adaptive attack to avoid detection. The most reliable method is based on requesting adversarial training from the provider. The model distance is best measured using a set of input samples generated by inverting the models in such a way as to maximize the distance from clean samples. With these settings, our method can often completely separate clean and poisoned models, and it proves to be superior to state-of-the-art backdoor detectors as well. Source code available at https://github.com/szegedai/SemanticBackdoorDetection.

For agents

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

get_harvested_code_for_paper("2601.03805")
get_code_for_paper("2601.03805")
have("2601.03805")

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

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

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

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

Connect an agent — have() is free.