Skip to main content
QUICK REVIEW

[Paper Review] Accordion: Adaptive Gradient Communication via Critical Learning Regime Identification

Saurabh Agarwal, Hongyi Wang|arXiv (Cornell University)|Oct 29, 2020
Domain Adaptation and Few-Shot LearningComputer Science49 references15 citations
TL;DR

Accordion is an adaptive gradient compression algorithm that dynamically adjusts compression based on critical learning regimes, detected via gradient norm changes. It maintains model accuracy comparable to low-compression training while achieving up to 5.5× better compression and 4.1× end-to-end speedup over static methods in distributed training.

ABSTRACT

Distributed model training suffers from communication bottlenecks due to frequent model updates transmitted across compute nodes. To alleviate these bottlenecks, practitioners use gradient compression techniques like sparsification, quantization, or low-rank updates. The techniques usually require choosing a static compression ratio, often requiring users to balance the trade-off between model accuracy and per-iteration speedup. In this work, we show that such performance degradation due to choosing a high compression ratio is not fundamental. An adaptive compression strategy can reduce communication while maintaining final test accuracy. Inspired by recent findings on critical learning regimes, in which small gradient errors can have irrecoverable impact on model performance, we propose Accordion a simple yet effective adaptive compression algorithm. While Accordion maintains a high enough compression rate on average, it avoids over-compressing gradients whenever in critical learning regimes, detected by a simple gradient-norm based criterion. Our extensive experimental study over a number of machine learning tasks in distributed environments indicates that Accordion, maintains similar model accuracy to uncompressed training, yet achieves up to 5.5x better compression and up to 4.1x end-to-end speedup over static approaches. We show that Accordion also works for adjusting the batch size, another popular strategy for alleviating communication bottlenecks.

Motivation & Objective

  • To address the fundamental trade-off between communication efficiency and model accuracy in distributed training.
  • To identify critical learning regimes where high compression degrades performance, using gradient norm dynamics as a signal.
  • To design a low-overhead, generic adaptive compression strategy that improves communication efficiency without hyperparameter tuning.
  • To demonstrate that adaptive compression can outperform static compression in both accuracy and speed.
  • To explore the equivalence between adaptive batch size and adaptive gradient compression.

Proposed method

  • Accordion detects critical learning regimes by monitoring the rate of change in gradient norm magnitude.
  • During critical regimes, it switches to low compression (e.g., Rank 2 in PowerSGD or Top-K with high K) to preserve model performance.
  • Outside critical regimes, it applies high compression (e.g., Rank 1 or Top-K with low K) to reduce communication.
  • The algorithm uses two compression levels: ℓ_low (safe, accurate) and ℓ_high (highly compressed), with transitions triggered by gradient norm dynamics.
  • It operates without additional hyperparameter tuning, relying only on gradient norm changes to guide compression switching.
  • The method is compatible with both sparsification (Top-K) and low-rank approximation (PowerSGD) compression techniques.

Experimental results

Research questions

  • RQ1Can the trade-off between communication efficiency and model accuracy in distributed training be overcome through adaptive compression?
  • RQ2Can critical learning regimes be reliably detected using gradient norm dynamics in practice?
  • RQ3Does dynamically adjusting compression based on training phase improve both communication efficiency and final model accuracy?
  • RQ4Is there a practical equivalence between adaptive batch size and adaptive gradient compression in terms of training outcomes?
  • RQ5Can Accordion achieve performance parity with low-compression training while using significantly less communication?

Key findings

  • Accordion achieves up to 5.5× better compression and 4.1× end-to-end speedup compared to static compression methods, while maintaining test accuracy.
  • On ResNet-18 trained on Cifar-100, Accordion matches the accuracy of low-compression (Rank 2) training but communicates 3.7× fewer floats.
  • Even when given the same communication budget as low-compression training, Rank-1 PowerSGD fails to match the accuracy of Rank-2, but Accordion succeeds with reduced communication.
  • For VGG-19 on Cifar-100, Accordion with ℓ_low = Rank 2 and ℓ_high = Rank 4 achieves the accuracy of Rank-4 training with 2.3× less communication.
  • The method works effectively across both Top-K sparsification and PowerSGD low-rank compression, showing broad applicability.
  • The rate of change in gradient norm is a reliable proxy for identifying critical learning regimes, enabling accurate compression switching.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.