Selecting Large Language Model to Fine-tune via Rectified Scaling Law
Lin, Haowei, Huang, Baizhou, Ye, Haotian, Chen, Qinyu, Wang, Zihao, Li, Sujian, Ma, Jianzhu, Wan, Xiaojun, Zou, James, Liang, Yitao
–arXiv.org Artificial Intelligence
The ever-growing ecosystem of LLMs has posed a challenge in selecting the most appropriate pre-trained model to fine-tune amidst a sea of options. Given constrained resources, fine-tuning all models and making selections afterward is unrealistic. In this work, we formulate this resource-constrained selection task into predicting fine-tuning performance and illustrate its natural connection with scaling laws. Unlike pre-training, We find that the fine-tuning scaling curve includes not just the well-known "power phase" but also the previously unobserved "pre-power phase". We also explain why existing scaling laws fail to capture this phase transition phenomenon both theoretically and empirically. To address this, we introduce the concept of "pre-learned data size" into our rectified scaling law, which overcomes theoretical limitations and fits experimental results much better. By leveraging our law, we propose a novel LLM selection algorithm that selects the near-optimal model with hundreds of times less resource consumption, while other methods may provide negatively correlated selection.
arXiv.org Artificial Intelligence
Feb-3-2024
- Country:
- Africa > South Africa (0.04)
- North America > United States
- California > Santa Clara County > Palo Alto (0.04)
- Europe
- United Kingdom (0.04)
- Russia (0.04)
- Monaco (0.04)
- Asia
- Russia (0.14)
- Middle East > Iraq (0.04)
- Philippines (0.04)
- China
- Hong Kong (0.04)
- Guangxi Province > Nanning (0.04)
- Genre:
- Research Report > New Finding (0.92)
- Industry:
- Government (1.00)
- Energy (0.92)
- Law (0.68)
- Technology: