Skip to content

Data Predictability Shapes Weibull Weight-Scale Growth in Transformer Training

Tiexin Ding

cs.LG

Abstract

A trained transformer's weight magnitudes can be summarized by a two-parameter Weibull distribution whose shape k≈1.2k \approx 1.2 is stable across layers and models, so the scale λλ carries most training-induced movement. What corpus property sets how much λλ grows? Using the bigram conditional entropy D=H(next∣prev)D = H(\text{next} \mid \text{prev}), a training-free statistic computed before training, we find across controlled corruption families a learning-rate-conditioned law, λ2−λ02=C0(η)+C1(η)(Hr−D)0.59λ^2 - λ_0^2 = C_0(η) + C_1(η)(H_r - D)^{0.59}, where HrH_r is a matched-budget shuffle baseline. The convex exponent is inherited from an independently measured data-side saturation relation rather than fitted directly to the growth curve. After removing the two per-ηη coefficients, 23 runs spanning an order of magnitude in learning rate collapse onto (Hr−D)0.59(H_r - D)^{0.59} with unit slope (R2=0.941R^2 = 0.941; direct per-ηη fits are weaker, R2≈0.82R^2 \approx 0.82). Because DD is computed before training, the law is a forward predictor: an end-to-end self-validation recovers held-out within-family weight growth with 5.7% relative error. The readout holds at model and per-layer resolutions and across two tested architectures, with the functional form preserved and only the coefficients changing. It also marks its boundary: cross-corpus prediction over-predicts code, implicating redundancy as a second axis of a broader Φ(D,R,A,H)Φ(D,R,A,H) data-to-weight framework.

Create a lesson

Metadata

Categories
cs.LG, stat.ML
Comments
27 pages, 14 figures, 5 tables. Code and data: https://github.com/tiexinding/NPM-Weibull-public