paper-with-me

Papers

Beyond Gradient Averaging in Parallel Optimization: Improved Robustness through Gradient Agreement Filtering

2024-12-24 · Francois Chaubard, Duncan Eddy, Mykel J. Kochenderfer

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.

📄 PDF Abstract BibTeX arXiv:2412.18052

Code (1)

Fchaubard/gradient_agreement_filtering 공식 구현 pytorch

Tasks

image-classificationImage ClassificationMemorization

Similar Papers 제목 키워드 기반

Adaptive Consensus Gradients Aggregation for Scaled Distributed Training

2024-11-06 · Yoni Choukroun, Shlomi Azoulay, Pavel Kisilev

Distributed machine learning has recently become a critical paradigm for training large models on vast datasets. We examine the stochastic optimization problem for deep learning within synchronous parallel computing envi…

Stochastic Optimization

PADAM: Parallel averaged Adam reduces the error for stochastic optimization in scientific machine learning

2025-05-28 · Arnulf Jentzen, Julian Kranz, Adrian Riekert

Averaging techniques such as Ruppert--Polyak averaging and exponential movering averaging (EMA) are powerful approaches to accelerate optimization procedures of stochastic gradient descent (SGD) optimization methods such…

Stochastic Optimization

Experiments on Parallel Training of Deep Neural Network using Model Averaging

2015-07-05 · Hang Su, Haoyu Chen

In this work we apply model averaging to parallel training of deep neural network (DNN). Parallelization is done in a model averaging manner. Data is partitioned and distributed to different nodes for local model updates…

Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learning

2018-07-17 · Hao Yu, Sen yang, Shenghuo Zhu

In distributed training of deep neural networks, parallel mini-batch SGD is widely used to speed up the training process by using multiple workers. It uses multiple workers to sample local stochastic gradient in parallel…

Beyond Backpropagation: Optimization with Multi-Tangent Forward Gradients

2024-10-23 · Katharina Flügel, Daniel Coquelin, Marie Weiel, Achim Streit 외

The gradients used to train neural networks are typically computed using backpropagation. While an efficient way to obtain exact gradients, backpropagation is computationally expensive, hinders parallelization, and is bi…