Gemstones: A Model Suite for Multi-Faceted Scaling Laws

Sean McLeish, John Kirchenbauer, David Yu Miller, Siddharth Singh, Abhinav Bhatele, Micah Goldblum, Ashwinee Panda, Tom Goldstein

TL;DR

The authors introduce Gemstones, an open-source suite of over 4,000 transformer checkpoints up to 2 billion parameters, specifically designed to study how architectural shape (width vs. depth) and hyperparameters affect scaling laws. They reveal that traditional scaling laws are highly fragile and sensitive to experimental design, and show that while deep models are more FLOP-efficient, wide models are significantly faster to train in terms of actual wall-clock time.

What Problem Does This Paper Address?

Scaling laws (like the famous Chinchilla law) dictate how much compute, data, and parameters are needed to train optimal language models. However, these laws typically treat model size as a single dimension, freezing critical hyperparameters and restricting architectures to a narrow range of width-to-depth ratios.

Figure 1: The meaning of width and depth. We visualize a standard transformer architecture, high- lighting the “width” as the size of the hidden di- mension and the “depth” as the number of trans- former blocks.

In practice, AI practitioners often apply these rigid prescriptions to entirely different setups without knowing if they hold true. This paper addresses this gap by systematically exploring how architectural variations (width and depth), learning rates, and cooldown schedules alter the trajectory of scaling laws.

Methods

The authors trained 22 different model architectures ranging from 50 million to 2 billion parameters, spanning 11 distinct widths and 18 depths.

Figure 2: Distribution of prior scaling law mod- els, industry models, and our models in terms of width and depth. Prior work (purple and green) and industry models (blue and orange) mostly lie on a fixed width-depth line.

To achieve this, they introduced several methodological innovations:

  • Hybrid Learning Rate Scaling Rule: Standard rules scale learning rate based solely on width or depth. Because Gemstones vary along both dimensions, the authors proposed a hybrid rule: $\text{lr}_{\text{eff}} = \text{lr}_{\text{base}} / (\text{width} \times \sqrt{\text{depth}})$, which successfully stabilized training across extreme shapes.
  • The Convex Hull Fitting Method: Traditional scaling law fitting relies on "isoFLOP binning," which requires a dense grid of optimal models. Because the Gemstones suite explores a sparse 2D space (width and depth), the authors developed a novel method that fits a lower convex hull to the loss curves, isolating only the strictly pareto-optimal models and ignoring suboptimal configurations.
  • Ablation Frameworks: They performed extensive ablations by altering learning rates and implementing linear cooldown schedules to isolate their impacts on final model performance.

Datasets

  • Training: All models were trained on up to 350 billion tokens from the Dolma 1.7 dataset.
  • Validation & Cross-Distribution Evaluation: To test if scaling laws depend on the evaluation data distribution, the authors evaluated performance across Dolma, FineWeb, FineWeb-Edu, and DCLM-baseline.
  • Downstream Benchmarks: Models were evaluated at 10-billion-token intervals across 8 standard benchmarks, including MMLU, HellaSwag, ARC, WinoGrande, and OpenBook QA.

Key Insights and Ideas

  • The Fragility of Scaling Laws: Scaling laws are incredibly sensitive. Seemingly minor choices—such as whether to include embedding parameters in the total count, or changing the data sampling frequency—drastically alter the power-law exponent (the slope of the law).
  • FLOPs vs. Wall-Clock Time: This is the paper's major "aha!" moment. When measuring efficiency by floating-point operations (FLOPs), deep models consistently outperform wide models. However, when measuring actual training time (GPU hours), wider models are significantly more efficient. This is because standard open-source tensor parallelism frameworks struggle to parallelize deep, narrow architectures efficiently.
  • Overtraining is Highly Efficient: Industry models often train on far more tokens per parameter than scaling laws recommend. The authors quantify this "overtraining" cost and find that the loss curves are remarkably flat; overtraining a smaller model results in only a tiny loss penalty while drastically reducing inference costs.

Key Results

  • The Artifact: The authors open-sourced over 4,000 checkpoints cumulatively trained on more than 10 trillion tokens, creating a massive playground for future scaling research.
  • Robustness of Rank Ordering: While absolute loss values shift depending on the validation dataset used, the relative performance ranking of different model shapes remains completely stable. This implies that researchers can reliably fit scaling laws using non-i.i.d. validation sets.
Figure 3: Approach 1 prescriptions. Row one: Validation loss over FLOPs (left) and GPU hours (right) for the first 100 billion tokens of training. We use Approach 1 to find the optimal points on the convex hull in each setting, marked with black crosses. Row two: We fit a line to the tokens per parameter of empirically optimal models and find a slightly higher, but still constant, tokens per parameter prescription than Hoffmann et al. [2022]. Hoffmann et al. [2022]’s Approach 1 creates 250 logarithmically-spaced FLOPs bins per order of magnitude, and in red we plot the minimizers over these bins, and the scaling law fitted to these minimizers (binning). Clearly, their Approach 1 is not well-suited for our data, and our convex hull approach is better when we select fewer models to fit our law on. Extended plot in Figure 20.
  • The Cost of Suboptimal Shapes: Choosing a "skinny" or poorly proportioned model architecture can waste up to 50% more FLOPs and over 200% more GPU hours compared to an optimal width-depth configuration.

Limitations and Future Work

While comprehensive, the Gemstones suite kept several hyperparameters constant, including the transformer expansion factor (FFN hidden dimension ratio), vocabulary size, and batch size.

Additionally, the finding that wide models are faster than deep models is tightly coupled to their specific hardware setup (AMD MI250X GPUs) and parallelization strategy (tensor parallelism without pipeline parallelism). The authors note that alternative parallelism frameworks might yield different wall-clock time results, and they encourage the community to use their open-source codebase to re-fit these laws on varied hardware topologies.

Summary updated

Abstract

Scaling laws are typically fit using a family of models with a narrow range of frozen hyperparameter choices. In this work we study scaling laws using multiple architectural shapes and hyperparameter choices, highlighting their impact on resulting prescriptions. As a primary artifact of our research, we release the Gemstones: an open-source scaling law dataset, consisting of over 4000 checkpoints from transformers with up to 2 billion parameters and diverse architectural shapes; including ablations over learning rate and cooldown. Our checkpoints enable more complex studies of scaling, such as analyzing the relationship between width and depth. By examining our model suite, we find that the prescriptions of scaling laws can be highly sensitive to the experimental design process and the specific model checkpoints used during fitting.
BibTeX
@inproceedings{mcleish2025gemstones,
  author = {Sean McLeish and John Kirchenbauer and David Yu Miller and Siddharth Singh and Abhinav Bhatele and Micah Goldblum and Ashwinee Panda and Tom Goldstein},
  title = {{Gemstones: A Model Suite for Multi-Faceted Scaling Laws}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=iZk78dZ1Ap},
}
Figure