Papers › Chameleon: Adapting to Peer Images for Planting Durable Backdoors in Federated Learning

Chameleon: Adapting to Peer Images for Planting Durable Backdoors in Federated Learning

25 Apr 2023arXiv:2304.12961archive 2025-07-28

Yanbo Dai, Songze Li

In a federated learning (FL) system, distributed clients upload their local models to a central server to aggregate into a global model. Malicious clients may plant backdoors into the global model through uploading poisoned local models, causing images with specific patterns to be misclassified into some target labels. Backdoors planted by current attacks are not durable, and vanish quickly once the attackers stop model poisoning. In this paper, we investigate the connection between the durability of FL backdoors and the relationships between benign images and poisoned images (i.e., the images whose labels are flipped to the target label during local training). Specifically, benign images with the original and the target labels of the poisoned images are found to have key effects on backdoor durability. Consequently, we propose a novel attack, Chameleon, which utilizes contrastive learning to further amplify such effects towards a more durable backdoor. Extensive experiments demonstrate that Chameleon significantly extends the backdoor lifespan over baselines by 1.2×∼4×, for a wide range of image datasets, backdoor types, and model architectures.

PaperPDFCodeCode 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="2304.12961")

Code

Syntology Ran 5 of 11 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ybdai7/Chameleon-durable-backdoor officialmentioned in papermentioned on GitHubpytorch report

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

11 samples harvested; 5 ran; 1 honoured the contract we drafted; 6 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.

1ran · honoured contract
4ran
6unverified

Licence: 0 of the 11 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 ybdai7/Chameleon-durable-backdoor. “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.

SimpleNet ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository ran MIT (permissive) · 43a7e58eb07a6d26 · report
_DummyBackwardHookFn ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository ran MIT (permissive) · 2855647a9013d5e7 · report
_EfficientDensenetBottleneckFn ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository ran MIT (permissive) · 092cc4563c85038a · report
_Transition ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository ran MIT (permissive) · e50ed9bcf4bba37c · report
test_poison ybdai7/chameleon-durable-backdoor/training.py official repository ran · honoured contract MIT (permissive) · b57d2350b801687b · report
DenseNetEfficient ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository unverified MIT (permissive) · 269c448d7ff5e477 · report
_DenseBlock ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository unverified MIT (permissive) · 7fb033aa9e98aa07 · report
_DenseLayer ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository unverified MIT (permissive) · b20505a5494594fe · report
_EfficientDensenetBottleneck ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository unverified MIT (permissive) · fe1c3a8b852e94c9 · report
_SharedAllocation ybdai7/Chameleon-durable-backdoor/models/dense_efficient.py official repository unverified MIT (permissive) · 4fad719fe1d404a5 · report
test ybdai7/chameleon-durable-backdoor/training.py official repository unverified MIT (permissive) · 16fb979ea70caf2c · report

Tasks

Contrastive LearningFederated LearningModel Poisoning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive Learning

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