Beyond Gradient Averaging in Parallel Optimization: Improved Robustness through Gradient Agreement Filtering
Not on the map. Why?
Abstract (arXiv)
We introduce Gradient Agreement Filtering (GAF) to improve on gradient averaging in distributed deep learning optimization. Traditional distributed data-parallel stochastic gradient descent involves averaging gradients of microbatches to calculate a macrobatch gradient that is then used to update model parameters. We find that gradients across microbatches are often orthogonal or negatively correlated, especially in late stages of training, which leads to memorization of the training set, reducing generalization. In this paper, we introduce a simple, computationally effective way to reduce gradient variance by computing the cosine distance between micro-gradients during training and filtering out conflicting updates prior to averaging. We improve validation accuracy with significantly smaller microbatch sizes. We also show this reduces memorizing noisy labels. We demonstrate the effectiveness of this technique on standard image classification benchmarks including CIFAR-100 and CIFAR-100N-Fine. We show this technique consistently outperforms validation accuracy, in some cases by up to 18.2% compared to traditional training approaches while reducing the computation required nearly an order of magnitude because we can now rely on smaller microbatch sizes without destabilizing training.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 17 of its 37 references that are in the map. First posted on arXiv 24 Dec 2024.
Builds on
17 of 37 references.
References · 17
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2020Gradient Surgery for Multi-Task Learningcited by 1,210
- 2020DivideMix: Learning with Noisy Labels as Semi-supervised Learningcited by 691
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
- 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 282
5 more
- 2018An Empirical Model of Large-Batch Trainingcited by 268
- 2021Learning with Noisy Labels Revisited: A Study Using Real-World Human Annotationscited by 253
- 2022Robust Training under Label Noise by Over-parameterizationcited by 93
- 2020PyTorch Distributed: Experiences on Accelerating Data Parallel Trainingcited by 87
- 2023Gradient Shaping for Multi-Constraint Safe Reinforcement Learningcited by 7
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Trainingcited by 3
- 2025Substituting Proof of Work in Blockchain with Training-Verified Collaborative Model Computationcited by 0
- 2026Every Batch Is Its Own Validation Set: Leave-One-Out Gradient Matching for Online Data Selection in LLM Fine-Tuningcited by 0
- 2026Every Batch Is Its Own Validation Set: Leave-One-Out Gradient Matching for Online Data Selection in LLM Fine-Tuning30 Sep 2026
- 2025Substituting Proof of Work in Blockchain with Training-Verified Collaborative Model Computation16 Aug 2025
- 2025PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Training15 Jul 2025