Lune

NeurIPS2022顶会

LST: Ladder Side-Tuning for Parameter and Memory Efficient Transfer Learning

Yi-Lin Sung, Jaemin Cho, Mohit Bansal

摘要

Fine-tuning large pre-trained models on downstream tasks has been adopted in a variety of domains recently. However, it is costly to update the entire parameter set of large pre-trained models. Although recently proposed parameter-efficient transfer learning (PETL) techniques allow updating a small subset of parameters (e.g. only using 2% of parameters) inside a pre-trained backbone network for a new task, they only reduce the training memory requirement by up to 30%. This is because the gradient computation for the trainable parameters still requires backpropagation through the large pre-trained backbone model. To address this, we propose Ladder Side-Tuning (LST), a new PETL technique that can reduce training memory requirements by more substantial amounts. Unlike existing parameter-efficient methods that insert additional parameters inside backbone networks, we train a ladder side network, a small and separate network that takes intermediate activations as input via shortcut connections (called ladders) from backbone networks and makes predictions. LST has significantly lower memory requirements than previous methods, because it does not require backpropagation through the backbone network, but instead only through the side network and ladder connections. We evaluate our method with various models (T5 and CLIP-T5) on both natural language processing (GLUE) and vision-and-language (VQA, GQA, NLVR 2 , MSCOCO) tasks. LST saves 69% of the memory costs to fine-tune the whole network, while other methods only save 26% of that in similar parameter usages (hence, 2.7x more memory savings). Moreover, LST achieves higher accuracy than Adapter and LoRA in a low-memory regime. To further show the advantage of this better memory efficiency, we also apply LST to larger T5 models (T5-large, T5-3B), attaining better GLUE performance than full fine-tuning and other PETL methods. The trend also holds in the experiments on vision-and-language tasks, where LST achieves similar accuracy to other PETL methods when training a similar number of parameters while also having 2.7x more memory savings. 1

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 96 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Parameter-Efficient Orthogonal Finetuning via Butterfly Factorization 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Parameter-Efficient Orthogonal Finetuning via Butterfly Factorization 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • ReLoRA: High-Rank Training Through Low-Rank Updates 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • BEiT: BERT Pre-Training of Image Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Sensitivity-Aware Visual Parameter-Efficient Fine-Tuning 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Sensitivity-Aware Visual Parameter-Efficient Fine-Tuning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper96

  1. Augmenting Language Models with Long-Term MemoryWeizhi Wang, Li Dong, Hao Cheng, Xiaodong Liu 等NeurIPS 2023 · 256 次引用
  2. ReLoRA: High-Rank Training Through Low-Rank UpdatesVladislav Lialin, Sherin Muckatira, Namrata Shivagunde, Anna RumshiskyICLR 2024 · 214 次引用
  3. LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language ModelsZhiqiang Hu, Lei Wang, Yihuai Lan, Wanyu Xu 等EMNLP 2023 · 200 次引用
  4. Parameter-Efficient Orthogonal Finetuning via Butterfly FactorizationWeiyang Liu, Zeju Qiu, Yao Feng, Yuliang Xiu 等ICLR 2024 · 111 次引用
  5. Sensitivity-Aware Visual Parameter-Efficient Fine-TuningHaoyu He, Jianfei Cai, Jing Zhang, Dacheng Tao 等ICCV 2023 · 97 次引用

它引用的 Paper22

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  4. BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 次引用
  5. Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用

相关 Paper

  1. Parameter-efficient is not Sufficient: Exploring Parameter, Memory, and Time Efficient Adapter Tuning for Dense PredictionsDongshuo Yin, Xueting Han, Bin Li, Hao Feng 等ACM MM 2024 · 18 次引用
  2. Parameter-efficient Tuning for Large Language Model without Calculating Its GradientsFeihu Jin, Jiajun Zhang, Chengqing ZongEMNLP 2023 · 2 次引用
  3. UniPT: Universal Parallel Tuning for Transfer Learning with Efficient Parameter and MemoryHaiwen Diao, Bo Wan, Ying Zhang, Xu Jia 等CVPR 2024
  4. DTL: Disentangled Transfer Learning for Visual RecognitionMinghao Fu, Ke Zhu, Jianxin WuAAAI 2024 · 28 次引用
  5. One Network, Many Masks: Towards More Parameter-Efficient Transfer LearningGuangtao Zeng, Peiyuan Zhang, Wei LuACL 2023 · 8 次引用
黄昏的海面,两侧是细线勾勒的悬崖