Smooth Scaling Laws Hide Stepwise Token Learning

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Mathematics & Computational Sciences · Depth: Expert, extended

Summary

This paper introduces a token-level framework to explain why language model loss exhibits power-law scaling laws, moving beyond aggregate loss explanations. Researchers decomposed scaling laws into localized learning events of individual contextualized tokens, fitting their loss trajectories with sigmoid functions. This revealed that token learning is concentrated in specific transitions, creating a "learning-time spectrum" that dictates the overall scaling-law shape. Across over 100 pre-training runs on diverse real-language corpora, involving models up to 6B parameters and 300B training tokens, this spectrum quantitatively reconstructed the validation loss derivative along training-step, data-scale, and model-scale axes. Furthermore, by reshaping the training distribution based on when tokens become learnable, the method achieved an 11% faster validation-loss reduction, demonstrating the signal's practical utility.

Key takeaway

For Machine Learning Engineers optimizing large language model pre-training, understanding token-level learning dynamics is crucial. Your team can utilize the "learning-time spectrum" to predict and control scaling behavior. By estimating when tokens are learned and strategically reshaping your training data distribution to prioritize specific learning intervals, you can achieve measurable improvements, such as an 11% acceleration in validation-loss reduction, leading to more efficient compute allocation and faster model development.

Key insights

Language model scaling laws are primarily governed by the distribution of token-level learning times, not individual token loss shapes.

Principles

Method

Decompose aggregate loss derivative L'(a) into a convolution (p*g)(a), where g is the average centered learning pulse and p(τ) is the empirical learning-time spectrum derived from sigmoid fits of token loss trajectories.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.