Assessing the Macro and Micro Effects of Random Seeds on Fine-Tuning Large Language Models
Zhou, Hao, Savova, Guergana, Wang, Lijing
–arXiv.org Artificial Intelligence
The impact of random seeds in fine-tuning large language models (LLMs) has been largely overlooked despite its potential influence on model performance.In this study, we systematically evaluate the effects of random seeds on LLMs using the GLUE and SuperGLUE benchmarks. We analyze the macro-level impact through traditional metrics like accuracy and F1, calculating their mean and variance to quantify performance fluctuations. To capture the micro-level effects, we introduce a novel metric, consistency, measuring the stability of individual predictions across runs. Our experiments reveal significant variance at both macro and micro levels, underscoring the need for careful consideration of random seeds in fine-tuning and evaluation.
arXiv.org Artificial Intelligence
Mar-10-2025
- Country:
- Europe (0.46)
- North America > United States
- Minnesota > Hennepin County > Minneapolis (0.14)
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Health & Medicine (0.68)
- Technology: