Time Matters: Scaling Laws for Any Budget
<|reference_start|>Time Matters: Scaling Laws for Any Budget: A primary cost driver for training large models is wall-clock training time. We show that popular time estimates based on FLOPs are poor estimates, and construct a more accurate proxy based on memory copies. We show that with some simple accounting, we can estimate the training speed of a transformer model from its hyperparameters. Combined with a scaling law curve like Chinchilla, this lets us estimate the final loss of the model. We fit our estimate to real data with a linear regression, and apply the result to rewrite Chinchilla in terms of a model's estimated training time as opposed to the amount of training data. This gives an expression for the loss in terms of the model's hyperparameters alone. We show that this expression is accurate across a wide range of model hyperparameter values, enabling us to analytically make architectural decisions and train models more efficiently.<|reference_end|>
@article{inbar2024time,
    title={Time Matters: Scaling Laws for Any Budget},
    author={Itay Inbar, Luke Sernau},
    journal={arXiv preprint arXiv:2406.18922},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.18922},
    primaryClass={cs.LG cs.AI}
}