Saved in:
Bibliographic Details
Main Authors: Tribes, Christophe, Benarroch-Lelong, Sacha, Lu, Peng, Kobyzev, Ivan
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.00949
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909089114619904
author Tribes, Christophe
Benarroch-Lelong, Sacha
Lu, Peng
Kobyzev, Ivan
author_facet Tribes, Christophe
Benarroch-Lelong, Sacha
Lu, Peng
Kobyzev, Ivan
contents The fine-tuning of Large Language Models (LLMs) has enabled them to recently achieve milestones in natural language processing applications. The emergence of ever larger LLMs has paved the way for more efficient fine-tuning methods. Among these, the Low-Rank Adaptation (LoRA) method keeps most of the weights of the pre-trained LLM frozen while introducing a low-rank decomposition of the weight matrix, enabling the tuning of only a very small proportion of the network. The performance on downstream tasks of models fine-tuned with LoRA heavily relies on a set of hyperparameters including the rank of the decomposition. In this work, we investigate the choice of these hyperparameters through two main blackbox optimization (BBO) techniques. We examine the whole pipeline of performing fine-tuning and validation on a pre-trained LLM as a blackbox and efficiently explore the space of hyperparameters with the \nomad algorithm, achieving a boost in performance and human alignment of the tuned model.
format Preprint
id arxiv_https___arxiv_org_abs_2312_00949
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Hyperparameter Optimization for Large Language Model Instruction-Tuning
Tribes, Christophe
Benarroch-Lelong, Sacha
Lu, Peng
Kobyzev, Ivan
Computation and Language
Optimization and Control
The fine-tuning of Large Language Models (LLMs) has enabled them to recently achieve milestones in natural language processing applications. The emergence of ever larger LLMs has paved the way for more efficient fine-tuning methods. Among these, the Low-Rank Adaptation (LoRA) method keeps most of the weights of the pre-trained LLM frozen while introducing a low-rank decomposition of the weight matrix, enabling the tuning of only a very small proportion of the network. The performance on downstream tasks of models fine-tuned with LoRA heavily relies on a set of hyperparameters including the rank of the decomposition. In this work, we investigate the choice of these hyperparameters through two main blackbox optimization (BBO) techniques. We examine the whole pipeline of performing fine-tuning and validation on a pre-trained LLM as a blackbox and efficiently explore the space of hyperparameters with the \nomad algorithm, achieving a boost in performance and human alignment of the tuned model.
title Hyperparameter Optimization for Large Language Model Instruction-Tuning
topic Computation and Language
Optimization and Control
url https://arxiv.org/abs/2312.00949