Cited by 78Advanced Neural Network ApplicationsTopic ModelingParallel Computing and Optimization Techniques

A Survey on Efficient Training of Transformers

Open access
Zhuang, Bohan, Liu, Jing, Pan, Zizheng, He, Haoyu, Weng, Yuetian, Shen, Chunhua·2023·Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence

Abstract

Recent advances in Transformers have come with a huge requirement on computing resources, highlighting the importance of developing efficient training techniques to make Transformer training faster, at lower cost, and to higher accuracy by the efficient use of computation and memory resources. This survey provides the first systematic overview of the efficient training of Transformers, covering the recent progress in acceleration arithmetic and hardware, with a focus on the former. We analyze and compare methods that save computation and memory costs for intermediate tensors during training, together with techniques on hardware/algorithm co-design. We finally discuss challenges and promising areas for future research.

AI snapshot

Written from the paper’s full text.

TL;DR

This survey systematically reviews efficient training techniques for Transformers, focusing on computation efficiency, memory efficiency, and hardware/algorithm co-design. It argues that training large Transformers is bottlenecked by intensive computation and growing memory demands, and it catalogs methods to reduce cost while maintaining accuracy.

Key findings

  • Training large Transformers is extremely resource-intensive: the paper cites an estimate that NAS-trained Transformer base models produce about 626,155 pounds of CO₂, and that GPT-3 has 175 billion parameters and would take 355 GPU-years and at least $4.6M for one training run.
  • Computation-efficiency methods include better optimizers (AdamW, Lion, SAM variants), initialization schemes (Fixup, ReZero, SkipInit, T-Fixup, ConViT), sparse training, overparameterization, large-batch training, incremental learning, token masking, and importance sampling.
  • Memory-efficiency methods include parallelism (DP, MP, TP, PP), quantized training, rematerialization/offloading, and parameter-efficient tuning; for example, AMP trains DeiT-B 2× faster (305 vs. 124 images/s) and uses 22% less peak GPU memory (7.9GB vs. 10.2GB).
  • Hardware/algorithm co-design examples report large gains: OuterSPACE achieves 7.9× speedup over CPU and 14.0× over GPU; DOTA achieves 152.6× speedup over GPU; ELSA achieves 58.1× speedup and three orders of magnitude energy improvement over an Nvidia V100.

Methods

  • Design: a survey providing “the first systematic overview of the efficient training of Transformers,” organizing methods by technical innovation and primary use case.
  • Scope: covers computation efficiency, memory efficiency, and hardware/algorithm co-design, with primary focus on arithmetic innovations and a brief discussion of hardware/algorithm co-design.
  • Analysis: qualitative synthesis and comparison of published methods, including a summary table of memory-efficient training methods; no new experiments or primary datasets are introduced.

Limitations

  • The paper states that it leaves the review of hardware accelerator design, “a broad class,” as future work.
  • The paper states that a standard benchmark to evaluate and compare efficient training methods is still needed and is listed as a promising future direction.
  • Evident from the text: as a survey, it does not report original experimental results, controlled comparisons, or a unified benchmark; its quantitative claims are drawn from cited works.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.24963/ijcai.2023/764

Cites

75 of 75 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

0 of 81 cited sources checked · 0 supported · 0 flagged

  • Premisecitation

    Empirically, training Transformers with Adam performs better than training them with SGD.

    “Empirically, training Transformers with Adam outperforms the SGD counterpart, and [Zhang et al., 2019b] demystifies that a heavy-tailed distribution of the noise in stochastic gradients is the main cause of SGD's poor performance”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Zhang et al., 2019b

      Not checked in the free run.

  • Premisecitation

    The largest language model grew from 345M parameters with BERT-large in 2018 to hundreds of billions with models such as MT-NLG at 530B parameters.

    “the largest language model in literature grows from 345M with BERT-large [Kenton and Toutanova, 2019] in 2018, to hundreds of billions till now with models such as MT-NLG [Smith et al., 2022] equipped with 530B parameters.”
    Quote in the paperSubstantial claim0 of 2 sources checked
    • cites Kenton and Toutanova, 2019

      Not checked in the free run.

    • cites Smith et al., 2022

      Not checked in the free run.

  • Premisenone given

    Pipeline parallelism suffers from pipeline bubbles, or accelerator idle time, that reduce efficiency.

    “However, it still suffers from pipeline bubbles (accelerator idle time) that reduce efficiency.”
    Quote in the paperNot a substantial claim
  • Premisecitation

    Applying SAM to Transformers yields significant accuracy gains by smoothing the loss surface.

    “The following work [Chen et al., 2022] applies SAM to Transformer, observing significant accuracy gains via smoothing the loss surface.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Chen et al., 2022

      Not checked in the free run.

  • Premisecitation

    SGD can converge to global minima on the training objective of DNNs in polynomial time, assuming training samples are not duplicated and the number of parameters is polynomial in the number of training samples and network depth.

    “[Allen-Zhu et al., 2019b] proves that SGD can converge to global minima on the training objective of DNNs in polynomial time, assuming training samples are not duplicated, and the number of parameters is polynomial in the number of training samples and network depth.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Allen-Zhu et al., 2019b

      Not checked in the free run.

  • May combine two claims. 48
  • Classified as probably not a substantial claim. 34
  • May combine two claims.

    Premisecitation

    Lion generally converges faster and is more memory-efficient and accurate than AdamW for training Transformers on various benchmarks.

    “In practice, Lion in general converges faster, and is more memory-efficient and accurate than AdamW for training Transformers on various benchmarks.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Chen et al., 2023

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    Training a Transformer base model with neural architecture search produces roughly 626,155 pounds of carbon dioxide, comparable to the lifetime emissions of five cars.

    “A widely discussed energy study of deep learning models [Strubell et al., 2019] estimates that training a Transformer base model with neural architecture search (NAS) [So et al., 2019] produces about 626,155 pounds of planet-warming carbon dioxide, equal to the lifetime emissions of five cars”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites Strubell et al., 2019

      Not checked in the free run.

    • cites So et al., 2019

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    AdamW is the most widely used optimizer for Transformers by default.

    “By default, AdamW [Loshchilov and Hutter, 2019], a variant of Adam which decouples the L 2 regularization and the weight decay, is the most widely used optimizer for Transformers.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Loshchilov and Hutter, 2019

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    GPT-3 was trained on half a trillion words and has 175 billion parameters.

    “GPT-3 [Brown et al., 2020] (the precursor to ChatGPT) was trained on half a trillion words and equips with 175 billion parameters.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Brown et al., 2020

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    LTH requires identifying winning tickets through alternating train-prune-retrain, which makes training very costly for large models and datasets.

    “However, LTH requires identifying the winning tickets in an alternating train-prune-retrain manner, which makes the training extremely costly for large models and datasets, limiting the practical benefits.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Frankle and Carbin, 2019

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    ZeRO combines uniform partitioning with data parallelism, where each data parallel process handles one partition of model states in a mixed precision regime.

    “More recently, ZeRO [Rajbhandari et al., 2020] incorporates uniform partitioning strategy with DP, where each data parallel process merely deals with one partition of model states, working in a mixed precision regime.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Rajbhandari et al., 2020

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Fixup rescales standard initialization to maintain proper gradient norm and can train very deep networks with over 10,000 layers without adding normalization layers.

    “Fixup [Zhang et al., 2019a] proposes to properly rescale a standard initialization to ensure proper gradient norm to avoid exploding or vanishing gradients, which can train very deep networks with over 10,000 layers without adding normalization layers.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Zhang et al., 2019a

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    ConViT controls locality by adding a soft gating parameter that balances content and positional terms, incorporating soft convolutional inductive biases into global self-attention.

    “ConViT [d' Ascoli et al., 2021] learns to control the locality by adding a soft gating parameter to balance the two terms, which has the effect of incorporating soft convolutional inductive biases into global self-attention.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites d' Ascoli et al., 2021

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Averaging the weights of a certain number of latest checkpoints can facilitate faster training.

    “[Kaddour, 2022] shows that averaging the weights of a certain number of latest checkpoints can facilitate faster training.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Kaddour, 2022

      Not checked in the free run.

  • Classified as probably not a substantial claim.

    Premisecitation

    Sparse training directly trains sparse subnetworks from scratch instead of full networks without sacrificing accuracy.

    “The key idea of sparse training is to directly train sparse subnetworks instead of the full networks from scratch without sacrificing accuracy.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisecitation

    Overparameterization empirically improves both convergence and generalization, although theoretical guarantees are not sufficient.

    “It is observed that overparameterization empirically improves both convergence and generalization, with theoretical guarantee though not sufficient.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    Sharpness-aware minimization aims to minimize both loss value and loss sharpness, based on the idea that a flatter minimum tends to improve generalization.

    “Sharpnessaware minimization (SAM) [Foret et al., 2021] seeks to simultaneously minimize loss value and loss sharpness, based on the connection between the geometry of the loss landscape and generalization, i.e., a flatter minimum tends to improve generalization.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Foret et al., 2021

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Progressively increasing input image resolution, by reducing patch size, can significantly accelerate ViT training, consistent with training dynamics that focus on low-frequency structure early and high-frequency semantics later.

    “A key observation is that progressively increasing the resolution of the input images (reducing the patch size) can significantly accelerate ViT training, aligning with the widely known training dynamics that focus on low-frequency structure in the early stage and high-frequency semantics in the latter stage.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Li et al., 2022a

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Parameter sharing, known as Albert, improves the scalability of data parallelism for Transformers but limits representational power.

    “To improve the scalability of DP, one solution for Transformer is parameter sharing [Lan et al., 2020], known as Albert, but it limits the representational power.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Lan et al., 2020

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    AMP keeps a full-precision master copy of weights for updates while storing activations, gradients and weights in FP16 for arithmetic.

    “Specifically, AMP stores a master copy of weights in full-precision for updates while the activations, gradients and weights are stored in FP16 for arithmetic.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Micikevicius et al., 2018

      Not checked in the free run.

  • May combine two claims.

    Premisereasoning

    Skipping processing of masked tokens gives considerable training efficiency gains for MLM and MIM because reducing sequence length lowers computational and memory complexity quadratically.

    “Since squeezing the sequence length reduces both the computational and memory complexity quadratically, skipping processing the masked tokens brings considerable training efficiency gain for MLM and MIM.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisenone given

    The initialization methods discussed remove batch or layer normalization from all blocks and train without learning rate warmup.

    “All the above-mentioned methods remove batch/layer normalization from all blocks and train without learning rate warmup.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    LARS for SGD and LAMB for Adam propose layerwise adaptive learning rates for ResNet and Transformers respectively.

    “The widely used methods are LARS [You et al., 2017] for SGD and LAMB [You et al., 2019] for Adam, which propose to use layerwise adaptive learning rates for ResNet and Transformers respectively.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites You et al., 2017

      Not checked in the free run.

    • cites You et al., 2019

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Training over 400 Transformer language models with varying model sizes and token counts led to the practical hypothesis that model size and number of training tokens should be scaled equally for compute-optimal LLM training.

    “DeepMind in [Hoffmann et al., 2022] trains over 400 Transformer language models with varying scales of model size and # of training tokens, reaching to a practical hypothesis that the model size and the number of training tokens should be scaled equally for compute-optimal LLM training.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Hoffmann et al., 2022

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    A sufficiently overparameterized three-layer neural network generalizes to the population risk, and an accurate network exists near any point on the SGD training trajectory with high probability over random initialization.

    “[Allen-Zhu et al., 2019a] theoretically proves that a sufficiently overparameterized (three-layer) neural network generalizes to the population risk and an intriguing property is that there exists an accurate network in the close neighborhood of any point on the SGD training trajectory with high probability over random initialization.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites Allen-Zhu et al., 2019a

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Goyal et al. used linear scaling of the learning rate to train ResNet-50 on ImageNet with batch size 8,192 in one hour.

    “[Goyal et al., 2017] employs the linear scaling of the learning rate to train ResNet-50 on ImageNet with a batch size of 8,192 in 1 hour.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Goyal et al., 2017

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    torchgpipe performs micro-batch pipeline parallelism with checkpointing, allowing scaling to a large number of micro-batches to minimize bubble overhead.

    “In particular, PyTorch implements the torchgpipe [Kim et al., 2020], which performs micro-batch PP with checkpointing, allowing scaling to a large number of micro-batches to minimize the bubble overhead.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Kim et al., 2020

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Megatron-LM slices both multi-head self-attention and feed-forward networks across GPUs and needs only a few extra All-Reduce operations in the forward and backward pass, allowing training of models up to 8.3 billion parameters using 512 GPUs.

    “Customized to Transformerbased models, Megatron-LM [Shoeybi et al., 2019] slices both MSA and FFN across GPUs and requires only a few extra All-Reduce operations in the forward and backward pass, allowing them to train models up to 8.3 billion parameters using 512 GPUs.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Shoeybi et al., 2019

      Not checked in the free run.

  • May combine two claims.

    Premisereasoning

    Data parallelism has high communication and computation efficiency but poor memory efficiency; when the model becomes large, a single device cannot store the model replica and synchronized gradient communications can hinder scalability.

    “However, it is obvious that DP has high communication/computation efficiency but poor memory efficiency -when model becomes large, the single device cannot store the model replica and the synchronized communications for gradients can hinder the scalability of DP.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisecitation

    For DNNs, a principal way to estimate per-sample importance is gradient norm, and approximations make calculating these norms tractable.

    “For DNNs, a principal way of estimating per-sample importance is to use gradient norm, and [Katharopoulos and Fleuret, 2018;Johnson and Guestrin, 2018] use different approximations to make calculating these norms tractable.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites Katharopoulos and Fleuret, 2018

      Not checked in the free run.

    • cites Johnson and Guestrin, 2018

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Large batch training reduces the variance of stochastic gradient estimates, so a reliable step size must be tuned for better convergence.

    “From the statistical view, large batch training reduces the variance of the stochastic gradient estimates, so a reliable step size needs to be tuned for better convergence [Bottou et al., 2018].”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Bottou et al., 2018

      Not checked in the free run.

  • May combine two claims.

    Premisenone given

    Model parallelism has good memory efficiency but low communication and computation efficiency due to high-volume data transfer across devices and poor processing element utilization.

    “Though MP has good memory efficiency, its communication and computation efficiency is low due to high volume data transfer cross devices and poor PE utilization.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisecitation

    Reduced precision training can accelerate neural network training with favorable performance.

    “It has been shown in previous works that reduced precision training [Zhou et al., 2016;Hubara et al., 2017] can accelerate neural network training with favorable performance.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites Zhou et al., 2016

      Not checked in the free run.

    • cites Hubara et al., 2017

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    The scaling of test error with dataset size can break beyond power scaling laws and be reduced to at least exponential scaling if a superior data pruning metric is used.

    “[Sorscher et al., 2022] shows an exciting analytic theory that the scaling of test error with dataset size can break beyond power scaling laws and be reduced to at least exponential scaling if equipped with a superior data pruning metric”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Sorscher et al., 2022

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    For deep vision Transformers, channel-wise learnable scaling factors and re-introducing warmup and layer normalization can make training more stable.

    “On training deep vision Transformers (ViT), [Touvron et al., 2021a] proposes channel-wise learnable scaling factors and empirically ob-serve that re-introducing the warmup and layer normalization techniques can make training more stable.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Touvron et al., 2021a

      Not checked in the free run.

  • May combine two claims.

    Premisenone given

    Data parallelism and model parallelism are orthogonal and can be used together to train larger models with higher computation and memory capacity.

    “Note that DP and MP are orthogonal and so one can use both simultaneously to train larger models with higher computation and memory capacity.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    In vision, removing masked image patches before the encoder gives stronger performance and at least 3 times lower overall pre-training time and memory than keeping masked tokens.

    “For MIM, representative work [He et al., 2022] shows that in vision, removing the masked image patches before the encoder demonstrates stronger performance and 3× or more lower overall pre-training time and memory consumption than keeping the masked tokens.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites He et al., 2022

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Activation compressed training stores low-precision approximate copies of activations while computing the forward pass exactly, reducing overall memory consumption during training.

    “Apart from reduced precision training which simul-taneously quantizes activations/weights/gradients, activation compressed training (ACT) [Chen et al., 2021a] stores lowprecision approximate copies of activations while computing the forward pass exactly, which helps to reduce the overall memory consumption during training.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Chen et al., 2021a

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    With batch size 64 and image resolution 224 by 224, training DeiT-B on RTX3090 under AMP is 2 times faster than full-precision training, 305 versus 124 images per second, and uses 22% less peak GPU memory, 7.9GB versus 10.2GB.

    “For example, based on a batch size of 64 and image resolution of 224 × 224, training a DeiT-B [Touvron et al., 2021b] on RTX3090 under AMP is 2× faster than full-precision training (305 vs. 124 images/s), as well as consuming 22% less peak GPU memory (7.9GB vs. 10.2GB).”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Touvron et al., 2021b

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    A tensor processing unit designed by Google delivered 30 to 80 times higher performance-per-watt than contemporary CPUs and GPUs.

    “a tensor processing unit (TPU) designed by Google delivered 30∼80× higher performance-per-watt than contemporary CPUs and GPUs [Jouppi et al., 2017].”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Jouppi et al., 2017

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    Higher data efficiency achieved by sampling informative training samples leads towards more efficient neural scaling laws of test error with respect to dataset size.

    “2) higher data efficiency by sampling informative training samples towards more efficient neural scaling laws of test error with respect to dataset size;”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisereasoning

    Hardware-algorithm co-design takes the constraints and capabilities of the hardware into account when designing the algorithm, in order to optimize the training efficiency of DNNs, especially Transformers.

    “To further optimize the training efficiency of DNNs, especially Transformers, hardware-algorithm co-design takes the constraints and capabilities of the hardware into account when designing the algorithm”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    Appropriate initialization and optimization paradigms can accelerate the convergence rate with fewer training iterations, resulting in lower computational costs.

    “1) appropriate initialization and optimization paradigms that can accelerate the convergence rate with fewer training iterations, resulting in lower computational costs;”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Sanger rearranges the sparse attention masks into structured blocks that are handled by reconfigurable hardware.

    “Then, the sparse attention masks are rearranged into structured blocks and handled by reconfigurable hardware.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Beaumont et al. proposes jointly optimizing activation offloading and rematerialization.

    “For the best of both worlds, [Beaumont et al., 2021] proposes to jointly optimize activation offloading and rematerialization.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Beaumont et al., 2021

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Rematerialization, also called checkpointing, is a widely used space-time tradeoff that stores only a portion of activations or weights during the forward pass and recomputes the rest during the backward pass.

    “Rematerialization, also known as checkpointing [Chen et al., 2016], is a widely used technique for space-time tradeoff that only stores a portion of activations/weights during the forward pass and recomputes the rest during the backward pass.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Chen et al., 2016

      Not checked in the free run.

  • May combine two claims.

    Premisenone given

    For applications focused on specific computation tasks, application-specific integrated circuits have the advantage of low power consumption and high training and inference speed.

    “For applications that focus on specific computation tasks, application-specific integrated circuits (ASICs) have the advantage of low power consumption, and high training/inference speed.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisereasoning

    Efficiently tuning readily available pretrained models is becoming a prevailing way to drastically cut training costs.

    “Efficient tuning these readily available models is becoming a prevailing way to drastically cut training costs.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    ViTCoD uses a learnable auto-encoder to compress sparse attentions into a much more compact representation and designs encoder and decoder engines to boost hardware utilization.

    “ViTCoD [You et al., 2023] uses a learnable auto-encoder to compress the sparse attentions to a much more compact representation and designs encoder and decoder engines to boost the hardware utilization.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites You et al., 2023

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisenone given

    ASICs are not easily reprogrammable or adaptable to a new task.

    “However, ASICs are not easily reprogrammable or adaptable to a new task.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Herrmann et al. implements optimal checkpointing for heterogeneous networks.

    “More advanced methods such as [Herrmann et al., 2019] implements optimal checkpointing for heterogeneous networksfoot_2 .”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Herrmann et al., 2019

      Not checked in the free run.

  • May combine two claims.

    Premisenone given

    Lowering the precision of computations reduces the amount of memory and computation and can be implemented in hardware-friendly fixed-point or integer representations instead of floating-point ones.

    “Lowering the precision of the computations reduces the amount of memory and computation, which can be implemented in hardware-friendly fixed-point or integer representations instead of floating-point ones.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisereasoning

    FlashAttention is becoming a default fast and memory-efficient attention module for speedup.

    “which is becoming a default fast and memory-efficient attention module for speedup.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisereasoning

    Compared with CPUs, GPUs are more powerful at performing matrix multiplication because of their high degree of parallelism.

    “compared with central processing units (CPUs), graphics processing units (GPUs) are more powerful to perform matrix multiplication due to the high degree of parallelism.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    Reparameterization-based parameter-efficient tuning tunes parameters inherently in the model or new parameters that can be reparameterized into the model, yielding no sacrifice on inference efficiency.

    “To tackle this challenge, the latter proposes to tune parameters that are inherently in the model [Zaken et al., 2022] or new parameters that can be reparameterized into the model [Hu et al., 2022], thereby yielding no sacrifice on the inference efficiency.”
    Quote in the paperSubstantial claim0 of 2 sources checked
    • cites Zaken et al., 2022

      Not checked in the free run.

    • cites Hu et al., 2022

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    ZeRO-Offload offloads all fp32 model states and fp16 gradients to CPU memory, computes fp32 parameter updates on CPU, keeps fp16 parameters on GPU, and performs forward and backward computations on GPU.

    “It offloads all fp32 model states and the fp16 gradients on the CPU memory, and computes the fp32 parameter updates on CPU.The fp16 parameters are kept on GPU and the forward and backward computations are on GPU.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Ren et al., 2021

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    OuterSPACE transforms matrix multiplication into an outer product procedure and eliminates redundant memory accesses by decoupling multiplication from accumulation.

    “OuterSPACE [Pal et al., 2018] transforms matrix multiplication into an outer product procedure and eliminates redundant memory accesses by decoupling multiplication from accumulation.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Pal et al., 2018

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    OuterSPACE builds a custom accelerator with a reconfigurable memory hierarchy and achieves a mean speedup of 7.9 times over a CPU running Intel Math Kernel Library and 14.0 times against a GPU running CUSP.

    “OuterSPACE builds a custom accelerator with reconfigurable memory hierarchy and achieves a mean speedup of 7.9× over the CPU running Intel Math Kernel Library and 14.0× against the GPU running CUSP.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Stanford Alpaca is finetuned from the open-sourced LLaMA models using 52K instruction-following data generated from ChatGPT.

    “which is finetuned from the open-sourced LLaMA models [Touvron et al., 2023] using the 52K instruction-following data generated from ChatGPT.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Touvron et al., 2023

      Not checked in the free run.

  • May combine two claims.

    Premisenone given

    These large-scale training frameworks support data and model parallelism in mixed precision, along with offloading and rematerialization.

    “All of these support data and model parallelism in mixed precision, along with other general practices such as offloading and rematerialization.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisenone given

    Microsoft DeepSpeed, HPC-AI Tech Colossal-AI and Nvidia Megatron-LM are pioneering, widely adopted prototypes for training large Transformer models at scale.

    “There are several widely adopted prototypes for training large Transformer models at scale, in which Microsoft DeepSpeedfoot_5 , HPC-AI Tech Colossal-AIfoot_6 and Nvidia Megatron-LMfoot_7 are the pioneering ones.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    Addition-based parameter-efficient tuning methods add trainable parameters to the input space or add adapter modules to each Transformer block after the multi-head self-attention and feed-forward network.

    “For example, [Lester et al., 2021;Jia et al., 2022] add trainable parameters to the input space, and [Houlsby et al., 2019] adds the adapter module twice to each Transformer block after the MSA and FFN.”
    Quote in the paperNot a substantial claim0 of 3 sources checked
    • cites Lester et al., 2021

      Not checked in the free run.

    • cites Jia et al., 2022

      Not checked in the free run.

    • cites Houlsby et al., 2019

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    Popular sparse matrix computation libraries include Intel Math Kernel Library on CPU and cuSPARSE, CUSP and 2:4 structured sparsity on GPU.

    “There are several popular sparse matrix computation libraries, such as Intel Math Kernel Libraryfoot_13 on CPU and cuSPARSEfoot_14 , CUSP 16 and 2:4 structured sparsityfoot_16 [Mishra et al., 2021] on GPU.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Mishra et al., 2021

      Not checked in the free run.

  • May combine two claims.

    Premisereasoning

    Parameter-efficient tuning updates only a small number of additional parameters while freezing the pretrained model, which significantly reduces the storage burden and scales with dynamic deployment scenarios without storing a separate model instance per case.

    “As a powerful alternative for the vanilla full fine-tuning, parameterefficient tuning (PET) only updates a small number of additional parameters while freezing the pretrained model to significantly reduce the storage burden, which scales with dynamic deployment scenarios without the need to store a separate instance of model for each case.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Premisenone given

    The public model zoo represented by HuggingFace, which contains pretrained models ready to be downloaded and executed, contributes significantly to reductions in training costs.

    “The public model zoo represented by HuggingFace, which contains rich pretrained models that are ready to be downloaded and executed, is contributing significantly to reductions in training costs.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisereasoning

    Alpaca-LoRA adopts low-rank LoRA to enable instruct-tuning LLaMA on consumer hardware, with training done within hours on a single RTX 4090.

    “its variant Alpaca-LoRAfoot_4 further adopts the low-rank LoRA to enable instruct-tuning LLaMA on customer hardware, showing training can be done within hours on a single RTX 4090.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisenone given

    Field Programmable Gate Arrays are designed to be reprogrammed to perform different functions as needed and can serve as a prototype for ASICs before the design is finalized.

    “In contrast, Field Programmable Gate Arrays (FPGAs) are designed to be reprogrammed to perform different functions as needed, and can also be used as a prototype for ASICs before finalizing the design.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisenone given

    Offloading uses external memory such as CPU memory as an extension of GPU memory to increase training memory capacity through GPU-CPU communications.

    “In terms of offloading, it is a technique to use external memory such as CPU memory as an extension of GPU memory to increase memory capacity during training, through communications between GPU and CPU.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    Memory-efficient techniques meet the memory requirements for training large Transformers, which requires jointly optimizing processing-element utilization, memory and communication footprints across accelerators using parallelism, low-precision arithmetic, checkpointing and offloading.

    “3) memory-efficient techniques to meet the memory requirements for training large Transformers, which requires jointly optimizing PE utilization, memory and communication footprints across accelerators, using parallelism, low-precision arithmetic, checkpointing and offloading strategies, etc;”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S1 (asserted), S3 (load-bearing).

    Premisecitation

    It is commonly believed that at least 16 bits are necessary to train networks without impacting model accuracy.

    “While it is commonly believed that at least 16-bits is necessary to train networks without impacting model accuracy [Micikevicius et al., 2018;Das et al., 2018]”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites Micikevicius et al., 2018

      Not checked in the free run.

    • cites Das et al., 2018

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    DeepSpeed is implemented mainly based on Rasley et al. 2020 and the ZeRO series works, Colossal-AI is built upon Bian et al. 2021, and Megatron-LM implements Narayanan et al. 2021.

    “Specifically, DeepSpeed is implemented mainly based on [Rasley et al., 2020] and ZeRO series works [Rajbhandari et al., 2020;Ren et al., 2021], Colossal-AI is built upon [Bian et al., 2021], and Megatron-LM implements [Narayanan et al., 2021].”
    Quote in the paperNot a substantial claim0 of 3 sources checked
    • cites Rasley et al., 2020

      Not checked in the free run.

    • cites Bian et al., 2021

      Not checked in the free run.

    • cites Narayanan et al., 2021

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Sanger uses 4-bit queries and keys to compute the quantized prediction of the sparse attention matrix.

    “Sanger [Lu et al., 2021] uses 4-bit queries and keys to compute the quantized prediction of sparse attention matrix.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Lu et al., 2021

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Chen et al. provides a simple periodic schedule implemented in PyTorch, but it is only optimal for homogeneous sequential networks.

    “[Chen et al., 2016] provides a simple periodic schedule which was implemented in PyTorchfoot_1 , but it is only optimal for homogeneous sequential networks.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Chen et al., 2016

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    With an efficient hardware accelerator, ELSA achieves a speedup of 58.1 times and three orders of magnitude improvement in energy efficiency compared to an Nvidia V100 GPU equipped with 16GB memory.

    “With an efficient hardware accelerator, ELSA achieves a speedup of 58.1× as well as three orders of magnitude improvements in energy efficiency compared to an Nvidia V100 GPU equipped with 16GB memory.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    Compared with full-precision training, AMP achieves faster training and inference speed and reduces memory consumption during network training.

    “Compared to full-precision training, AMP is able to achieve faster training/inference speed and reduce memory consumption during network training.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Micikevicius et al., 2018

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    LoRA approximates the update of self-attention weights into two low-rank matrices that can be merged into the pretrained weights during inference.

    “the representative work LoRA [Hu et al., 2022] approximates the update of self-attention weights into two low-rank matrices, which can be merged into the pretrained weights during inference.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Hu et al., 2022

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based).

    Interpretationnone given

    Hardware and algorithm co-design maximizes the training scalability on hardware platforms.

    “4) hardware and algorithm co-design to maximize the training scalability on hardware platforms.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisereasoning

    Using lower precision multipliers, adders and memory blocks results in a significant improvement in power consumption and speedup.

    “As a result, we can use lower precision multipliers, adders, and memory blocks, resulting in a significant improvement in power consumption and speedup.”
    Quote in the paperSubstantial claim
73 of 73

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Popular LLMs, such as GPT-4, Llama, and BERT, often require large memory capacity, making it challenging to run them on devices with limited memory.

    “Popular LLMs, such as GPT-4, Llama, and BERT, often require large memory capacity13,58–61, making it challenging to run them on devices with limited memory, such as embedded systems, laptops, and mobile phones62.”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • GPT-3 parameter count differs by a factor of ten

    Minor

    The introduction gives GPT-3 as having 175 billion parameters, while the memory-efficiency section gives it as having 1.75 trillion.

  • Parameter-efficient tuning is described as updating both additional and existing parameters

    Minor

    The general description says PET only updates additional parameters while freezing the pretrained model, but the later description includes tuning parameters already in that model.

2 of 2

Cites

Flagged first, then by citations

12 of the 87 references couldn’t be matched to a known paper.

Research works printed but not linked: 30

  1. Allen-Zhu et al., 2019a] Zeyuan Allen-Zhu, Yuanzhi Li, and Yingyu Liang. Learning and generalization in over- parameterized neural networks, going beyond two layers. In NeurIPS, 2019.
  2. Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, et al. Language models are few-shot learners. In NeurIPS, 2020.
  3. Léopold Cambier, Anahita Bhiwandi- walla, et al. Shifted and squeezed 8-bit floating point for- mat for low-precision training of deep neural networks. In ICLR, 2020.
  4. Chen et al., 2021c] Tianlong Chen, Yu Cheng, et al. Chas- ing sparsity in vision transformers: An end-to-end explo- ration. In NeurIPS, 2021.
  5. Xiangning Chen, Cho-Jui Hsieh, et al. When vision transformers outperform resnets without pre- training or strong data augmentations. In ICLR, 2022.
  6. Cordonnier et al., 2020] Jean-Baptiste Cordonnier, Andreas Loukas, and Martin Jaggi. On the relationship between self-attention and convolutional layers. In ICLR, 2020.
  7. De and Smith, 2020] Soham De and Sam Smith. Batch normalization biases residual blocks towards the identity function in deep networks. In NeurIPS, 2020.
  8. Foret et al., 2021] Pierre Foret, Ariel Kleiner, et al. Sharpness-aware minimization for efficiently improving generalization. In ICLR, 2021.
  9. Ham et al., 2020] Tae Jun Ham, Sung Jun Jung, et al. Aˆ 3: Accelerating attention mechanisms in neural networks with approximation. In HPCA, 2020.
  10. Ham et al., 2021] Tae Jun Ham, Yejin Lee, et al. Elsa: Hardware-software co-design for efficient, lightweight self-attention mechanism in neural networks. In ISCA, 2021.
  11. Neil Houlsby, Andrei Giurgiu, et al. Parameter-efficient transfer learning for nlp. In ICML, 2019.
  12. Edward J Hu, yelong shen, et al. Lora: Low-rank adaptation of large language models. In ICLR, 2022.
  13. Yanping Huang, Youlong Cheng, et al. Gpipe: Efficient training of giant neural networks using pipeline parallelism. In NeurIPS, 2019.
  14. Xiao Shi Huang, Felipe Perez, et al. Im- proving transformer optimization through better initializa- tion. In ICML, 2020.
  15. Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie, Serge Belongie, Bharath Hariharan, and Ser-Nam Lim. Visual prompt tuning. In ECCV, 2022.
  16. Katharopoulos and Fleuret, 2018] Angelos Katharopoulos and Franc ¸ois Fleuret. Not all samples are created equal: Deep learning with importance sampling. In ICML, 2018.
  17. Li and Liang, 2018] Yuanzhi Li and Yingyu Liang. Learn- ing overparameterized neural networks via stochastic gra- dient descent on structured data. In NeurIPS, 2018.
  18. Yurii Nesterov. A method for uncon- strained convex minimization problem with the rate of convergence o (1/kˆ2). In Doklady ANSSSR, volume 269, pages 543-547, 1983.
  19. Paul et al., 2021] Mansheej Paul, Surya Ganguli, et al. Deep learning on a data diet: Finding important examples early in training. In NeurIPS, 2021.
  20. Alec Radford, Jong Wook Kim, et al. Learning transferable visual models from natural language supervision. In ICML, 2021.
  21. Jeff Rasley, Samyam Rajbhandari, Olatunji Ruwase, and Yuxiong He. Deepspeed: System optimizations enable training deep learning models with over 100 billion parameters. In KDD, 2020.
  22. Roy Schwartz, Jesse Dodge, Noah A Smith, and Oren Etzioni. Green ai. Communications of the ACM, 2020.
  23. David So, Quoc Le, and Chen Liang. The evolved transformer. In ICML, pages 5877-5886, 2019.
  24. Touvron et al., 2021b] Hugo Touvron, Matthieu Cord, et al. Training data-efficient image transformers & distillation through attention. In ICML, 2021.
  25. Ashish Vaswani, Noam Shazeer, et al. Attention is all you need. In NeurIPS, 2017.
  26. Wang et al., 2018] Naigang Wang, Jungwook Choi, et al. Training deep neural networks with 8-bit floating point numbers. In NeurIPS, 2018.
  27. Wang et al., 2020] Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. In ICLR, 2020.
  28. Yang You, Jing Li, et al. Large batch op- timization for deep learning: Training bert in 76 minutes. In ICLR, 2019.
  29. Zhang and He, 2020] Minjia Zhang and Yuxiong He. Ac- celerating training of transformer-based language models with progressive layer dropping. In NeurIPS, 2020.
  30. Zhang et al., 2019a] Hongyi Zhang, Yann N Dauphin, and Tengyu Ma. Fixup initialization: Residual learning with- out normalization. In ICLR, 2019.

Cited by

Sorted by citations

Authors
Zhuang, B., Liu, J., Pan, Z., He, H., Weng, Y., & Shen, C.
Affiliations
Monash University (AU)
Venue
Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence
Published
2023-08
Pages
6823-6831
OpenAlex
W4385764034
Cited by
78
References
87
Citations by year
2026: 15 · 2025: 33 · 2024: 20 · 2023: 10
FWCI
8.30
Type
conference paper
Language
en
Open access
Locations
  • International Joint Conference on Artificial Intelligence (publishedVersion)
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • Monash University Research Portal (Monash University) (submittedVersion, other-oa)
  • arXiv (Cornell University) (cc-by)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
Keywords
training acceleration, hardware acceleration, memory efficiency, computation cost reduction, hardware-software co-design, large language models

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-09.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-09.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review