Saved in:
Bibliographic Details
Main Authors: Hu, Jiang, Li, Quanzheng
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.13128
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914721050918912
author Hu, Jiang
Li, Quanzheng
author_facet Hu, Jiang
Li, Quanzheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_13128
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AdaFish: Fast low-rank parameter-efficient fine-tuning by using second-order information
Hu, Jiang
Li, Quanzheng
Machine Learning
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.
title AdaFish: Fast low-rank parameter-efficient fine-tuning by using second-order information
topic Machine Learning
url https://arxiv.org/abs/2403.13128