Chinchilla方法2的问题2:等效FLOP拟合中的系统性偏差
Problems with Chinchilla Approach 2: Systematic Biases in IsoFLOP Parabola Fits
AI总结:
本文研究了Chinchilla方法2在拟合神经网络扩展定律时的系统性偏差,指出其在无噪声合成数据中仍存在偏差,影响参数分配,并提出通过变量投影方法改进。
摘要:
Chinchilla方法2是拟合神经网络扩展定律最广泛使用的方法之一。其抛物线近似在计算最优分配估计中引入了系统性偏差,即使在无噪声合成数据上也是如此。应用于公开发布的Llama 3等效FLOP数据时,这些偏差意味着参数低估,相当于3.8×10^25 FLOP训练预算的6.5%,以及约140万美元(90%置信区间:412,000美元-290万美元)的不必要的计算量(在50% H100 MFU下)。模拟的多模态模型误分配显示由于更高的损失曲面不对称性,机会成本甚至更大。三种误差来源被研究:等效FLOP采样网格宽度(泰勒近似精度)、非中心化等效FLOP采样以及损失曲面不对称性(α≠β)。Chinchilla方法3大致消除了这些偏差,但通常被认为数据效率低、数值不稳定、容易陷入局部极小值且难以实现。每个担忧都被证明是不成立或可解决的,尤其是在利用目标函数部分线性结构通过变量投影方法进行优化时,可以实现对所有五个损失曲面参数的无偏推断,通过一个二维优化,该优化是良好条件的、解析可微的,并且适用于密集或甚至穷尽的网格搜索。它可能作为方法2的更方便替代品,或作为方法3的更可扩展替代品,用于更丰富的扩展定律公式。见https://github.com/Open-Athena/vpnls获取详情,见https://openathena.ai/scaling-law-analysis获取该研究的其他结果。
英文摘要:
Chinchilla Approach 2 is among the most widely used methods for fitting neural scaling laws. Its parabolic approximation introduces systematic biases in compute-optimal allocation estimates, even on noise-free synthetic data. Applied to published Llama 3 IsoFLOP data at open frontier compute scales, these biases imply a parameter underallocation corresponding to 6.5% of the $3.8\times10^{25}$ FLOP training budget and \$1.4M (90% CI: \$412K-\$2.9M) in unnecessary compute at 50% H100 MFU. Simulated multimodal model misallocations show even greater opportunity costs due to higher loss surface asymmetry. Three sources of this error are examined: IsoFLOP sampling grid width (Taylor approximation accuracy), uncentered IsoFLOP sampling, and loss surface asymmetry ($α\neq β$). Chinchilla Approach 3 largely eliminates these biases but is often regarded as less data-efficient, numerically unstable, prone to local minima, and harder to implement. Each concern is shown to be unfounded or addressable, especially when the partially linear structure of the objective is exploited via Variable Projection, enabling unbiased inference on all five loss surface parameters through a two-dimensional optimization that is well-conditioned, analytically differentiable, and amenable to dense, or even exhaustive, grid search. It may serve as a more convenient replacement for Approach 2 or a more scalable alternative for adaptations of Approach 3 to richer scaling law formulations. See https://github.com/Open-Athena/vpnls for details and https://openathena.ai/scaling-law-analysis for other results from this study.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。