arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.01365cs.LG
收藏

计算最优神经缩放定律的信息论分析

An Information-Theoretic Analysis of Compute-Optimal Neural Scaling Laws

Stanford University(斯坦福大学)

Hong Jun Jeon, Benjamin Van Roy

AI总结:

本文研究大型神经网络模型与数据集大小的计算最优权衡,通过简化的神经网络模型推导出信息论期望误差上界及最优计算分配,证实了渐近线性缩放并指出随输入复杂度增长应增加模型而非数据的计算预算分配。

摘要:

我们研究大型神经网络的模型与训练数据集大小之间的计算最优权衡。我们的结果暗示了一种类似于 chinchilla 的实证分析所支持的线性关系。虽然那项工作研究在 MassiveText 语料库 gopher 上训练的基于 transformer 的大型语言模型,但作为发展数学理论的起点,我们关注更简单的学习模型和数据生成过程,它们各自基于具有 sigmoidal 输出单元和单层 ReLU 激活单元隐藏层的神经网络。我们为一类增量更新统计量的算法(例如 gradient descent)引入了通用误差上界。对于受 barron 1993 启发的特定学习模型,我们建立了作为模型和数据集大小函数的最小信息论可达期望误差的上界。随后我们推导出最小化该边界的计算分配方案。我们给出的实证结果表明,该近似正确识别了渐近线性的计算最优缩放。该近似还带来了新见解:它表明,随着输入维度或潜在空间复杂度增长(例如将更长的 token 历史作为语言模型输入时),更大比例的计算预算应分配给扩大学习模型而非训练数据。

英文摘要:

We study the compute-optimal trade-off between model and training data set sizes for large neural networks. Our result suggests a linear relation similar to that supported by the empirical analysis of chinchilla. While that work studies transformer-based large language models trained on the MassiveText corpus gopher, as a starting point for development of a mathematical theory, we focus on a simpler learning model and data generating process, each based on a neural network with a sigmoidal output unit and single hidden layer of ReLU activation units. We introduce general error upper bounds for a class of algorithms which incrementally update a statistic (for example gradient descent). For a particular learning model inspired by barron 1993, we establish an upper bound on the minimal information-theoretically achievable expected error as a function of model and data set sizes. We then derive allocations of computation that minimize this bound. We present empirical results which suggest that this approximation correctly identifies an asymptotic linear compute-optimal scaling. This approximation also generates new insights. Among other things, it suggests that, as the input dimension or latent space complexity grows, as might be the case for example if a longer history of tokens is taken as input to a language model, a larger fraction of the compute budget should be allocated to growing the learning model rather than training data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑