RESIST: Resilient Decentralized Learning Using Consensus Gradient Descent

Cheng Fang, Rishabh Dixit, Waheed U. Bajwa, Mert Gürbüzbalaban · DOI

Introduction

Decentralized learning enables a network of devices, such as smartphones or IoT sensors, to collaboratively train machine learning models without a central server. While this approach improves privacy and scalability, it significantly increases the "attack surface." Most existing research focuses on Byzantine attacks, where specific nodes are malicious. However, the RESIST framework addresses a more potent and dynamic threat: Man-in-the-Middle (MITM) attacks.

The Challenge: Man-in-the-Middle Attacks

In an MITM scenario, the nodes themselves may be honest, but the communication links between them are hijacked. Adversaries can arbitrarily alter data as it travels across the network. These attacks are often dynamic, with adversaries switching targeted links over time. Existing robust algorithms frequently struggle with this, failing to reach exact solutions or converging too slowly for practical large-scale applications.

Byzantine attacks involve malicious nodes (Byzantine agents) sending corrupted data.

The RESIST Framework

The authors propose RESIST (Resilient dEcentralized learning using conSensus gradIent deScenT), which relies on three core pillars:

  1. Multi-step Consensus: Unlike standard algorithms that perform one communication round per gradient update, RESIST performs multiple rounds ($J-1$). This ensures information is thoroughly "mixed" across the network, diluting the influence of any single corrupted link.
  2. Coordinate-Wise Trimmed Mean (CWTM): Each node filters received values coordinate-by-coordinate, discarding the $b$ largest and $b$ smallest values. This "screening" prevents outliers from pulling the model away from the true solution.
  3. Two-Time-Scale Analysis: The algorithm is analyzed across two scales: the fast scale of inter-neighbor communication and the slower scale of local gradient updates.

Key Insights and Results

A critical theoretical finding is that MITM attacks subsume Byzantine attacks. By solving for the dynamic MITM case, RESIST naturally becomes robust against Byzantine failures. Furthermore, by increasing consensus steps ($J$), nodes can use larger step sizes ($h$), allowing the algorithm to converge faster in terms of expensive gradient calculations.

Performance Benchmarks

RESIST was evaluated using standard datasets:

  • MNIST: In strongly convex problems, RESIST maintained ~88% accuracy even under heavy attack.
  • CIFAR-10: For nonconvex CNN training, RESIST outperformed the previous state-of-the-art (BRIDGE), showing better stability against strategies like "sign-flipping" and "label-flipping."
  • Scalability: The algorithm's performance remained consistent as the network size increased from 10 to 100 nodes, demonstrating its suitability for growing IoT networks.

Conclusion

RESIST provides strong convergence guarantees—including linear rates for convex problems—while ensuring models generalize well to unseen data. While current proofs assume IID data, experimental results in non-IID settings are promising. Future work will focus on asynchronous communication and automated parameter tuning to enhance real-world applicability.

Summary updated

BibTeX
@article{fang2026resist,
  author = {Cheng Fang and Rishabh Dixit and Waheed U. Bajwa and Mert Gürbüzbalaban},
  title = {{RESIST: Resilient Decentralized Learning Using Consensus Gradient Descent}},
  journal = {Accepted by TMLR},
  year = {2026},
  url = {https://openreview.net/forum?id=aNu8S9O6Ug},
}
Figure