{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/mpaf-model-poisoning-attacks-to-federated","title":"MPAF: Model Poisoning Attacks to Federated Learning based on Fake Clients","arxiv_id":"2203.08669","date":"2022-03-16","proceeding":null,"authors":["Xiaoyu Cao","Neil Zhenqiang Gong"],"abstract":"Existing model poisoning attacks to federated learning assume that an attacker has access to a large fraction of compromised genuine clients. However, such assumption is not realistic in production federated learning systems that involve millions of clients. In this work, we propose the first Model Poisoning Attack based on Fake clients called MPAF. Specifically, we assume the attacker injects fake clients to a federated learning system and sends carefully crafted fake local model updates to the cloud server during training, such that the learnt global model has low accuracy for many indiscriminate test inputs. Towards this goal, our attack drags the global model towards an attacker-chosen base model that has low accuracy. Specifically, in each round of federated learning, the fake clients craft fake local model updates that point to the base model and scale them up to amplify their impact before sending them to the cloud server. Our experiments show that MPAF can significantly decrease the test accuracy of the global model, even if classical defenses and norm clipping are adopted, highlighting the need for more advanced defenses.","url_abs":"https://arxiv.org/abs/2203.08669v2","url_pdf":"https://arxiv.org/pdf/2203.08669v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"mpaf-model-poisoning-attacks-to-federated","repo_url":"https://github.com/yjlee22/byzantinefl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"},{"task_slug":"model-poisoning","task_name":"Model Poisoning"}],"methods":[{"method_slug":"base","method_name":"BASE"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2203.08669","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.08669"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yjlee22/byzantinefl","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":8},"by_repo_kind":{"listed":{"samples":8,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"1e24d2c7e37c042a","entry":"compromised_clients","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"utils/attack.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/utils/attack.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e24d2c7e37c042a"}},{"code_sha256_prefix":"bd25babe9e928a3b","entry":"euclid","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"utils/byzantine_fl.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/utils/byzantine_fl.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bd25babe9e928a3b"}},{"code_sha256_prefix":"2ff65e8d813a99c6","entry":"fedavg","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"src/aggregation.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/src/aggregation.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2ff65e8d813a99c6"}},{"code_sha256_prefix":"cf3480639eff1b33","entry":"multi_vectorization","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"utils/byzantine_fl.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/utils/byzantine_fl.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cf3480639eff1b33"}},{"code_sha256_prefix":"ee77c61bebb1af09","entry":"noniid","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"utils/sampling.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/utils/sampling.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ee77c61bebb1af09"}},{"code_sha256_prefix":"944c967ac42a6dc4","entry":"single_vectorization","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"utils/byzantine_fl.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/utils/byzantine_fl.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"944c967ac42a6dc4"}},{"code_sha256_prefix":"ab3c6082071f0ec1","entry":"tabulate_events","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"tb2csv.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/tb2csv.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ab3c6082071f0ec1"}},{"code_sha256_prefix":"c665d5e709dcbb19","entry":"untargeted_attack","repo":"yjlee22/byzantinefl","repo_kind":"listed","path":"utils/attack.py","file_url":"https://github.com/yjlee22/byzantinefl/blob/HEAD/utils/attack.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c665d5e709dcbb19"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}