Long Exposure:在 Shadowy Sparsity 下加速大语言模型的参数高效微调
Long Exposure: Accelerating Parameter-Efficient Fine-Tuning for LLMs under Shadowy Sparsity
AI总结:
该研究针对 PEFT 在微调中特有的 Shadowy Sparsity,提出 Long Exposure 系统,通过稀疏暴露、序列预测和动态感知算子实现最高 2.49 倍端到端加速。
摘要:
通过微调使预训练大语言模型(LLM)适应各种下游任务,对众多应用都至关重要。然而,参数高效微调(PEFT)技术的低效在时间投入和运营成本方面带来了重大挑战。本文首先引入一种细致的稀疏性形式,称为 Shadowy Sparsity;它在微调中具有独特性,且尚未在加速方面得到充分解决。在 Shadowy Sparsity 下,我们提出 Long Exposure,这是一个用于加速 LLM 的 PEFT 的高效系统。Long Exposure 包含三个关键组件:Shadowy-sparsity Exposer 采用延长的感知范围,以捕捉 Shadowy Sparsity 下更多的稀疏性细节;Sequence-oriented Predictor 提供高效而准确的预测,以处理大型序列输入和持续演化的参数;Dynamic-aware Operator 促进更结构化的计算模式和合并式内存访问,从而解决动态稀疏操作问题。大量评估表明,Long Exposure 优于最先进方法,在端到端微调中实现最高 2.49 倍的加速,为加速 LLM 的 PEFT 提供了富有前景的进展。
英文摘要:
The adaptation of pre-trained large language models (LLMs) to diverse downstream tasks via fine-tuning is critical for numerous applications. However, the inefficiency of parameter-efficient fine-tuning (PEFT) techniques presents significant challenges in terms of time investments and operational costs. In this paper, we first introduce a nuanced form of sparsity, termed Shadowy Sparsity, which is distinctive in fine-tuning and has not been adequately addressed for acceleration. Under Shadowy Sparsity, we propose Long Exposure, an efficient system to accelerate PEFT for LLMs. Long Exposure comprises three key components: Shadowy-sparsity Exposer employs a prolonged sensing range to capture more sparsity details under shadowy sparsity; Sequence-oriented Predictor provides efficient yet accurate predictions to handle large sequence inputs and constantly-evolving parameters; and Dynamic-aware Operator facilitates more structured computational patterns and coalesced memory accesses, addressing dynamic sparse operations. Extensive evaluations show that Long Exposure outperforms state-of-the-arts with up to a $2.49\times$ speedup in end-to-end fine-tuning, offering promising advancements in accelerating PEFT for LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。