mlsanityData to 14 Oct 2026

Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Model

arXiv 2305.15265 ↗First posted 24 May 2023cs.LG cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

With the rapid growth in model size, fine-tuning the large pre-trained language model has become increasingly difficult due to its extensive memory usage. Previous works usually focus on reducing the number of trainable parameters in the network. While the model parameters do contribute to memory usage, the primary memory bottleneck during training arises from storing feature maps, also known as activations, as they are crucial for gradient calculation. Notably, neural networks are usually trained using stochastic gradient descent. We argue that in stochastic optimization, models can handle noisy gradients as long as the gradient estimator is unbiased with reasonable variance. Following this motivation, we propose a new family of unbiased estimators called WTA-CRS, for matrix production with reduced variance, which only requires storing the sub-sampled activations for calculating the gradient. Our work provides both theoretical and experimental evidence that, in the context of tuning transformers, our proposed estimators exhibit lower variance compared to existing ones. By replacing the linear operation with our approximated one in transformers, we can achieve up to 2.7× peak memory reduction with almost no accuracy drop and enables up to 6.4× larger batch size. Under the same hardware, WTA-CRS enables better down-streaming task performance by applying larger models and/or faster training speed with larger batch sizes.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 38 of its 54 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

38 of 54 references.

References · 38

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  7. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  8. 2020Scaling Laws for Neural Language Modelscited by 6,586
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  10. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  11. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  12. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
26 more
  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  2. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
  3. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  4. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  5. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  6. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  7. 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 460
  8. 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 411
  9. 2022LST: Ladder Side-Tuning for Parameter and Memory Efficient Transfer Learningcited by 230
  10. 2023Data-centric Artificial Intelligence: A Surveycited by 203
  11. 2023The Science of Detecting LLM-Generated Textscited by 128
  12. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
  13. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
  14. 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
  15. 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
  16. 2020Dynamic Tensor Rematerializationcited by 46
  17. 2022GACT: Activation Compressed Training for Generic Network Architecturescited by 31
  18. 2023Compress, Then Prompt: Improving Accuracy-Efficiency Trade-off of LLM Inference with Transferable Promptcited by 28
  19. 2020Randomized Automatic Differentiationcited by 23
  20. 2021DivAug: Plug-in Automated Data Augmentation with Explicit Diversity Maximizationcited by 15
  21. 2018Faster Neural Network Training with Approximate Tensor Operationscited by 14
  22. 2023Efficient XAI Techniques: A Taxonomic Surveycited by 14
  23. 2022Minimum Variance Unbiased N:M Sparsity for the Neural Gradientscited by 9
  24. 2022BED: A Real-Time Object Detection System for Edge Devicescited by 6
  25. 2020Towards Interaction Detection Using Topological Analysis on Neural Networkscited by 5
  26. 2022Tempo: Accelerating Transformer-Based Model Training through Memory Footprint Reductioncited by 4

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 2; 2025: 4.

9 papers.