SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.15182 · NeurIPS · 2024

RFLPA: A Robust Federated Learning Framework against Poisoning Attacks with Secure Aggregation

Yan Pang, Ran Yan, Peihua Mai

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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; 4 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 1 failure of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-23; 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.15182.json · badge: /api/ran/2405.15182.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
NusIoraPrivacy/RFLPA canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
nusioraprivacy/rflpa canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
identitymatrix Ran
ran, honoured the contract we drafted
nusioraprivacy/rflpa/utils/crypto_utils.py
pointer only (licence: NONE) · get_code("dd10a672765762a0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nusioraprivacy/rflpa 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_A Ran
ran, honoured the contract we drafted
NusIoraPrivacy/RFLPA/utils/attack_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from gdisag/gradient_disaggregation, is pointer only (licence: NONE) · get_code("2bc4e9226bc474a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, NusIoraPrivacy/RFLPA 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_T Ran
ran, honoured the contract we drafted
NusIoraPrivacy/RFLPA/utils/attack_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from gdisag/gradient_disaggregation, is pointer only (licence: NONE) · get_code("bdc6248e2318b5e1")
How it ran

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

iid_partition Ran
ran on a synthesized input
NusIoraPrivacy/RFLPA/utils/data_utils.py
pointer only (licence: NONE) · get_code("9186b51e0e017334")
How it ran

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

make_random_shares Ran
ran, honoured the contract we drafted
nusioraprivacy/rflpa/utils/crypto_utils.py
pointer only (licence: NONE) · get_code("c016c8036f5ce167")
How it ran

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

non_iid_partition Ran
ran; our contract draft was wrong, not the code
NusIoraPrivacy/RFLPA/utils/data_utils.py
pointer only (licence: NONE) · get_code("e2e4f12c8f12ccf9")
How it ran

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

relative_err Ran
ran, violated the contract we drafted
NusIoraPrivacy/RFLPA/utils/attack_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from gdisag/gradient_disaggregation, is pointer only (licence: NONE) · get_code("9d4a6861f6edf824")
How it ran

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

get_dataset Not yet run
unverified (harvested, no recorded run)
NusIoraPrivacy/RFLPA/utils/data_utils.py
pointer only (licence: NONE) · get_code("2b8318c9b2f3a840")
How it ran

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

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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, 0 later) and 5 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
generate_A 1 other paper
1 dated earlier
2106.06089 (2021-06)
Gradient Disaggregation: Breaking Privacy in Federated Learning by Reconstructing the User Participant Matrix
generate_T 1 other paper
1 dated earlier
2106.06089 (2021-06)
Gradient Disaggregation: Breaking Privacy in Federated Learning by Reconstructing the User Participant Matrix
relative_err 1 other paper
1 dated earlier
2106.06089 (2021-06)
Gradient Disaggregation: Breaking Privacy in Federated Learning by Reconstructing the User Participant Matrix

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

Federated learning (FL) allows multiple devices to train a model collaboratively without sharing their data. Despite its benefits, FL is vulnerable to privacy leakage and poisoning attacks. To address the privacy concern, secure aggregation (SecAgg) is often used to obtain the aggregation of gradients on sever without inspecting individual user updates. Unfortunately, existing defense strategies against poisoning attacks rely on the analysis of local updates in plaintext, making them incompatible with SecAgg. To reconcile the conflicts, we propose a robust federated learning framework against poisoning attacks (RFLPA) based on SecAgg protocol. Our framework computes the cosine similarity between local updates and server updates to conduct robust aggregation. Furthermore, we leverage verifiable packed Shamir secret sharing to achieve reduced communication cost of O(M + N ) per user, and design a novel dot product aggregation algorithm to resolve the issue of increased information leakage. Our experimental results show that RFLPA significantly reduces communication and computation overhead by over 75% compared to the state-of-the-art secret sharing method, BREA, while maintaining competitive accuracy.

For agents

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

get_harvested_code_for_paper("2405.15182")
get_code_for_paper("2405.15182")
have("2405.15182")

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

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

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

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

Connect an agent — have() is free.