AI Research Scientist · Scaling Laws & Stability
Depth vs width tradeoffs in transformer scaling
Depth vs width tradeoffs in transformer scaling
Depth vs. width allocation
A fixed parameter budget can be spent on more layers (depth) or on wider layers (width) — same total size, different shape.- WhenYou need more sequential reasoning steps per tokenlean slightly deeperWhyextra layers add cheap composition depth
- WhenYou need richer per-token representations with faster parallel traininglean slightly widerWhywidth adds capacity without lengthening the sequential path
Recall check from the same lesson
If a very wide, shallow transformer underperforms a balanced depth/width model at the same parameter budget, the most likely cause is that the wide model has too few layers to build up sequential composition, not that it has too few total parameters.
Review the explanation
Answer: True. Both models share the same parameter budget, so the shortfall isn't total capacity — it's that squeezing the budget into very few very wide layers starves the model of the sequential depth needed to compose features, which is exactly why extreme width underperforms a balanced split.
Sources
One sitting · 20–30 minutes
A focused session on your AI Research Scientist interview
LearnBench starts from what you already know — skip what you have, master what you’re missing.
Start now