mlprep
Hard12 min·1 round·Generalization & Regularization

Compare batch norm, layer norm, and group norm — when do you use each?

Written by the mlprep team · Updated

Interviewer Mode
Interviewer

Compare batch normalization, layer normalization, and group normalization. When would you use each, and why did transformers switch from batch norm to layer norm?

Ready to compare your reasoning?

The key takeaway unlocks after you reveal an expert answer.

Follow-up Questions to Test Yourself

Interviewers often pivot here once you cover the core concept.

  • Pre-layer norm vs post-layer norm in transformers — what's the difference and why does it matter for training stability?
  • Why does batch norm act as a regularizer, and how does this interact with dropout?
  • In what scenarios would you use RMS Norm instead of Layer Norm, and what does it drop from LayerNorm?

How confident do you feel explaining this?

Track your understanding or flag it to revisit before your next loop.

Related Questions