Causes and fixes for exploding and vanishing gradients
EasyConcept10 minRERSMLE
The question
Why do gradients explode or vanish in deep networks, and what are the standard fixes?
What the interviewer is looking for
- Explains repeated multiplication through layers
- Names fixes: residuals, normalisation, init, clipping
- Mentions activation choice
- Knows how to detect each
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Zhipu AI (Z.ai) question type: gradient explosion and vanishing; register_parameter versus register_buffer; no-grad; multi-node versus single-node multi-GPU.
Reported in: nowcoder.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Zhipu AI (Z.ai) question.