mlsanityData to 14 Oct 2026

You Don't Need All Attentions: Distributed Dynamic Fine-Tuning for Foundation Models

arXiv 2504.12471 ↗First posted 16 Apr 2025cs.LG cs.DC cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

Fine-tuning plays a crucial role in adapting models to downstream tasks with minimal training efforts. However, the rapidly increasing size of foundation models poses a daunting challenge for accommodating foundation model fine-tuning in most commercial devices, which often have limited memory bandwidth. Techniques like model sharding and tensor parallelism address this issue by distributing computation across multiple devices to meet memory requirements. Nevertheless, these methods do not fully leverage their foundation nature in facilitating the fine-tuning process, resulting in high computational costs and imbalanced workloads. We introduce a novel Distributed Dynamic Fine-Tuning (D2FT) framework that strategically orchestrates operations across attention modules based on our observation that not all attention modules are necessary for forward and backward propagation in fine-tuning foundation models. Through three innovative selection strategies, D2FT significantly reduces the computational workload required for fine-tuning foundation models. Furthermore, D2FT addresses workload imbalances in distributed computing environments by optimizing these selection strategies via multiple knapsack optimization. Our experimental results demonstrate that the proposed D2FT framework reduces the training computational costs by 40% and training communication costs by 50% with only 1% to 2% accuracy drops on the CIFAR-10, CIFAR-100, and Stanford Cars datasets. Moreover, the results show that D2FT can be effectively extended to recent LoRA, a state-of-the-art parameter-efficient fine-tuning technique. By reducing 40% computational cost or 50% communication cost, D2FT LoRA top-1 accuracy only drops 4% to 6% on Stanford Cars dataset.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 35 of its 48 references that are in the map. First posted on arXiv 16 Apr 2025.

Builds on

35 of 48 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  9. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  10. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  12. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
23 more
  1. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  2. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  3. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  4. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  5. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  6. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  7. 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 812
  8. 2021Transformer in Transformercited by 633
  9. 2020Picking Winning Tickets Before Training by Preserving Gradient Flowcited by 471
  10. 2021Hash Layers For Large Sparse Modelscited by 237
  11. 2016Dynamic Network Surgery for Efficient DNNscited by 233
  12. 2020Dynamic Model Pruning with Feedbackcited by 125
  13. 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 113
  14. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
  15. 2022Decentralized Training of Foundation Models in Heterogeneous Environmentscited by 87
  16. 2019Decoupled Greedy Learning of CNNscited by 78
  17. 2023FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placementcited by 53
  18. 2017Compression-aware Training of Deep Networkscited by 46
  19. 2021Efficient Lottery Ticket Finding: Less Data is Morecited by 44
  20. 2020The Lottery Ticket Hypothesis for Object Recognitioncited by 34
  21. 2021Maximizing Parallelism in Distributed Training for Huge Neural Networkscited by 23
  22. 2019Distributed Learning of Deep Neural Networks using Independent Subnet Trainingcited by 20
  23. 2022Where to Pay Attention in Sparse Training for Feature Selection?cited by 15

Built on by

Not cited yet.