Newshot

A Two-Parameter Weibull Framework for Diagnosing Transformer Weight Distributions

Summary

arXiv:2605.18898v2 Announce Type: replace-cross Abstract: Transformer checkpoints contain billions of weights, yet how their element-wise distributions vary across components, models, and training is hard to characterize. We fit the magnitude distribution of each analyzed weight matrix with a two-parameter Weibull reference model under a fixed middle-80% protocol. For i.i.d. Gaussian initialization, the corresponding half-Normal target has protocol-fitted shape $k_0 \approx 1.20$. Matched comparisons with gamma and lognormal favor Weibull for most component groups; support is less decisive for separately stored MHA query/key projections, and no tested single family cleanly describes matrices carrying a secondary weight population. Across 12 model entries spanning seven families, terminal FFN shape medians fall in a narrow band, $k \in [1.186, 1.204]$ (CV $= 0.51\%$), whereas query/key projections show architecture-associated departures. This stability is macroscopic only: in the five P…

Original text(via arXiv stat.ML)

Computer Science > Machine Learning

Title:A Two-Parameter Weibull Framework for Diagnosing Transformer Weight Distributions

Abstract:Transformer checkpoints contain billions of weights, yet how their element-wise distributions vary across components, models, and training is hard to characterize. We fit the magnitude distribution of each analyzed weight matrix with a two-parameter Weibull reference model under a fixed middle-80% protocol. For i.i.d. Gaussian initialization, the corresponding half-Normal target has protocol-fitted shape $k_0 \approx 1.20$. Matched comparisons with gamma and lognormal favor Weibull for most component groups; support is less decisive for separately stored MHA query/key projections, and no tested single family cleanly describes matrices carrying a secondary weight population. Across 12 model entries spanning seven families, terminal FFN shape medians fall in a narrow band, $k \in [1.186, 1.204]$ (CV $= 0.51\%$), whereas query/key projections show architecture-associated departures. This stability is macroscopic only: in the five Pythia models whose released step-0 checkpoints permit a paired comparison, FFN and attention-output matrices remain near the reference shape despite large displacement and reorientation, so terminal shape similarity is not explained by parameter proximity alone. The fitted shape $k$ is read as a reference-relative central-body shape indicator and the scale $\lambda$ as a magnitude coordinate; neither is presented as a predictor of downstream performance. In a Qwen case study, the screen localizes a shallow-FFN secondary small-magnitude population, and direct raw-weight analysis of a flagged block traces much of that population to coherently suppressed intermediate channels. The method requires only released checkpoints and complements behavioral and structural analyses. The code and reference database are available at this https URL.
Comments:Published in Transactions on Machine Learning Research (TMLR), 2026. 40 pages. Updated to the final accepted version, including practical-use guidance. Journal version: this https URL
Subjects:Machine Learning (cs.LG) ; Machine Learning (stat.ML)
Cite as:arXiv:2605.18898 [cs.LG]
(or arXiv:2605.18898v2 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2605.18898 arXiv-issued DOI via DataCite
Journal reference:Transactions on Machine Learning Research (2026)

Submission history

Access Paper:

  • HTML (experimental)

Additional Features

  • Audio Summary

Current browse context:

References & Citations

  • Google Scholar
  • Semantic Scholar

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by arXiv stat.ML
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗