Random Masking Finds Winning Tickets for Parameter Efficient Fine-tuning

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Xu, Jing, Zhang, Jingzhao
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910434993373184
author Xu, Jing
Zhang, Jingzhao
author_facet Xu, Jing
Zhang, Jingzhao
contents Fine-tuning large language models (LLM) can be costly. Parameter-efficient fine-tuning (PEFT) addresses the problems by training a fraction of the parameters, whose success reveals the expressiveness and flexibility of pretrained models. This paper studies the limit of PEFT, by further simplifying its design and reducing the number of trainable parameters beyond standard setups. To this end, we use Random Masking to fine-tune the pretrained model. Despite its simplicity, we show that Random Masking is surprisingly effective: with a larger-than-expected learning rate, Random Masking can match the performance of standard PEFT algorithms such as LoRA on various tasks, using fewer trainable parameters. We provide both empirical and theoretical explorations into the success of Random Masking. We show that masking induces a flatter loss landscape and more distant solutions, which allows for and necessitates large learning rates.
format Preprint
id arxiv_https___arxiv_org_abs_2405_02596
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Random Masking Finds Winning Tickets for Parameter Efficient Fine-tuning
Xu, Jing
Zhang, Jingzhao
Machine Learning
Artificial Intelligence
Computation and Language
Fine-tuning large language models (LLM) can be costly. Parameter-efficient fine-tuning (PEFT) addresses the problems by training a fraction of the parameters, whose success reveals the expressiveness and flexibility of pretrained models. This paper studies the limit of PEFT, by further simplifying its design and reducing the number of trainable parameters beyond standard setups. To this end, we use Random Masking to fine-tune the pretrained model. Despite its simplicity, we show that Random Masking is surprisingly effective: with a larger-than-expected learning rate, Random Masking can match the performance of standard PEFT algorithms such as LoRA on various tasks, using fewer trainable parameters. We provide both empirical and theoretical explorations into the success of Random Masking. We show that masking induces a flatter loss landscape and more distant solutions, which allows for and necessitates large learning rates.
title Random Masking Finds Winning Tickets for Parameter Efficient Fine-tuning
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2405.02596