When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method
Abstract
While large language models (LLMs) often adopt finetuning to unlock their capabilities for downstream applications, our understanding on the inductive biases (especially the scaling properties) of different finetuning methods is still limited. To fill this gap, we conduct systematic experiments studying whether and how different scaling factors, including LLM model size, pretraining data size, new finetuning parameter size and finetuning data size, affect the finetuning performance. We consider two types of finetuning -- full-model tuning (FMT) and parameter efficient tuning (PET, including prompt tuning and LoRA), and explore their scaling behaviors in the data-limited regime where the LLM model size substantially outweighs the finetuning data size. Based on two sets of pretrained bilingual LLMs from 1B to 16B and experiments on bilingual machine translation and multilingual summarization benchmarks, we find that 1) LLM finetuning follows a powerbased multiplicative joint scaling law between finetuning data size and each other scaling factor; 2) LLM finetuning benefits more from LLM model scaling than pretraining data scaling, and PET parameter scaling is generally ineffective; and 3) the optimal finetuning method is highly task- and finetuning data-dependent. We hope our findings could shed light on understanding, selecting and developing LLM finetuning methods.
Community
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Scaling Laws for Downstream Task Performance of Large Language Models (2024)
- Selecting Large Language Model to Fine-tune via Rectified Scaling Law (2024)
- MAPLE: Multilingual Evaluation of Parameter Efficient Finetuning of Large Language Models (2024)
- Multitask Multilingual Model Adaptation with Featurized Low-Rank Mixtures (2024)
- Scaling Laws for Forgetting When Fine-Tuning Large Language Models (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
This paper was selected and reviewed at Harmonious as the spotlight paper for the week of February 26, 2024.
https://www.harmonious.ai/t/weekly-paper-roundup-scaling-laws-for-llm-fine-tuning-2-26-24/36
Authors: please comment/correct as appropriate.
Unleashing LLM Power: How Scaling and Finetuning Transform Performance
Links ๐:
๐ Subscribe: https://www.youtube.com/@Arxflix
๐ Twitter: https://x.com/arxflix
๐ LMNT (Partner): https://lmnt.com/
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper