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

通过噪声二次系统预测大模型测试损失

Predicting Large Model Test Losses with a Noisy Quadratic System

Vector Institute(向量研究所);University of Toronto(多伦多大学)

Chuning Li, Chris J. Maddison

AI总结:

本文提出一种预测大模型预训练损失的模型,基于模型大小、批量大小和权重更新次数。该模型在处理变化的批量大小方面具有优势,并在预测扩展计算预算下的损失时优于Chinchilla模型。

摘要:

我们介绍了一种预测模型,该模型能够从模型大小(N)、批量大小(B)和权重更新次数(K)估计大模型的预训练损失。这是首个能够处理变化批量大小的损失预测模型。该模型在预测扩展计算预算(最多1000倍)下的损失方面优于Chinchilla的损失模型,该模型使用批量大小和令牌数量来预测测试损失。该模型的自然应用是找到在显式和复合资源约束(如时间、内存和计算)下的最优N、B、K配置。在我们的实验中,所选配置接近真实最优。我们的工作倡导损失预测作为替代启发式定律的更好方法,因为这些定律正变得越来越复杂。实现可在https://github.com/chuningxdy/Noisy-Quadratic-System上获得。

英文摘要:

We introduce a predictive model that estimates the pre-training loss of large models from model size (N), batch size (B) and number of weight updates (K). This is the first loss prediction model that can handle changing batch size. The model outperforms Chinchilla's loss model, a model of the test loss using the batch size and number of tokens, in terms of projecting the loss at extrapolated compute budgets (up to 1000 folds). A natural use of the model is to find optimal N, B, K configurations under explicit and compound resource constraints like time, memory and compute. In our experiments, the model-selected configurations are close to ground-truth optimal. Our work advocates for loss prediction as a better alternative to heuristic-based laws, which are growing in complexity. The implementation is available on https://github.com/chuningxdy/Noisy-Quadratic-System.

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

↑