179 questions
No questions match those filters.
← All questions
Training & Fine-tuningMedium· Batch Size· Training Dynamics
What is the critical batch size and how do you use it i...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe critical batch size is defined as the threshold above which gradient noise no longer decreases proportionally with the batch size, making further increases less efficient. Because the critical batch size scales inversely with loss, you should employ a ramp strategy: begin training with a smaller batch size and increase it as the model converges and loss decreases, effectively matching the evolving optimal batch size.