atlas

Research map / Architectures and efficiency / RNNs and normalization

CO2: Efficient Distributed Training with Full Communication-Computation Overlap

ICLR 2024 · Architectures and efficiency › RNNs and normalization · approach: Distributed LLM inference systems · 1 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 CO2, a local-updating method with one-step asynchronous all-reduce of parameters that fully overlaps communication with computation for distributed training on bandwidth-limited clusters, plus a staleness gap penalty and outer momentum clipping.

Problem

Distributed data-parallel training of large models is bottlenecked by inter-node communication on clusters with limited bandwidth, and existing methods do not fully overlap communication with computation without hurting final accuracy.

Approach

Combines local updating (Local-SGD style) with one-step asynchronous all-reduce of model parameters so that synchronization of outer iterates overlaps with the next round of local computation; adds a staleness gap penalty on the outer momentum (ratio of outer displacement to maximum inner displacement) and coordinate-wise outer momentum clipping for stability.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CO2 instead of the strongest reported baselineResNet-50 · ImageNet-1K valTop-1 accuracy: 77.12 ($\pm$ 0.11) -> 77.14 ($\pm$ 0.09)No clear effect
Use CO2 instead of SGDViT (Base) · ImageNet-1K valTop-1 accuracy: 81.33 ($\pm$ 0.04) -> 80.95 ($\pm$ 0.08)Hurt
Use CO2 instead of SGDVVT (Large) · ImageNet-1K valTop-1 accuracy: 83.64 ($\pm$ 0.06) -> 83.38 ($\pm$ 0.06)Hurt
Use CO2 instead of SGDVVT (Large) · ADE20Kaccuracy: 47.82 ($\pm$ 0.05) -> 47.80 ($\pm$ 0.11)No clear effect
Use CO2 instead of SlowMoPoint-MAE · ShapeNet validationaccuracy: 68.69 ($\pm$ 0.32) -> 68.89 ($\pm$ 0.39)Helped
Use CO2 instead of the best baselineGPT-2 (Medium) · OpenWebTextperplexity: 6.41 ($\pm$ 0.65) -> 6.36 ($\pm$ 0.66)Helped
Use CO2 instead of AdamwTN-LLM (7B) · WikiText-103perplexity: 16.82 ($\pm$ 0.86) -> 16.78 ($\pm$ 0.95)Helped
Use CO2 instead of AdamwRoBERTa (Large) · Wikipedia+BookCorpusperplexity: 3.96 ($\pm$ 0.37) -> 3.95 ($\pm$ 0.96)No clear effect
Use CO2 (τ=12) instead of AdamwTransNormer-LLM (7B) · RDMA, 128 GPUsthroughput (words/sec): 289106 ($\pm$ 423) -> 307557 ($\pm$ 617)Helped
Use CO2 (τ=48) instead of AdamwTransNormer-LLM (7B) · TCP/IP, 128 GPUsthroughput (words/sec): 22810 ($\pm$ 526) -> 304736 ($\pm$ 729)Helped
Add staleness gap penalty (ablation)CO2 on GPT-2 (Small) · 100K stepsvalidation perplexity: 7.56 -> 7.39Helped
Add outer momentum clipping (ablation)CO2 on GPT-2 (Small) · 100K stepsvalidation perplexity: 7.42 -> 7.39Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K ADE20K ShapeNet OpenWebText WikiText-103 Wikipedia BookCorpus

Benchmarks: ImageNet-1K ADE20K ModelNet40 OpenWebText WikiText-103

Metrics: top-1 accuracy mIoU-like segmentation accuracy perplexity throughput (words/sec) scalability ratio

Baselines: SGD AdamW Local-SGD Overlap-Local-SGD SlowMo

Builds on: Local-SGD SlowMo Overlap-Local-SGD ZeRO

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