Interview Guides

You are training a deep neural network and notice unstable learning. Loss may plateau early, become NaN, or improve only in shallow layers.
How do you diagnose and mitigate vanishing or exploding gradients during the training of deep neural networks?