Explain Adam, AdamW, warmup and learning rate schedules for LLM training

MediumConcept20 minRERSMLEPro outline

The question

Explain how Adam works, what AdamW changes, and why large model training uses warmup followed by a decay schedule.

What goes wrong if you remove warmup or set beta2 badly?

What the interviewer is looking for

  • Correct Adam update with first and second moments and bias correction
  • Explains decoupled weight decay and why it differs from L2 in Adam
  • Explains warmup as protection while second moment estimates are poor
  • Knows common schedules (cosine, linear decay, constant then decay)
  • Can describe loss spikes and how optimizer settings relate to them

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Mistral AI question type: Mixture of experts, parallelism, normalization and optimizers.

Reported in: supacv.com, datainterview.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Mistral AI question.