评估随机种子对微调大语言模型的宏观与微观影响
Assessing the Macro and Micro Effects of Random Seeds on Fine-Tuning Large Language Models
AI总结:
本文系统评估随机种子对LLM微调的影响,在GLUE和SuperGLUE上从宏观指标方差与微观预测一致性两方面揭示显著波动,强调微调评估需重视随机种子。
摘要:
随机种子在微调大语言模型(LLMs)中的影响尽管可能对模型性能产生作用,但在很大程度上被忽视。在本研究中,我们使用GLUE和SuperGLUE基准系统地评估了随机种子对LLMs的影响。我们通过准确率和F1等传统指标分析宏观层面的影响,计算其均值和方差以量化性能波动。为了捕捉微观层面的影响,我们引入了一种新的指标——一致性(consistency),用于衡量单个预测在多次运行中的稳定性。我们的实验揭示了宏观和微观层面均存在显著方差,强调了在微调和评估中需要仔细考虑随机种子。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。