paper-with-me

홈 › Papers

Sheared Backpropagation for Fine-tuning Foundation Models

2024-01-01 · CVPR 2024 1 · Zhiyuan Yu, Li Shen, Liang Ding, Xinmei Tian, Yixin Chen, DaCheng Tao

Fine-tuning is the process of extending the training of pre-trained models on specific target tasks thereby significantly enhancing their performance across various applications. However fine-tuning often demands large memory consumption posing a challenge for low-memory devices that some previous memory-efficient fine-tuning methods attempted to mitigate by pruning activations for gradient computation albeit at the cost of significant computational overhead from the pruning processes during training. To address these challenges we introduce PreBackRazor a novel activation pruning scheme offering both computational and memory efficiency through a sparsified backpropagation strategy which judiciously avoids unnecessary activation pruning and storage and gradient computation. Before activation pruning our approach samples a probability of selecting a portion of parameters to freeze utilizing a bandit method for updates to prioritize impactful gradients on convergence. During the feed-forward pass each model layer adjusts adaptively based on parameter activation status obviating the need for sparsification and storage of redundant activations for subsequent backpropagation. Benchmarking on fine-tuning foundation models our approach maintains baseline accuracy across diverse tasks yielding over 20% speedup and around 10% memory reduction. Moreover integrating with an advanced CUDA kernel achieves up to 60% speedup without extra memory costs or accuracy loss significantly enhancing the efficiency of fine-tuning foundation models on memory-constrained devices.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Benchmarking

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

ShortFT: Diffusion Model Alignment via Shortcut-based Fine-Tuning

2025-07-30 · Xiefan Guo, Miaomiao Cui, Liefeng Bo, Di Huang arxiv

Backpropagation-based approaches aim to align diffusion models with reward functions through end-to-end backpropagation of the reward gradient within the denoising chain, offering a promising perspective. However, due to…

Tactile Image-to-Image Disentanglement of Contact Geometry from Motion-Induced Shear

2021-09-08 · Anupam K. Gupta, Laurence Aitchison, Nathan F. Lepora

Robotic touch, particularly when using soft optical tactile sensors, suffers from distortion caused by motion-dependent shear. The manner in which the sensor contacts a stimulus is entangled with the tactile information …

DisentanglementObject Reconstruction

Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning

2023-10-10 · Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi Chen

The popularity of LLaMA (Touvron et al., 2023a;b) and other recently emerged moderate-sized large language models (LLMs) highlights the potential of building smaller yet powerful LLMs. Regardless, the cost of training su…

Language ModelingLanguage ModellingQuestion AnsweringSentence Completion

RoRA: Efficient Fine-Tuning of LLM with Reliability Optimization for Rank Adaptation

2025-01-08 · Jun Liu, Zhenglun Kong, Peiyan Dong, Changdi Yang 외

Fine-tuning helps large language models (LLM) recover degraded information and enhance task performance. Although Low-Rank Adaptation (LoRA) is widely used and effective for fine-tuning, we have observed that its scaling…

Resource-Efficient Transfer Learning From Speech Foundation Model Using Hierarchical Feature Fusion

2022-11-04 · Zhouyuan Huo, Khe Chai Sim, Bo Li, Dongseong Hwang 외

Self-supervised pre-training of a speech foundation model, followed by supervised fine-tuning, has shown impressive quality improvements on automatic speech recognition (ASR) tasks. Fine-tuning separate foundation models…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)parameter-efficient fine-tuningspeech-recognition+2