Papers › MARS: A Malignity-Aware Backdoor Defense in Federated Learning

MARS: A Malignity-Aware Backdoor Defense in Federated Learning

21 Sep 2025NeurIPSarXiv:2509.20383added by Syntology

Wei Wan, Yuxuan Ning, Zhicong Huang, Cheng Hong, Shengshan Hu, Ziqi Zhou, Yechao Zhang, Tianqing Zhu, Wanlei Zhou, Leo Yu Zhang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Federated Learning (FL) is a distributed paradigm aimed at protecting participant data privacy by exchanging model parameters to achieve high-quality model training. However, this distributed nature also makes FL highly vulnerable to backdoor attacks. Notably, the recently proposed state-of-the-art (SOTA) attack, 3DFed (SP2023), uses an indicator mechanism to determine whether the backdoor models have been accepted by the defender and adaptively optimizes backdoor models, rendering existing defenses ineffective. In this paper, we first reveal that the failure of existing defenses lies in the employment of empirical statistical measures that are loosely coupled with backdoor attacks. Motivated by this, we propose a Malignity-Aware backdooR defenSe (MARS) that leverages backdoor energy (BE) to indicate the malicious extent of each neuron. To amplify malignity, we further extract the most prominent BE values from each model to form a concentrated backdoor energy (CBE). Finally, a novel Wasserstein distance-based clustering method is introduced to effectively identify backdoor models. Extensive experiments demonstrate that MARS can defend against SOTA backdoor attacks and significantly outperforms existing defenses.

PaperPDFCode 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="2509.20383")

Code

Syntology Ran 7 of 10 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong; 4 ran with no contract checked.

By repository: found in paper text by Syntology: 10 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yunming181920/MARS found in paper text by Syntology report

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

10 samples harvested; 7 ran; 1 honoured the contract we drafted; 3 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
1ran · violated contract
1ran · our draft was wrong
4ran
3unverified

Licence: 10 of the 10 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 yunming181920/MARS. “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.

CBE yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 982b23e6640ba82d · report
calculate_tpr_fpr yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · ae1369a008e4ad61 · report
cluster_and_detect_anomalies yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran no licence file found · pointer only · 5ef5c6f8b861b8a2 · report
compute_cluster_centers yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 90b6dcd97ea38eb8 · report
compute_wasserstein_distance_matrix yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · a6cd14576a7d063c · report
detect_anomaly yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran no licence file found · pointer only · 8593889efebe9287 · report
kmeans_wasserstein_clustering yunming181920/MARS/defenses/mars.py found in paper text by Syntology ran no licence file found · pointer only · ce15f794a671d919 · report
FedAvg yunming181920/MARS/defenses/mars.py found in paper text by Syntology unverified no licence file found · pointer only · 05179368187f7e1e · report
MARS yunming181920/MARS/defenses/mars.py found in paper text by Syntology unverified no licence file found · pointer only · 758feb0d7ddba85a · report
Params yunming181920/MARS/defenses/mars.py found in paper text by Syntology unverified no licence file found · pointer only · cd880d69d29a3f09 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2509.20383, was issued in September 2025, after that date, so the archive has no leaderboard rows for it.

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