Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Identifying and Mitigating Errors in Gradient Aggregation of Distributed Data Parallel Training

PAFT averages parameters periodically to stop replicas drifting apart during training

  • Problem Gradient aggregation errors make each worker's model copy drift apart, and the gap keeps growing during training. Syncing parameters after every update stops this but costs too much communication.
  • Method PAFT averages model parameters every H iterations instead of after every update. It tunes H from an estimate of the gradient noise.
  • Results PAFT keeps convergence close to the noise-free LLM runs at noise variance 0.001.

Why noisy gradient aggregation splits the replicas

In data-parallel training, every worker holds a copy of the model, and the copies stay identical because they apply one shared averaged gradient. A gradient aggregation error breaks this: each worker receives the average plus its own Gaussian perturbation, so the copies start moving in different directions. This condition is called gradient inconsistency, and the perturbation is modeled with variance σ².

Once the copies differ, the gap between each replica and the averaged model keeps widening. Lemma 3.1 expresses the expected squared gap as the noise variance times a sum of squared learning rates over past steps. The authors read this as meaning that a gradient computed on a drifted replica carries little useful descent information.

The convergence bound in Theorem 3.3 contains a term that does not generally vanish. Under a constant learning rate, that term grows linearly with training time. Fast learning-rate decay could in principle stop this growth, yet practical schedules rarely decay that fast.

The experiments agree: with ResNet-18 on CIFAR-10 across 4 workers, even noise variance 0.001 led to failed convergence.

How periodic averaging clears the drift

The simplest fix averages parameters after every update, which removes the divergence entirely. Its cost is high, because syncing the model each iteration adds communication equal to the gradient traffic itself.

PAFT-Sync keeps the local update and averages parameters only every H iterations. Between two synchronizations the replicas drift, and each synchronization resets them to a common point. Algorithm 1 shows this as a local step followed by averaging whenever the step index reaches the interval H.

The analysis assumes a gap condition, where the largest distance between synchronization points is at most H. Under that condition the divergence bound scales with H, the noise variance and the squared step size. So a smaller H tightens the bound but raises the communication cost.

Theorem 4.3 bounds the convergence error of a weighted average of the replicas' iterates, under Assumption 3.2 and an L-smooth, μ-strongly convex objective. Corollary 4.4 states that the resulting rate matches that of SGD for a stated choice of the parameter a.

PAFT-Dyn: adaptive frequency and overlap

PAFT-Dyn sets H from the detected error degree rather than from a fixed value. Measuring the error directly would need an extra exchange like a synchronization, so the authors estimate it from the accumulated model divergence. The divergence already carries the history of past noise, so it doesn't have to be sent at every iteration.

The authors set H as the ratio of the gradient noise bound σg to the estimated noise σ, which balances two terms of the bound. This ratio also plays the role of a signal-to-noise ratio, a quantity used in other schemes that adjust hyperparameters.

PAFT-Dyn also hides synchronization cost by overlapping it with training. When a round needs synchronization, the averaging starts without waiting, and the next round runs its forward and backward pass during it. Workers wait for the earlier averaging only when they update the model, and this trades precise gradient estimation for overlap.

For SGD momentum and Adam, the momentum and preconditioning terms can diverge across workers as well. The authors suggest synchronizing these extra terms with the parameters, and they report supporting results in an appendix.

Experimental setup and noise simulation

The authors used an 8-node cluster with 4 RTX2080Ti GPUs per node, plus a single machine with 8 A6000 GPUs. ResNet-18 was trained on CIFAR-10, ResNet-50 on CIFAR-100 for 120 epochs, and GPT-2 Small with 124M parameters on OpenWebText. LLaMA-2 and GPT-2 were fine-tuned on Alpaca with LoRA for one epoch.

ResNet models used SGDm with learning rate 0.1 and momentum 0.9. GPT-2 used Adam with learning rate 0.001, β1 of 0.9 and β2 of 0.99. The noise levels were 0.0001, 0.001, 0.01 and 0.1, which the figures plot as σ².

The authors treat the small levels as ordinary communication noise and the large levels as bit corruptions. They cite the LLaMA-3 405B report, where about 78% of unexpected interruptions were tied to hardware issues. They also cite Fire-Flyer observations of GPU errors that caused gradient norm spikes and loss explosions. Their evaluation therefore mixes small continuous noise with occasional large bursts.

Convergence under continuous noise

On ResNet-18 and ResNet-50, accuracy fell as the noise rose in every case. PAFT defended against noise at variance 0.0001 and 0.001 on ResNet-18 with 4 workers and on ResNet-50 with 4 and 32 workers.

At noise variance 0.01 and above, a gap to Oracle remains. The authors attribute this to common-mode corruption, where all workers move the same wrong way, and synchronization can't undo that shared direction.

Accidental large noise and replica traces

The authors used base noise of N(0, 0.0001) in each round, with a large draw from N(0, 0.1) or N(0, 1.0) after every 500 iterations. Each burst dropped ResNet-18 test accuracy sharply, and PAFT pulled it back. With variance 1.0 the authors report that recovery was hard. They also saw that late learning-rate decay helped the model absorb later bursts, which they link to Lemma 3.1 and Theorem 3.3.

Under noised DSGD the divergence accumulates, and PAFT keeps it from growing without limit. The authors read this as support for Lemma 3.1 and Theorem 4.3.

Wall-clock cost of synchronization

At 4 workers, ResNet-50 averaged 0.237 seconds per iteration with PAFT, compared to 0.201 for DSGD. At 32 workers the figures were 0.373 seconds for PAFT and 0.333 for DSGD. PAFT-Sync was slower than PAFT at every worker count in the same table.

The text puts PAFT's efficiency gain over PAFT-Sync at up to 11.0% for 32 workers. It puts the extra cost of PAFT over DSGD at 18.9% for 32 workers. These timings come from ResNet-50 runs only, so they say nothing about the LLM settings.

Limitations

A gap to Oracle remains at noise variance 0.01 and above. Synchronization doesn't correct corruption shared by all workers, and the authors propose combining PAFT with gradient clipping or robust aggregation. Overlapped synchronization gives up precise gradient estimation. PAFT doesn't fit fully sharded training such as FSDP, because that removes the replica redundancy PAFT relies on.

The authors also assume the infrequent synchronization runs on a more reliable channel than gradient aggregation. The validation uses simulated perturbations, and the authors call for tests on real fault traces.

Paper info

Authors
Zhenheng Tang, Junlin Huang, Zichen Tang, Xueze Kang, Yuxin Wang, Peijie Dong, Shaohuai Shi, Xiaowen Chu, Bo Li
Venue
International Conference on Machine Learning · Published
First published
2026-9-29
Added
2026-11-26
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Zhenheng Tang, Junlin Huang, Zichen Tang, Xueze Kang, Yuxin Wang, Peijie Dong, Shaohuai Shi, Xiaowen Chu, Bo Li (2026). Identifying and Mitigating Errors in Gradient Aggregation of Distributed Data Parallel Training. International Conference on Machine Learning. https://proceedings.mlr.press/v306/tang26g.html

BibTeX
@article{tang2026identifying,
  title = {{Identifying and Mitigating Errors in Gradient Aggregation of Distributed Data Parallel Training}},
  author = {Zhenheng Tang and Junlin Huang and Zichen Tang and Xueze Kang and Yuxin Wang and Peijie Dong and Shaohuai Shi and Xiaowen Chu and Bo Li},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/tang26g.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up