2026In progress
Training and Deploying Machine Learning Services under the Neural Scaling Law
Summary
A machine-learning service, from a fraud model to a frontier language-model product, gets better as its provider invests more in data, compute, and retraining, but each round of investment helps less than the last. The improvement follows a : after periods of investment, the model's prediction error is , where is the error scale (how poor the model is at the start) and is the learning rate (how quickly the error falls). Quality keeps rising while its marginal value shrinks. The service runs for a finite horizon of periods; the provider pays a cost for every period it keeps investing and must decide when to stop and run the service with the model it has. This is an problem.
When and are known, a continuous relaxation of the problem is strictly concave and stays within a constant of the discrete optimum, independent of the horizon . The optimal investment period then grows only as , that is, in proportion to , a vanishing share of the horizon: even when long-run value scales with the horizon, diminishing returns eventually stop justifying the cost. Slower learning (smaller ) or a worse starting model (larger ) shift the stopping time in predictable ways.
In practice and are unknown and must be learned from noisy performance measurements while deciding. The proposed rule refits the scaling curve after every period, builds a confidence region for the pair , and keeps investing only while the most optimistic parameters still consistent with the data say more learning is worth it. Its expected grows at most in proportion to , written .
Key results
- The continuous relaxation is faithful: its optimal value differs from the discrete problem's by a constant that does not grow with the horizon .
- The optimal investment period scales as , with comparative statics in the learning rate and the error scale .
- With and unknown, the optimistic stopping rule has expected regret relative to the full-information optimum.