Skip to main content
QUICK REVIEW

[Paper Review] Understanding Scaling Laws for Recommendation Models

Newsha Ardalani, Carole-Jean Wu|arXiv (Cornell University)|Aug 17, 2022
Complex Network Analysis TechniquesPhysics and Astronomy5 citations
TL;DR

This paper establishes empirical scaling laws for deep learning recommendation models (DLRMs), showing that Click-Through Rate (CTR) performance follows a power law plus constant with respect to model size, data size, and compute. It finds parameter scaling is nearing saturation, making data scaling the most efficient path forward until architectural breakthroughs emerge.

ABSTRACT

Scale has been a major driving force in improving machine learning performance, and understanding scaling laws is essential for strategic planning for a sustainable model quality performance growth, long-term resource planning and developing efficient system infrastructures to support large-scale models. In this paper, we study empirical scaling laws for DLRM style recommendation models, in particular Click-Through Rate (CTR). We observe that model quality scales with power law plus constant in model size, data size and amount of compute used for training. We characterize scaling efficiency along three different resource dimensions, namely data, parameters and compute by comparing the different scaling schemes along these axes. We show that parameter scaling is out of steam for the model architecture under study, and until a higher-performing model architecture emerges, data scaling is the path forward. The key research questions addressed by this study include: Does a recommendation model scale sustainably as predicted by the scaling laws? Or are we far off from the scaling law predictions? What are the limits of scaling? What are the implications of the scaling laws on long-term hardware/system development?

Motivation & Objective

  • To characterize empirical scaling laws for DLRM architectures, particularly for Click-Through Rate (CTR) prediction.
  • To evaluate scaling efficiency across three dimensions: data size, model parameters, and compute budget.
  • To determine whether current scaling trends in recommendation models align with theoretical scaling laws or deviate significantly.
  • To guide long-term system and hardware design by projecting future model growth and resource needs.
  • To assess the impact of embedding parameters—often excluded in prior studies—on overall model scaling behavior.

Proposed method

  • Empirically measure CTR model performance across 3 orders of magnitude in model size (N), data size (D), and compute budget (C).
  • Fit performance curves to the power law plus constant function: $ L(x) = \alpha x^{-\beta} + \gamma $, where $ x $ is D, N, or C.
  • Compare four scaling schemes: vertical/horizontal embedding scaling, overarch layer scaling, and full MLP width scaling.
  • Use normalized cross-entropy loss as the performance metric across all experiments.
  • Analyze scaling efficiency via the exponent $ \beta $ and constant $ \gamma $, with $ \gamma $ indicating the theoretical performance limit at infinite scale.
  • Compare scaling techniques using data efficiency, parameter efficiency, and compute efficiency metrics derived from the fitted power laws.

Experimental results

Research questions

  • RQ1Do recommendation models scale sustainably according to power-law predictions, or do they deviate significantly?
  • RQ2What are the relative efficiencies of data scaling, parameter scaling, and compute scaling in improving CTR model performance?
  • RQ3How do different scaling schemes—embedding table scaling (vertical/horizontal), MLP layer scaling, and overarch layer scaling—compare in terms of performance gain per unit resource?
  • RQ4What are the practical limits of scaling for current DLRM architectures, and when does parameter scaling become inefficient?
  • RQ5How can scaling laws inform long-term hardware and system infrastructure planning for large-scale recommendation systems?

Key findings

  • CTR model performance follows a power law plus constant relationship with model size, data size, and compute budget, with $ R^2 > 0.99 $ for all curves.
  • Parameter scaling shows diminishing returns: the exponent $ \beta $ for parameter scaling is near zero (0–0.5), indicating minimal performance gain per parameter increase.
  • Data scaling is the most efficient path forward, with a data efficiency exponent $ \beta = 0.07 $, significantly better than parameter scaling.
  • Compute scaling efficiency is high ($ \beta = 0.11 $), but still less efficient than data scaling, and it is outperformed by data scaling in terms of ROI.
  • The constant term $ \gamma $ in the power law is bounded at 0.98 (normalized entropy), indicating that current models are within 2% of the theoretical infinite-scale performance limit.
  • Embedding parameters account for over 90% of model capacity, and their scaling behavior is critical—horizontal and vertical embedding scaling show comparable efficiency, but both are less efficient than data scaling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.