training
AI, ML & GenAI interview questions tagged training, across every topic.
21 questions · 2 unlocked for you
Concepts behind "training"
The curriculum that explains the ideas these questions test.
Foundational
Backpropagation, IntuitivelyBackpropagation is the algorithm that computes the gradient of the loss with respect to every parameter in a network by running the chain rule in reverse, from the output back to the inputs. The forward pass computes and caches activations; the backward pass reuses those caches to accumulate gradients in a single sweep, which is why training a billion-parameter model costs only a small constant multiple of a forward pass. AI, ML, and GenAI engineer interviews probe it because it explains training cost, memory, and the vanishing/exploding-gradient failures you debug.📊 Evaluation & ML Foundations
Core
Training Neural Nets: Init, Normalization, Dropout, LR SchedulesThe working recipe that lets deep nets train at all: scale-aware weight initialization (Xavier, He), normalization layers (batch, layer, RMS) that keep activations well-conditioned, dropout as stochastic regularization, and warmup plus cosine learning-rate schedules. AI, ML, and GenAI engineer interviews probe this because the wrong init or norm is a frequent reason training diverges or plateaus, and understanding why each one helps separates people who have trained models from those who have only called .fit().📊 Evaluation & ML FoundationsSign in
Core
Distributed Training: Parallelism and FSDPTraining large models requires many GPUs, and the work can be split in distinct ways: data parallelism copies the model and divides the batch; FSDP/ZeRO shards the optimizer state, gradients, and parameters across GPUs to fit models that otherwise do not; tensor parallelism divides a layer's matrices within a node; pipeline parallelism divides layers across nodes. Communication is the scaling bottleneck. AI, ML, and GenAI engineer interviews probe it because 'this model does not fit on one GPU' has specific, named answers and trade-offs.🖥️ ML Infrastructure & ServingSign in
Core
Mixed-Precision TrainingMixed-precision training runs most computation in 16-bit (FP16 or BF16) rather than 32-bit, roughly halving memory and accelerating training on modern GPUs, while holding a few numerically-sensitive parts in FP32 for stability. BF16 is favored over FP16 because it retains FP32's exponent range, sidestepping the overflow/underflow that FP16 needs loss scaling to handle. AI, ML, and GenAI engineer interviews probe it because it is standard practice for training at scale and a clean example of the precision-vs-stability trade-off.🖥️ ML Infrastructure & ServingSign in
