PYQ.shelf
← Deep Learning

RNNs & Backpropagation Through Time

RNNs, BPTT, vanishing/exploding gradients, truncated BPTT, sequence modelling

About this topic · 5.9% of all exam questions · → steady
How it has usually been asked (across all papers, approximate)
  • Unroll a small RNN: compute the state s_t, output or loss for given U, V, W · asked ~21 times, 7 of 13 terms
  • BPTT: gradient w.r.t. W, U or V; Jacobian ∂s_t/∂s_{t-1} · asked ~10 times, 5 of 13 terms
  • Vanishing / exploding gradients in RNNs, truncated BPTT · asked ~4 times, 3 of 13 terms

Tip: The same U, V, W are reused at every time step, so the gradient with respect to W is a sum over steps (that is BPTT). Most questions unroll just 2–3 steps with tanh or sigmoid.

Appeared in 10/13 terms.

Loading questions…