Your team has built a transformer-based model over user behavioral sequences for ads ranking. A VP asks whether continued investment in scaling this model, meaning more layers, wider hidden dimensions, and longer sequence histories, will reliably improve business metrics, or whether you are approaching a ceiling where further compute yields diminishing returns.
How do you answer that question, and what would you measure and build to give the team confidence that scaling decisions are predictable rather than speculative?
Practice against the follow-up probes
- What does a scaling law actually tell you, and what does it not tell you? What are its failure modes as a planning tool?
- You find that doubling model depth improves quality noticeably but doubling sequence length beyond a certain point yields almost nothing. What does that imply about where to invest next?
- Scaling laws for language models are established on dense token sequences. Your input is a mix of sparse ID features and temporal events. What assumptions from the LLM scaling literature might break, and how would you test whether they still hold?
- Your infrastructure team wants a compute budget for the next two quarters. How do you translate a scaling curve into a procurement and capacity recommendation?
- You discover that the scaling curve for your offline model and your online model have different slopes. How does that change your investment strategy?
Show answer guide
What the interviewer is probing
This question probes staff-level systems thinking: can the candidate frame empirical model scaling as an engineering and planning instrument rather than a research curiosity, reason about where the LLM scaling analogy holds and where it breaks for recommendation systems, and translate a measured curve into actionable infrastructure decisions with explicit uncertainty.
What a strong answer covers
Must establish
- A scaling law is empirically established by training multiple model variants at different compute budgets and fitting a functional form to the quality-versus-compute relationship, so the candidate must describe what experiments are needed and what metric captures quality in a way that is continuous and comparable across scales.
- Balanced scaling across depth, width, and sequence length is necessary because bottlenecking on a single axis produces diminishing returns while the others are underutilized, so the candidate must explain how to diagnose which axis is the current bottleneck.
- The scaling law applies to a specific model family under specific training conditions, and changes to data distribution, feature vocabulary, or architecture can shift or break the curve, so the candidate must name the conditions that would invalidate an extrapolation.
A strong answer adds
- Normalized entropy or an equivalent continuous loss metric is more suitable for establishing a scaling curve than a business metric like conversion rate, because business metrics are noisy, delayed, and not comparable across model sizes; the candidate should explain how to bridge from the scaling-law metric to the business metric.
- Sequence diversity in the training data, including a mix of action types and temporal ranges, affects the quality ceiling the model can reach at any given compute level, so a strong answer treats data composition as a variable in the scaling experiment, not just model size.
- The offline and online stages of a two-stage system have different cost structures and different saturation points, so a mature answer identifies that the scaling law for each stage should be characterized separately and investment allocated to whichever stage has the steeper slope relative to its cost.
- Extrapolating a scaling curve beyond the measured range carries risk, and a strong candidate names the conditions under which extrapolation is reasonable versus when it requires additional ablations.
Exceptional depth
- Connecting the scaling synergy principle, that depth, width, and sequence length must grow in balance, to the practical problem of Pareto-optimal resource allocation: given a fixed compute budget, the optimal allocation across axes can be solved empirically by fitting the joint scaling surface rather than optimizing each axis independently.
Common misses
- Conflates a scaling law with a benchmark result: reports that a larger model outperforms a smaller one without establishing the functional form that enables extrapolation.
- Uses online business metrics directly to fit the scaling curve, ignoring the noise and delay that make them unsuitable for this purpose.
- Assumes the LLM scaling literature transfers directly without questioning the structural differences introduced by sparse ID features and the absence of a dense token vocabulary.
- Treats sequence length as the primary scaling lever in isolation, missing that returns saturate if depth and width are not grown proportionally.
- Does not distinguish between the scaling properties of the offline and online stages, applying a single curve to a system with two very different cost and latency profiles.
The underlying concept
Scaling laws, as studied in the LLM literature, describe a power-law or log-linear relationship between training compute and model quality measured by a continuous loss. They are useful engineering tools because they enable extrapolation: if the relationship is stable, you can estimate the quality of a model you have not yet trained and therefore make principled compute-budget decisions. Establishing such a law requires sweeping multiple model configurations systematically and fitting the observed relationship, not just comparing two points. In recommendation systems the analogy is imperfect because inputs are sparse and heterogeneous rather than dense token sequences, but if the architecture is well-matched to the task, a similar predictable relationship can emerge. The practical value is that scaling decisions become data-driven rather than speculative, and infrastructure investments can be justified with explicit quality-per-compute estimates and confidence intervals on extrapolations.
Source
Derived from From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking