gzip 预测数据相关的缩放定律
gzip Predicts Data-dependent Scaling Laws
AI总结:
本研究通过调节PCFG复杂度生成训练数据,发现缩放定律对数据复杂度敏感,并提出基于gzip可压缩性的数据相关缩放定律,其计算最优前沿随数据难压缩而偏向数据集大小。
摘要:
过去的工作已经建立了缩放定律,这些定律将神经语言模型(LM)的性能预测为其参数数量和训练令牌数量的函数,从而能够对固定的计算预算进行最优分配。这些缩放定律是否像一些先前工作所暗示的那样,对训练数据不敏感?我们通过调节概率上下文无关文法(PCFG)的句法属性,生成了不同复杂度的训练数据集,发现:1)缩放定律对数据复杂度的差异敏感;2)gzip,一种压缩算法,是预测数据复杂度如何影响缩放性质的有效指标。我们提出了一种新的数据相关的缩放定律,该定律考虑了训练数据的gzip可压缩性;随着训练数据变得更难压缩,其计算最优前沿在数据集大小偏好(相对于参数数量偏好)上有所增加。
英文摘要:
Past work has established scaling laws that predict the performance of a neural language model (LM) as a function of its parameter count and the number of tokens it's trained on, enabling optimal allocation of a fixed compute budget. Are these scaling laws agnostic to training data as some prior work suggests? We generate training datasets of varying complexities by modulating the syntactic properties of a PCFG, finding that 1) scaling laws are sensitive to differences in data complexity and that 2) gzip, a compression algorithm, is an effective predictor of how data complexity impacts scaling properties. We propose a new data-dependent scaling law for LM's that accounts for the training data's gzip-compressibility; its compute-optimal frontier increases in dataset size preference (over parameter count preference) as training data becomes harder to compress.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。