FLOP-Efficient Training: Early Stopping Based on Test-Time Compute Awareness
Hossam Amer, Maryam Dialameh, Hossein Rajabzadeh, Walid Ahmed, Weiwei Zhang, Yang Liu
TL;DR
FLOP-Efficient Training addresses the high cost of training large language models by introducing TTC-aware training, which jointly optimizes training FLOPs and test-time compute (TTC). The method collects intermediate validation points, fits an exponential learning-curve model to forecast final accuracy under a budget, and uses a sigmoid model to select an optimal TTC budget $K^*$ that satisfies both accuracy and compute constraints, enabling early stopping. A break-even bound links training and inference costs to quantify when TTC overhead is outweighed by training savings, with an efficient, online curve-fitting approach that requires only small-$K$ evaluations. Empirically, TTC-aware training achieves up to 92% training FLOP reductions while maintaining or improving accuracy across TinyLlama, Pythia, FineMath, and frontier models, yielding faster deployment cycles and more frequent model refreshes.
Abstract
Scaling training compute, measured in FLOPs, has long been shown to improve the accuracy of large language models, yet training remains resource-intensive. Prior work shows that increasing test-time compute (TTC)-for example through iterative sampling-can allow smaller models to rival or surpass much larger ones at lower overall cost. We introduce TTC-aware training, where an intermediate checkpoint and a corresponding TTC configuration can together match or exceed the accuracy of a fully trained model while requiring substantially fewer training FLOPs. Building on this insight, we propose an early stopping algorithm that jointly selects a checkpoint and TTC configuration to minimize training compute without sacrificing accuracy. To make this practical, we develop an efficient TTC evaluation method that avoids exhaustive search, and we formalize a break-even bound that identifies when increased inference compute compensates for reduced training compute. Experiments demonstrate up to 92\% reductions in training FLOPs while maintaining and sometimes remarkably improving accuracy. These results highlight a new perspective for balancing training and inference compute in model development, enabling faster deployment cycles and more frequent model refreshes. Codes will be publicly released.
