arXiv:2410.09103cs.LGcs.AI2024-10ACL被引 10

用余弦投影实现极小参数高效微调,精度与效率双提升

MaCP: Minimal yet Mighty Adaptation via Hierarchical Cosine Projection

  • 将低秩适配权重投影到余弦空间,分层筛选关键频率成分
  • 在多模态任务上精度优于现有方法,计算量和内存降低超50%
  • 适合资源受限场景下大模型微调,如移动端或边缘设备

我们提出一种新适配方法MaCP(Minimal yet Mighty adaptive Cosine Projection),可在极少参数和内存开销下实现大基础模型的高效微调。其核心思想是利用余弦投影的优异能量集中与去相关特性,提升模型效率与精度。具体而言,将低秩适配产生的权重变化投影至离散余弦空间,并按频谱层级划分,仅保留各层级最关键的频率成分。大量实验表明,MaCP在单模态任务(如自然语言理解、生成、摘要)及多模态任务(如图像分类、视频理解)中均表现卓越,相较现有方法显著提升精度,同时大幅降低计算复杂度与内存占用。

原文摘要 · Abstract (English)

We present a new adaptation method MaCP, Minimal yet Mighty adaptive Cosine Projection, that achieves exceptional performance while requiring minimal parameters and memory for fine-tuning large foundation models. Its general idea is to exploit the superior energy compaction and decorrelation properties of cosine projection to improve both model efficiency and accuracy. Specifically, it projects the weight change from the low-rank adaptation into the discrete cosine space. Then, the weight change is partitioned over different levels of the discrete cosine spectrum, and each partition's most critical frequency components are selected. Extensive experiments demonstrate the effectiveness of MaCP across a wide range of single-modality tasks, including natural language understanding, natural language generation, text summarization, as well as multi-modality tasks such as image classification and video understanding. MaCP consistently delivers superior accuracy, significantly reduced computational complexity, and lower memory requirements compared to existing alternatives.

模型微调余弦投影低秩适配高效学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。