atlas

Research map / Optimization / Distributed and compressed

A Quadratic Synchronization Rule for Distributed Deep Learning

ICLR 2024 · Optimization › Distributed and compressed · approach: Gradient quantization and sparsification · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the Quadratic Synchronization Rule (QSR), which sets the local-step period H proportional to 1/eta^2 as the learning rate decays, so local gradient methods both cut communication and improve test accuracy on ImageNet.

Problem

Choosing the synchronization period H in local gradient methods (e.g., Local SGD/AdamW) to reduce communication while improving, rather than hurting, generalization in distributed data-parallel deep learning.

Approach

Dynamically set H_s = max{H_base, floor((alpha/eta_t)^2)} so the sync period grows quadratically as the learning rate decays; the power 2 is motivated by a slow-SDE analysis showing H ~ eta^-2 yields a K-times-larger sharpness-reducing drift than SGD or H ~ eta^-1.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use QSR instead of constant H=2Local SGD on ResNet-152 · ImageNet, batch size 4096, cosinevalidation accuracy (%): 79.54 (0.07) -> 80.30 (0.04)Helped
Use QSR instead of constant H=4Local AdamW on ViT-B · ImageNet, batch size 4096, cosinevalidation accuracy (%): 79.32 (0.06) -> 80.98 (0.05)Helped
Use QSR instead of parallel trainingAdamW on ViT-B · ImageNet, batch size 4096, cosinevalidation accuracy (%): 79.86 (0.03) -> 80.98 (0.05)Helped
Use QSR instead of constant H=2Local SGD on ResNet-152 · ImageNet, batch size 16384, cosinevalidation accuracy (%): 78.67 -> 79.27Helped
Use QSR instead of constant H=4Local AdamW on ViT-B · ImageNet, batch size 16384, cosinevalidation accuracy (%): 77.83 -> 79.36Helped
Use QSR instead of constant H=2Local SGD on ResNet-152 · ImageNet, batch size 4096, step decayvalidation accuracy (%): 79.58 -> 80.40Helped
Use QSR instead of parallel trainingAdamW on ViT-B · ImageNet, batch size 4096, step decayvalidation accuracy (%): 79.91 -> 80.9Helped
Use QSR instead of parallel trainingSGD on ResNet-152 · ImageNet, 200 epochs, 2x8 GPUstotal training time (h): 20.7 -> 18.0Helped
Use QSR instead of parallel trainingAdamW on ViT-B · ImageNet, 300 epochs, 8x8 GPUstotal training time (h): 8.6 -> 5.5Helped
Use QSR instead of constant H=2Local SGD on ResNet-50 · ImageNet, 90 epochs, cosinevalidation accuracy (%): 76.60 -> 76.65No clear effect
Increase the QSR minimum synchronization period from H_min=2 to H_min=4 (ablation)QSR Local SGD on ResNet-152 · ImageNet, batch size 16384, cosinevalidation accuracy (%): 79.27 -> 78.65Hurt
Increase the QSR minimum synchronization period from H_min=4 to H_min=8 (ablation)QSR Local AdamW on ViT-B · ImageNet, batch size 4096, cosinevalidation accuracy (%): 80.98 (0.05) -> 80.56 (0.10)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet

Benchmarks: ImageNet

Metrics: top-1 validation accuracy communication volume wall-clock training time train loss

Baselines: Parallel SGD Parallel AdamW Local SGD with constant H Local AdamW with constant H Post-local SGD H ~ eta^-1 scaling cubic rule

Builds on: Local SGD Post-local SGD SDE approximation of SGD (slow SDE) Linear Scaling Rule

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy