Summary of "InfoLaw: Information-Based Scaling Law for Data-Constrained LLM Training"
Summary (Overview)
This paper proposes InfoLaw, a novel scaling law that predicts LLM performance under data-constrained settings where high-quality data is scarce and repetition is necessary. The approach models the "information" a model can extract from training data (accounting for data quality, repetition, and compute), and fits a parametric law that accurately extrapolates to unseen mixture recipes, larger model scales, and higher overtraining ratios.
Summary (Key Points)
- Problem: High-quality data is limited; training LLMs requires repeating data, which hurts performance. Existing scaling laws fail under data repetition and varied data quality mixtures.
- Proposed solution—InfoLaw: A new scaling law based on a novel
Infometric that quantifies the useful information a model extracts from a repeated, quality-weighted data mixture:Info = Σ_d f_d log(K) (1 - e^{-λ(N)R_d/log(K)})- where
f_d= quality density of bucket d (fitted),R_d= repetition factor,K= total tokens,N= model FLOPs/token, andλ(N)= learning rate constant (fitted).
- Validation: Trained on 252M–1.2B models, the law extrapolates reliably to:
- Unseen data recipes (MLQ, MHQ, random mixtures)
- Larger scales (up to 7B models, 25× overtraining)
- Maximum absolute error 0.96%, mean error 0.15% in validation loss.
- Practical utility: Enables efficient data-mixture selection for new training runs without expensive hyperparameter sweeps. Identified a 2.5B model recipe (HQ heavy, ~50% HQ + ~50% bucket-1) that outperforms random baselines.
Methodology
Layerwise Mixture (LayerMix):
- Data is split into 6 quality buckets (e.g., high-quality (HQ) to low-quality (LQ)).
w_ddefines the token proportion of bucket d in the training set.B_ddefines the source budget per bucket.- Training set size per bucket:
K_d = w_d K, source sizeS_d = B_d S. - Repetition factor:
R_d = K_d / min(K_d, S_d).
Information model:
- The model derives value from data via a saturating exponential form (information extraction decays with repetition).
λ(N)is a fitted function of model size (found to follow a log law,λ = 0.14 ln(N) + 0.018in FP32 normalized units).f_d= quality density of each quality bucket (fitted).- The law bridges compute
C = K·N, data compositionw, model sizeN, and repetitionR_d.
Validation results:
- Loss prediction on unseen recipes (including 25 random mixtures): mean abs error 0.15%, max error 0.96%.
- Extrapolates from 1.2B models to 7B models (425B tokens) and to 25× overtraining (640B tokens on 1.2B model).
- Accurately ranks candidate recipes (e.g., for a 2.5B model) without extra training.
- Shows InfoLaw is better than Chinchilla optimal recipe under data-constrained regime (e.g., recommend 650B tokens for 2.5B, vs optimal-token 500B).
- High-quality data becomes more important as overtraining increases (optimal recipe emphasizes HQ data with repetition).
Summary (Details)
Notation
| Symbol | Meaning |
|---|---|
K | Total training tokens |
N | Model non-embedding FLOPs per token |
S | Source corpus tokens before sampling |
d | Quality bucket (higher d = higher quality) |
w_d | Target sampling weight for bucket d |
B_d | Source fraction of bucket d in source corpus |
M_d = min(w_d K, B_d S) | Unique tokens from bucket d |
R_d = w_d K / M_d | Repetition factor for bucket d |
f_d | Fitted quality density of bucket d |
λ(N) | Fitted learning parameter as a function of N |
m | Overtraining factor (e.g., 3.6, 25) |
C | Compute = N·K |
Summary (Detailed Structure)
1. Motivation & Problem
- LLM performance follows power laws in
NandD, but this breaks when data is repeated. - Traditional approaches fit separate scaling curves for each data mixture, requiring retraining for every new recipe—an expensive and impractical requirement.
- Need for a law that predicts loss for arbitrary mixtures of quality-bucketed data with repetition.
2. Method
-
LayerMix sampling: Bucket data into 6 quality levels (HQ heavy, MLQ mid-low, etc.), each with a repetition factor.
-
Key insight: Data quality influences when performance saturates; repetition produces diminishing returns modeled by an exponential term
(1 - e^{-λR}). -
Fitting:
f_d(quality density) fit per bucketλ(N)fit asλ = a·ln(N) + b(with a=0.140, b=0.018)- Optimization using Spearman correlation to find quality densities and λ.
-
Key results:
- Predicts validation loss on unseen recipes with 0.15% mean / 0.96% max absolute error.
- Extrapolates from 252M–1.2B to 7B models (up to 25× overtraining).
- Enables data recipe selection without extra training runs (e.g., identified superior mixtures for 2.5B model).
Summary (Core Claims & Experimental Evidence)
- Claim 1 (Conventional scaling laws fail under repetition): Standard L–C power laws fit poorly when data mixtures involve repetition and quality differences; a "repeat-and-upweight" approach shows significant slope breaks in loss–compute curves across data recipes.
- Claim 2 (Information is a unified predictor): The
Infometric (instead of raw tokens or compute) collapses loss curves across different mixture recipes onto a single scaling law. - Claim 3 (Extrapolation fails gracefully): With parameters fit on the 252M–1.2B set, the law predicts:
- Unseen recipes (MLQ, MHQ and 25 random weight sets)
- Larger models (1.5B–7B)
- Higher overtraining (25× instead of 3.6×)
- Combined extrapolation — all with <0.96% max absolute error relative to loss.
Summary (Key Details)
-
Dataset curation: Data is partitioned into quality buckets (e.g., HQ/MLQ/MQ/LQ) using a "LayerMix" procedure. Each bucket has target sampling weight
w_d, unique tokensM_d, and repetition factorR_d. -
Loss–Compute view:
- Under overtraining (
m=3.6), loss is plotted againstC_m = N·K(Chinchilla-style compute), whereN= non-embedding FLOPs/token andK= tokens. - Under excessive repetition, loss deviates from the standard power law; InfoLaw accounts for the diminishing learning benefit from repeated tokens.
- Under overtraining (
-
Info definition:
I_{d,total} = f_d M_d log(K) (1 - e^{-λ(N)R_d/log(K)})Info = Σ_d I_{d,total}f_dadjusts for information density per bucket; fitted via Spearman correlationρ_smaximization.λ(N) = a log(N) + bcaptures the model's "learning rate" as a function of model size.
-
Results: InfoLaw achieves extremely accurate predictions:
- Interpolation on unseen mixtures: accurate.
- Extrapolation to 7B, 640B tokens: max error 0.96% in loss.
- Extrapolation to 25× overtraining: reliable.
Summary (Methodology)
- Partition the training data into quality buckets d with proportions
w_d. - For each bucket: estimate information content
I_d = f_d log(K), which scales logarithmically with total tokens. - Model forgetting/learning saturation from repetition with
(1 - e^{-λ(N)R_d/log(K)}). - Total Information is a sum over buckets.
- Fit
f_dandλ(N)to minimize Spearman correlation between predicted info and observed loss on small models. - Use
λ(N) = a log(N) + bto predict λ for unseen model sizes.
Summary (Training & Extrapolation Details)
- Trained over the full
HQ, MQ, LQ, MLQrecipe set with multi-seed evaluations. - No special tokenization/data filtering differences across buckets—only curation-based quality splits.
- Overtraining ratios: baseline
m = 3.6×; high repetition testm' = 25×. - Training data: same public LLM pretraining corpus for both small-scale fits and 7B/1.3B verifications.
- Validation losses computed on downstream language modeling benchmarks.
Conclusion (Paper's Main Message)
InfoLaw provides a principled, data-quality-aware scaling law that connects compute, model scale, data repetition, and quality mixtures into a single predictive law. It accurately predicts loss on unseen recipes and scales, including over-trained regimes, enabling efficient data recipe selection without expensive grid sweeps.
Summary (Representation of Key Formulas)
Repetition-aware Information
Total Information
f_d= quality density of bucket d (fitted)R_d = w_d K / M_d(repetition factor)λ(N) = a log N + b(fitted)- The law then predicts:
L = L(Info)via fitted power law.
Summary (Key Findings)
- Information-theoretic scaling: Loss collapses when plotted against an Information metric, not raw token count, under mixed-quality data with repetition.
- Parametric parsimony: One global law (Info vs Loss) fits all recipes, model sizes, and overtraining levels.
- Fitted constants:
a* = 0.140,b* = 0.018(for λ(N));f_dlearned for quality densities. - Extrapolation is robust:
- Unseen mixtures (random 25 recipes) → <0.15% mean error
- Up to 25× overtraining → still accurate
- Combined shifts (both mixture + model size + training tokens) → accurate to ≤0.96% max error
- Data-efficiency: recipe selection via InfoLaw reduced search to 4 (instead of hundreds) of candidate runs, arriving at a better recipe than 4 random baselines.
Summary (Theoretical Insights & Implications)
- Measures learning as a saturating exponential in repetition level
R, normalized bylog(K). - Shows that data quality and data repetition can be collapsed into a single scalar (Info) for scaling-law purposes.
- Demonstrates that Chinchilla-based scaling laws overestimate optimal data-compute tradeoffs when repetition is present.
- Repetition amortizes the value of data → reusing high-quality data can still be optimal up to a (compute-dependent) threshold; InfoLaw lets you choose that threshold automatically.
- The framework is flexible and can guide practical data selection for large-scale training runs without full-law refits per recipe.
- The model assumes a fixed λ(N) per model size; decoupling λ from N is left as future work. All results are on English data in the pretraining setting with recurrent repeats (same data repeated until end).
Summary (Keywords)
scaling laws, large language models, data quality, data repetition, overtraining, compute-optimal scaling, data-constrained training, LLM data selection, power law, neural scaling laws, downstream evaluation
Related papers
- HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
HARNESSOPT-BENCH shows optimizer model choice matters 1.8x more than coding harness choice for agent improvement, with broader search driving gains and trace reading providing no benefit.
- Phantom Gains: Auditing Self-Improvement Against a Measured Null
Transition-level auditing of LLM self-improvement requires measured nulls for every statistic; without them, a frozen model falsely appears to expand at 0.280.
- EvoMem: Memory-Augmented Evolution for Code Optimization
EvoMem's persistent memory of successful mutation strategies yields a 6.40% average performance gain and 5.93x speedup in LLM-based evolutionary code search.