Training Dynamics Underlying Language Model Scaling Laws: Loss Deceleration and Zero-Sum Learning
By: Andrei Mircea , Supriyo Chakraborty , Nima Chitsazan and more
Potential Business Impact:
Makes computer language smarter, faster, and better.
This work aims to understand how scaling improves language models, specifically in terms of training dynamics. We find that language models undergo loss deceleration early in training; an abrupt slowdown in the rate of loss improvement, resulting in piecewise linear behaviour of the loss curve in log-log space. Scaling up the model mitigates this transition by (1) decreasing the loss at which deceleration occurs, and (2) improving the log-log rate of loss improvement after deceleration. We attribute loss deceleration to a type of degenerate training dynamics we term zero-sum learning (ZSL). In ZSL, per-example gradients become systematically opposed, leading to destructive interference in per-example changes in loss. As a result, improving loss on one subset of examples degrades it on another, bottlenecking overall progress. Loss deceleration and ZSL provide new insights into the training dynamics underlying language model scaling laws, and could potentially be targeted directly to improve language models independent of scale. We make our code and artefacts available at: https://github.com/mirandrom/zsl
Similar Papers
Unveiling the Role of Learning Rate Schedules via Functional Scaling Laws
Machine Learning (CS)
Helps computers learn faster and better.
Not-Just-Scaling Laws: Towards a Better Understanding of the Downstream Impact of Language Model Design Decisions
Computation and Language
Smart computer programs learn better with smarter building.
On the Entropy Calibration of Language Models
Computation and Language
Fixes AI writing so it doesn't get worse.