DARE the Extreme: Revisiting Delta-Parameter Pruning For Fine-Tuned Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Deng, Wenlong, Zhao, Yize, Vakilian, Vala, Chen, Minghui, Li, Xiaoxiao, Thrampoulidis, Christos
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915250735939584
author Deng, Wenlong
Zhao, Yize
Vakilian, Vala
Chen, Minghui
Li, Xiaoxiao
Thrampoulidis, Christos
author_facet Deng, Wenlong
Zhao, Yize
Vakilian, Vala
Chen, Minghui
Li, Xiaoxiao
Thrampoulidis, Christos
contents Storing open-source fine-tuned models separately introduces redundancy and increases response times in applications utilizing multiple models. Delta-parameter pruning (DPP), particularly the random drop and rescale (DARE) method proposed by Yu et al., addresses this by pruning the majority of delta parameters--the differences between fine-tuned and pre-trained model weights--while typically maintaining minimal performance loss. However, DARE fails when either the pruning rate or the magnitude of the delta parameters is large. We highlight two key reasons for this failure: (1) an excessively large rescaling factor as pruning rates increase, and (2) high mean and variance in the delta parameters. To push DARE's limits, we introduce DAREx (DARE the eXtreme), which features two algorithmic improvements: (1) DAREx-q, a rescaling factor modification that significantly boosts performance at high pruning rates (e.g., >30 % on COLA and SST2 for encoder models, with even greater gains in decoder models), and (2) DAREx-L2, which combines DARE with AdamR, an in-training method that applies appropriate delta regularization before DPP. We also demonstrate that DAREx-q can be seamlessly combined with vanilla parameter-efficient fine-tuning techniques like LoRA and can facilitate structural DPP. Additionally, we revisit the application of importance-based pruning techniques within DPP, demonstrating that they outperform random-based methods when delta parameters are large. Through this comprehensive study, we develop a pipeline for selecting the most appropriate DPP method under various practical scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2410_09344
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DARE the Extreme: Revisiting Delta-Parameter Pruning For Fine-Tuned Models
Deng, Wenlong
Zhao, Yize
Vakilian, Vala
Chen, Minghui
Li, Xiaoxiao
Thrampoulidis, Christos
Machine Learning
Artificial Intelligence
Computation and Language
Storing open-source fine-tuned models separately introduces redundancy and increases response times in applications utilizing multiple models. Delta-parameter pruning (DPP), particularly the random drop and rescale (DARE) method proposed by Yu et al., addresses this by pruning the majority of delta parameters--the differences between fine-tuned and pre-trained model weights--while typically maintaining minimal performance loss. However, DARE fails when either the pruning rate or the magnitude of the delta parameters is large. We highlight two key reasons for this failure: (1) an excessively large rescaling factor as pruning rates increase, and (2) high mean and variance in the delta parameters. To push DARE's limits, we introduce DAREx (DARE the eXtreme), which features two algorithmic improvements: (1) DAREx-q, a rescaling factor modification that significantly boosts performance at high pruning rates (e.g., >30 % on COLA and SST2 for encoder models, with even greater gains in decoder models), and (2) DAREx-L2, which combines DARE with AdamR, an in-training method that applies appropriate delta regularization before DPP. We also demonstrate that DAREx-q can be seamlessly combined with vanilla parameter-efficient fine-tuning techniques like LoRA and can facilitate structural DPP. Additionally, we revisit the application of importance-based pruning techniques within DPP, demonstrating that they outperform random-based methods when delta parameters are large. Through this comprehensive study, we develop a pipeline for selecting the most appropriate DPP method under various practical scenarios.
title DARE the Extreme: Revisiting Delta-Parameter Pruning For Fine-Tuned Models
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2410.09344