TL;DR
Training machine learning models across decentralized peer-to-peer networks usually forces an uncomfortable choice: let everyone talk to everyone at a massive communication cost, or use sparse connections and risk malicious nodes hijacking isolated neighborhoods. This paper introduces Robust Pull-based Epidemic Learning (RPEL), a serverless protocol where nodes periodically pull updates from small, random subsets of peers. By trading static network layouts for randomized "epidemic" sampling, RPEL resists omniscient attackers while slashing communication overhead from $\mathcal{O}(n^2)$ down to $\mathcal{O}(n \log n)$.
What Problem Does This Paper Address?
Collaborative learning lets multiple machines train a shared model without centralizing private data. However, if some participants are "Byzantine"—meaning buggy or actively malicious—they can poison the training process with corrupted updates.
When you have a trusted central server (standard Federated Learning), you can filter out bad updates using statistical aggregation rules. Removing that central server makes things much harder. Existing decentralized defenses typically assume fully connected or dense networks where communication grows quadratically ($\mathcal{O}(n^2)$) with the number of nodes $n$. If you try to save bandwidth using a sparse, fixed communication graph, a clever adversary can cluster around specific honest nodes, outnumbering their honest neighbors and corrupting their view of the world. How do you keep communication lightweight in a serverless, heterogeneous network without leaving nodes vulnerable to local ambushes?
Methods
RPEL combines standard robust optimization ingredients—like local momentum and robust aggregation rules (specifically Nearest Neighbor Mixing followed by Coordinate-Wise Trimmed Mean)—with a novel pull-based, asynchronous epidemic communication strategy.
Instead of pushing updates out (which lets attackers spam every honest node at every step), each honest node initiates each round by pulling model updates from a freshly randomized subset of $s$ peers.
To handle asynchronous networks where malicious nodes might intentionally stall by withholding responses, RPEL uses a bound called the Effective adversarial fraction ($\frac{\hat{b}}{s+1}$). Based on the hypergeometric probability distribution of drawing bad actors from the pool, each node expects at most $\hat{b}$ attackers in its random sample of $s$ peers. It simply waits for the first $s - \hat{b}$ responses to arrive, combines them with its own local momentum-updated model using the robust aggregator, and moves on.
Datasets
The authors evaluate RPEL primarily on MNIST and CIFAR-10, simulating non-IID (heterogeneous) client data distributions via Dirichlet partitioning. Additional experiments (detailed in the paper's appendices) test FEMNIST, AG's News, and a newly constructed synthetic classification task designed to benchmark scalability across up to 10,000 clients.
Key Insights and Ideas
- Randomization defeats worst-case topology: On a fixed sparse graph, you have to design defenses around the unluckiest node's neighborhood. Resampling peers every round turns a deterministic topological vulnerability into a clean, high-probability sampling problem—shrinking per-node connections from $\Theta(n)$ to $\mathcal{O}(\log n)$.
- Pulling acts as a natural rate-limiter for attackers: Prior epidemic learning used push communication. Switching to pull is essential for security because adversaries can only inject malicious gradients when an honest node explicitly asks them.
- Local momentum quiets stochastic noise: In their theoretical convergence bounds, local momentum eliminates gradient noise variance from the non-vanishing error term, leaving only expected data heterogeneity effects—matching optimal centralized rates.
- Fairness as a byproduct: Because no honest node is permanently stuck next to an attacker, the worst-performing honest client in RPEL fares dramatically better than in fixed-graph baselines.
Key Results
RPEL withstands state-of-the-art omniscient attacks (including ALIE, TMA, FOE, and Sign Flipping) while closely tracking the accuracy of expensive all-to-all communication:
- Bandwidth efficiency: On CIFAR-10 ($n=20, b=3$), pulling from just $s=6$ peers achieves test accuracy competitive with all-to-all communication ($s=19$), even with an effective adversarial fraction up to 0.43. On MNIST ($n=200, b=20$), sampling just $s=20$ peers reaches near-saturated accuracy.
- Outperforming fixed graphs: Under an identical communication budget on MNIST ($n=30, b=1, s=3$), RPEL achieves higher average accuracy and substantially higher worst-client accuracy than fixed-graph baselines (
cs+,ClippedGossip,gts, andRTC).
- Asynchronous resilience: On CIFAR-10 with client speed heterogeneity and pessimistic ordering (Byzantine responses arrive first), asynchronous RPEL reaches 71.96%–73.15% accuracy, right on the heels of its synchronous counterpart (74.77%).
- Massive scale: Probability simulations show that in a 100,000-node network with 10% attackers, sampling just 40 peers per round maintains an honest majority across 200 rounds. On the 10,000-client synthetic benchmark (10% Byzantine), RPEL hits 71.5% accuracy, matching centralized robust Federated Learning (71.3%) and nearing the attack-free oracle (73.5%).
Limitations and Future Work
- Underlying addressability required: Unlike fixed-graph methods built for physically constrained topologies (like sensor meshes), RPEL assumes an overlay network (like the internet) where any node can address any peer, even if it only contacts a few per round.
- Small-scale bound conservatism: The theoretical logarithmic sampling threshold has large constants that make the formula overly conservative for small $n$, requiring exact hypergeometric tail calculations in practice.
- Compute bottlenecks for giant simulations: Simulating deep neural networks across tens of thousands of nodes was computationally prohibitive, limiting the 10,000-node test to synthetic data. Future work includes exploring smarter sampling strategies and deploying RPEL on large-scale, real-world systems.
Summary updated