Lune

NeurIPS2023顶会

Make Pre-trained Model Reversible: From Parameter to Memory Efficient Fine-Tuning

Baohao Liao, Shaomu Tan, Christof Monz

摘要

Parameter-efficient fine-tuning (PEFT) of pre-trained language models (PLMs) has emerged as a highly successful approach, with training only a small number of parameters without sacrificing performance and becoming the de-facto learning paradigm with the increasing size of PLMs. However, existing PEFT methods are not memory-efficient, because they still require caching most of the intermediate activations for the gradient calculation, akin to fine-tuning. One effective way to reduce the activation memory is to apply a reversible model, so the intermediate activations are not necessary to be cached and can be recomputed. Nevertheless, modifying a PLM to its reversible variant is not straightforward, since the reversible model has a distinct architecture from the currently released PLMs. In this paper, we first investigate what is a key factor for the success of existing PEFT methods, and realize that it's essential to preserve the PLM's starting point when initializing a PEFT method. With this finding, we propose memory-efficient fine-tuning (MEFT) that inserts adapters into a PLM, preserving the PLM's starting point and making it reversible without additional pre-training. We evaluate MEFT on the GLUE benchmark and five question-answering tasks with various backbones, BERT, RoBERTa, BART and OPT. MEFT significantly reduces the activation memory up to 84% of full fine-tuning with a negligible amount of trainable parameters. Moreover, MEFT achieves the same score on GLUE and a comparable score on the question-answering tasks as full fine-tuning. A similar finding is also observed for the image classification task. 1

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • 3-in-1: 2D Rotary Adaptation for Efficient Finetuning, Efficient Batching and Composability 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
  • QLoRA: Efficient Finetuning of Quantized LLMs 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • QLoRA: Efficient Finetuning of Quantized LLMs 引用了 Finetuned Language Models are Zero-Shot Learners
  • QStore: Quantization-Aware Compressed Model Storage 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
  • QStore: Quantization-Aware Compressed Model Storage 引用了 Finetuned Language Models are Zero-Shot Learners
  • Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and Inference 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and Inference 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
  • Finetuned Language Models are Zero-Shot Learners 引用了 Language Models are Few-Shot Learners
  • MEFT: Memory-Efficient Fine-Tuning through Sparse Adapter 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • MEFT: Memory-Efficient Fine-Tuning through Sparse Adapter 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
  • MEFT: Memory-Efficient Fine-Tuning through Sparse Adapter 引用了 Language Models are Few-Shot Learners
  • DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. 3-in-1: 2D Rotary Adaptation for Efficient Finetuning, Efficient Batching and ComposabilityBaohao Liao, Christof MonzNeurIPS 2024 · 14 次引用
  2. MEFT: Memory-Efficient Fine-Tuning through Sparse AdapterJitai Hao, Weiwei Sun, Xin Xin, Qi Meng 等ACL 2024 · 4 次引用
  3. DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language ModelsYanming Liu, Xinyue Peng, Yuwei Zhang, Xiaolan Ke 等AAAI 2025 · 4 次引用
  4. QStore: Quantization-Aware Compressed Model StorageRaunak Shah, Zhaoheng Li, Yongjoo ParkVLDB 2026 · 3 次引用
  5. Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and InferenceSiyuan Wang, Dianyi Wang, Chengxing Zhou, Zejun Li 等ACL 2025 · 3 次引用

它引用的 Paper27

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  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. QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用
  5. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用

相关 Paper

  1. Parameter-Efficient Fine-Tuning without Introducing New LatencyBaohao Liao, Yan Meng, Christof MonzACL 2023 · 26 次引用
  2. Light-PEFT: Lightening Parameter-Efficient Fine-Tuning via Early PruningNaibin Gu, Peng Fu, Xiyu Liu, Bowen Shen 等ACL Findings 2024 · 9 次引用
  3. PrefixMemory-Tuning: Modernizing Prefix-Tuning by Decoupling the Prefix from AttentionHaonan Wang, Brian K Chen, Siquan Li, Liang Xinhe 等ICLR 2026 · 5 次引用
  4. Sparsity May Be All You Need: Sparse Random Parameter AdaptationJesus Rios, Pierre L. Dognin, Ronny Luss, Karthikeyan Natesan RamamurthyEMNLP Findings 2025
  5. From PEFT to DEFT: Parameter Efficient Finetuning for Reducing Activation Density in TransformersBharat Runwal, Tejaswini Pedapati, Pin-Yu ChenAAAI 2025 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖