arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.13128cs.LG
收藏

AdaFish:利用二阶信息实现快速低秩参数高效微调

AdaFish: Fast low-rank parameter-efficient fine-tuning by using second-order information

Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院)

Jiang Hu, Quanzheng Li

AI总结:

本文提出AdaFish算法,利用二阶信息加速低秩分解框架的参数高效微调,证明其全局收敛性,并在数值实验中表现出与AdamW方法相当的竞争力。

摘要:

大规模预训练模型的最新进展显著提升了自然语言处理和计算机视觉中各种任务的性能。然而,这些模型中大量的参数在完全训练时需要大量的内存和计算资源。为了将这些模型适配于下游任务或特定应用导向的数据集,利用预训练参数的参数高效微调方法受到了广泛关注。然而,由于大量的参数和训练轮数,这仍然可能很耗时。在这项工作中,我们引入了AdaFish,一种二阶类型的高效算法,旨在加速基于低秩分解的微调框架中的训练过程。我们的关键观察是,相关的广义Fisher信息矩阵要么是低秩的,要么是极小规模的。这样的广义Fisher信息矩阵被证明等价于Hessian矩阵。此外,我们证明了AdaFish的全局收敛性及其迭代/预言机复杂度。数值实验表明,我们的算法与最先进的AdamW方法相当具有竞争力。

英文摘要:

Recent advancements in large-scale pretrained models have significantly improved performance across a variety of tasks in natural language processing and computer vision. However, the extensive number of parameters in these models necessitates substantial memory and computational resources for full training. To adapt these models for downstream tasks or specific application-oriented datasets, parameter-efficient fine-tuning methods leveraging pretrained parameters have gained considerable attention. However, it can still be time-consuming due to lots of parameters and epochs. In this work, we introduce AdaFish, an efficient algorithm of the second-order type designed to expedite the training process within low-rank decomposition-based fine-tuning frameworks. Our key observation is that the associated generalized Fisher information matrix is either low-rank or extremely small-scaled. Such a generalized Fisher information matrix is shown to be equivalent to the Hessian matrix. Moreover, we prove the global convergence of AdaFish, along with its iteration/oracle complexity. Numerical experiments show that our algorithm is quite competitive with the state-of-the-art AdamW method.

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

↑