← 📊 Evaluation & ML FoundationsNEXT IN EVALUATION & ML FOUNDATIONSTraining Neural Nets: Init, Normalization, Dropout, LR Schedules→
Core
Vanishing and Exploding Gradients
In a deep or recurrent network the backward gradient is a product of many per-layer Jacobians, so its magnitude compounds: factors mostly below one shrink it toward zero (early layers stop learning) and factors above one blow it up (training diverges into NaNs). The root cause is the repeated multiplication, and the standard fixes target it directly: residual connections to give gradient a shortcut, normalization to keep activations in scale, gating to preserve signal across time, gradient clipping to cap the blow-up, and careful initialization. Applied-AI interviews probe it because it is the mechanism behind most deep-net training failures you have to diagnose.
a free account unlocks the core curriculum tier · no card
RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS
Machine Learning & Data ScienceWhat is batch normalization, why does it help training, and how does it differ at train vs inference?→Machine Learning & Data ScienceWhat causes vanishing and exploding gradients, and how do activations, initialization, and residuals fix them?→SQL & Data EngineeringExplain dimensional modeling: star vs snowflake schema, facts vs dimensions, and normalize vs denormalize for analytics.→Machine Learning & Data ScienceExplain backpropagation. Walk through the chain rule for a simple two-layer network.→Coding & DSAImplement Layer Normalization (and RMSNorm) from scratch.→Coding & DSAImplement batch normalization (forward pass, train and inference) from scratch.→
COMPANIES THAT ASSUME THIS
