training
Applied AI 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 applying the chain rule in reverse from the output back to the inputs. A forward pass computes and caches activations; a backward pass reuses those caches to accumulate gradients in one sweep, which is why training a billion-parameter model costs only a small constant multiple of a forward pass. Applied-AI 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 practical recipe that makes 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. Applied AI interviews probe this because picking the wrong init or norm is a common reason training diverges or plateaus, and knowing why each helps separates people who have trained models from people who have only called .fit().📊 Evaluation & ML FoundationsSign in
Core
Distributed Training: Parallelism and FSDPTraining large models needs many GPUs, and there are distinct ways to split the work: data parallelism replicates the model and splits the batch; FSDP/ZeRO shards the optimizer state, gradients, and parameters across GPUs to fit models that do not; tensor parallelism splits a layer's matrices within a node; pipeline parallelism splits layers across nodes. Communication is the scaling bottleneck. Applied-AI 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 does most computation in 16-bit (FP16 or BF16) instead of 32-bit, roughly halving memory and speeding up training on modern GPUs, while keeping a few numerically-sensitive parts in FP32 for stability. BF16 is preferred over FP16 because it keeps FP32's exponent range, avoiding the overflow/underflow that FP16 needs loss scaling to handle. Applied-AI 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
