我们得谈谈随机种子
We need to talk about random seeds
摘要:
现代神经网络库都采用随机种子作为超参数,通常用于确定模型参数的初始状态。这篇评论文章认为,随机种子有一些安全的用途:作为超参数搜索的一部分来选择一个好的模型,创建多个模型的集合,或者测量训练算法对随机种子超参数的敏感性。它认为,随机种子的某些用途是有风险的:使用固定的随机种子的“可复制性”和变化的随机种子,以创建分数分布的性能比较。对ACL Anthology最近85篇出版物的分析发现,超过50%的出版物包含随机种子的风险使用。
英文摘要:
Modern neural network libraries all take as a hyperparameter a random seed, typically used to determine the initial state of the model parameters. This opinion piece argues that there are some safe uses for random seeds: as part of the hyperparameter search to select a good model, creating an ensemble of several models, or measuring the sensitivity of the training algorithm to the random seed hyperparameter. It argues that some uses for random seeds are risky: using a fixed random seed for "replicability" and varying only the random seed to create score distributions for performance comparison. An analysis of 85 recent publications from the ACL Anthology finds that more than 50% contain risky uses of random seeds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。