arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09103cs.LGcs.AI
收藏

MaCP:通过分层余弦投影实现极简而强大的自适应

MaCP: Minimal yet Mighty Adaptation via Hierarchical Cosine Projection

University of Amsterdam(阿姆斯特丹大学)

Yixian Shen, Qi Bi, Jia-Hong Huang, Hongyi Zhu, Andy D. Pimentel, Anuj Pathania

AI总结:

提出自适应方法MaCP,利用分层离散余弦投影压缩低秩自适应的权重变化,以极少参数和内存微调大型基础模型,在多模态及单模态任务中均实现更高精度与更低开销。

摘要:

我们提出了一种新的自适应方法 MaCP(极简而强大的自适应余弦投影),它在微调大型基础模型时只需最少的参数和内存,即可实现卓越的性能。其总体思路是利用余弦投影出色的能量压缩和去相关特性,来同时提升模型的效率和准确率。具体而言,它将来自低秩自适应的权重变化投影到离散余弦空间中。随后,该权重变化在离散余弦频谱的不同层级上进行划分,并选取每个划分中最关键的频率成分。大量实验证明了 MaCP 在广泛的单模态任务中的有效性,包括自然语言理解、自然语言生成、文本摘要,以及图像分类和视频理解等多模态任务。与现有替代方案相比,MaCP 始终提供更高的准确率、显著降低的计算复杂度以及更低的内存需求。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑