mlsanityData to 7 Oct 2026

On the Optimal Batch Size for Byzantine-Robust Distributed Learning

arXiv 2305.13856 ↗First posted 23 May 2023cs.LG math.OC stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

Byzantine-robust distributed learning (BRDL), in which computing devices are likely to behave abnormally due to accidental failures or malicious attacks, has recently become a hot research topic. However, even in the independent and identically distributed (i.i.d.) case, existing BRDL methods will suffer from a significant drop on model accuracy due to the large variance of stochastic gradients. Increasing batch sizes is a simple yet effective way to reduce the variance. However, when the total number of gradient computation is fixed, a too-large batch size will lead to a too-small iteration number (update number), which may also degrade the model accuracy. In view of this challenge, we mainly study the optimal batch size when the total number of gradient computation is fixed in this work. In particular, we theoretically and empirically show that when the total number of gradient computation is fixed, the optimal batch size in BRDL increases with the fraction of Byzantine workers. Therefore, compared to the case without attacks, the batch size should be set larger when under Byzantine attacks. However, for existing BRDL methods, large batch sizes will lead to a drop on model accuracy, even if there is no Byzantine attack. To deal with this problem, we propose a novel BRDL method, called Byzantine-robust stochastic gradient descent with normalized momentum (ByzSGDnm), which can alleviate the drop on model accuracy in large-batch cases. Moreover, we theoretically prove the convergence of ByzSGDnm for general non-convex cases under Byzantine attacks. Empirical results show that ByzSGDnm has a comparable performance to existing BRDL methods under bit-flipping failure, but can outperform existing BRDL methods under deliberately crafted attacks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 35 of its 50 references that are in the map. First posted on arXiv 23 May 2023.

Builds on

35 of 50 references.

References · 35

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  3. 2019Advances and Open Problems in Federated Learningcited by 3,021
  4. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  5. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  6. 2018Byzantine-Robust Distributed Learning: Towards Optimal Statistical Ratescited by 698
  7. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  8. 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 496
  9. 2019Lower Bounds for Non-Convex Stochastic Optimizationcited by 303
  10. 2019A Little Is Enough: Circumventing Defenses For Distributed Learningcited by 285
  11. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
  12. 2018Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learningcited by 277
23 more
  1. 2019On the Linear Speedup Analysis of Communication Efficient Momentum SGD for Distributed Non-Convex Optimizationcited by 178
  2. 2018RSA: Byzantine-Robust Stochastic Aggregation Methods for Distributed Learning from Heterogeneous Datasetscited by 148
  3. 2020Learning from History for Byzantine Robust Optimizationcited by 137
  4. 2019Fall of Empires: Breaking Byzantine-tolerant SGD by Inner Product Manipulationcited by 136
  5. 2020Momentum Improves Normalized SGDcited by 136
  6. 2013Communication Efficient Distributed Optimization using an Approximate Newton-type Methodcited by 131
  7. 2019Recent Advances in Algorithmic High-Dimensional Robust Statisticscited by 100
  8. 2017Being Robust (in High Dimensions) Can Be Practicalcited by 83
  9. 2018DRACO: Byzantine-resilient Distributed Training via Redundant Gradientscited by 74
  10. 2022Byzantine Machine Learning Made Easy by Resilient Averaging of Momentumscited by 63
  11. 2017Distributed Statistical Machine Learning in Adversarial Settings: Byzantine Gradient Descentcited by 59
  12. 2020Byzantine-Resilient Non-Convex Stochastic Gradient Descentcited by 56
  13. 2019DETOX: A Redundancy-based Framework for Faster and More Robust Gradient Aggregationcited by 44
  14. 2018Defending Against Saddle Point Attack in Byzantine-Robust Distributed Learningcited by 32
  15. 2014Communication-Efficient Distributed Dual Coordinate Ascentcited by 30
  16. 2019Election Coding for Distributed Learning: Protecting SignSGD against Byzantine Attackscited by 20
  17. 2015Adding vs. Averaging in Distributed Primal-Dual Optimizationcited by 19
  18. 2017Distributed Proximal Gradient Algorithm for Partially Asynchronous Computer Clusterscited by 10
  19. 2020Stochastic Normalized Gradient Descent with Momentum for Large-Batch Trainingcited by 9
  20. 2020ByzShield: An Efficient and Robust System for Distributed Trainingcited by 8
  21. 2018Asynchronous Byzantine Machine Learning (the case of SGD)cited by 7
  22. 2018Proximal SCOPE for Distributed Sparse Learning: Better Data Partition Implies Faster Convergence Ratecited by 3
  23. 2016SCOPE: Scalable Composite Optimization for Learning on Sparkcited by 2

Built on by

Not cited yet.