mlsanityData to 14 Oct 2026

On the Convergence Theory of Pipeline Gradient-based Analog In-memory Training

arXiv 2410.15155 ↗First posted 19 Oct 2024cs.LG cs.AR math.OCcited by 0

Not on the map. Why?

Abstract (arXiv)

Aiming to accelerate the training of large deep neural networks (DNN) in an energy-efficient way, analog in-memory computing (AIMC) emerges as a solution with immense potential. AIMC accelerator keeps model weights in memory without moving them from memory to processors during training, reducing overhead dramatically. Despite its efficiency, scaling up AIMC systems presents significant challenges. Since weight copying is expensive and inaccurate, data parallelism is less efficient on AIMC accelerators. It necessitates the exploration of pipeline parallelism, particularly asynchronous pipeline parallelism, which utilizes all available accelerators during the training process. This paper examines the convergence theory of stochastic gradient descent on AIMC hardware with an asynchronous pipeline (Analog-SGD-AP). Although there is empirical exploration of AIMC accelerators, the theoretical understanding of how analog hardware imperfections in weight updates affect the training of multi-layer DNN models remains underexplored. Furthermore, the asynchronous pipeline parallelism results in stale weights issues, which render the update signals no longer valid gradients. To close the gap, this paper investigates the convergence properties of Analog-SGD-AP on multi-layer DNN training. We show that the Analog-SGD-AP converges with iteration complexity O(varepsilon-2+varepsilon-1) despite the aforementioned issues, which matches the complexities of digital SGD and Analog SGD with synchronous pipeline, except the non-dominant term O(varepsilon-1). It implies that AIMC training benefits from asynchronous pipelining almost for free compared with the synchronous pipeline by overlapping computation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 44 references that are in the map. First posted on arXiv 19 Oct 2024.

Builds on

27 of 44 references.

References · 27

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  3. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
  4. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
  5. 2018AutoAugment: Learning Augmentation Policies from Datacited by 730
  6. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
  7. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  8. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
  9. 2020Loss landscapes and optimization in over-parameterized non-linear systems and neural networkscited by 233
  10. 2016Wider or Deeper: Revisiting the ResNet Model for Visual Recognitioncited by 184
  11. 2019An Improved Analysis of Training Over-parameterized Deep Neural Networkscited by 121
  12. 2021Colossal-AI: A Unified Deep Learning System For Large-Scale Parallel Trainingcited by 96
15 more
  1. 2018Overparameterized Nonlinear Learning: Gradient Descent Takes the Shortest Path?cited by 88
  2. 2020A Single-Loop Smoothed Gradient Descent-Ascent Algorithm for Nonconvex-Concave Min-Max Problemscited by 58
  3. 2018Decoupled Parallel Backpropagation with Convergence Guaranteecited by 39
  4. 2021A flexible and fast PyTorch toolkit for simulating training and inference on analog crossbar arrayscited by 39
  5. 2016Acceleration of Deep Neural Network Training with Resistive Cross-Point Devicescited by 29
  6. 2018Pipe-SGD: A Decentralized Pipelined SGD Framework for Distributed Deep Net Trainingcited by 28
  7. 2020torchgpipe: On-the-fly Pipeline Parallelism for Training Giant Modelscited by 26
  8. 2019Algorithm for Training Neural Networks on Resistive Device Arrayscited by 19
  9. 2017Training Deep Convolutional Neural Networks with Resistive Cross-Point Devicescited by 18
  10. 2019On the Acceleration of Deep Learning Model Parallelism with Stalenesscited by 17
  11. 2017Asynchronous Coordinate Descent under More Realistic Assumptionscited by 14
  12. 2020Pipelined Backpropagation at Scale: Training Large Models without Batchescited by 11
  13. 2023Fast offset corrected in-memory trainingcited by 11
  14. 2024Towards Exact Gradient-based Training on Analog In-memory Computingcited by 7
  15. 2022Neural Network Training with Asymmetric Crosspoint Elementscited by 3

Built on by

Not cited yet.