RankAdaptor:基于性能模型的剪枝大语言模型高效微调的分层秩分配方法
RankAdaptor: Hierarchical Rank Allocation for Efficient Fine-Tuning Pruned LLMs via Performance Model
AI总结:
针对剪枝LLM性能恢复不佳的问题,提出RankAdaptor分层秩分配方法,利用性能模型离线元学习与在线增量学习确定各层最优秩,在多种剪枝设置下性能提升0.7%-5.5%。
摘要:
大型语言模型(LLMs)的高效压缩已变得越来越流行。然而,恢复压缩后LLMs的性能仍然是一个重大挑战。当前LLM压缩的实践包括实施结构化剪枝,并辅以利用低秩适应(LoRA)算法的恢复阶段。结构化剪枝对模型架构的不均匀修改,加上标准LoRA在在线流程中跨层采用固定配置分配,导致剪枝模型在各种下游任务中性能次优。为解决这一挑战,我们引入了RankAdaptor,一种分层秩分配方法,能够根据逐层特定的恢复需求对剪枝后的LLMs进行高效微调。我们采用一个性能模型,该模型执行离线元学习和在线增量学习,以探索每层的最优秩值。在流行基准上的全面实验表明,RankAdaptor在各种剪枝设置和LLM架构下始终优于最先进的方法,改进幅度从0.7%到5.5%不等。
英文摘要:
The efficient compression of large language models (LLMs) has become increasingly popular. However, recovering the performance of compressed LLMs remains a major challenge. The current practice in LLM compression entails the implementation of structural pruning, complemented by a recovery phase that leverages the Low-Rank Adaptation (LoRA) algorithm. Structural pruning's uneven modification of model architecture, coupled with standard LoRA's fixed configuration allocation across layers in an online pipeline, leads to suboptimal performance in various downstream tasks for pruned models. To address this challenge, we introduce RankAdaptor, a hierarchical rank allocation method that enables efficient fine-tuning of pruned LLMs according to layerwise specific recovery requirements. We employ a performance model that conducts offline meta-learning and online incremental learning to explore optimal rank values for each layer. Comprehensive experiments on popular benchmarks show that RankAdaptor consistently outperforms state-of-the-art methods across a variety of pruning settings and LLM architectures, with improvements ranging from 0.7\% to 5.5\%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。