Backpropagation through time
Backpropagation through time is a training technique that unrolls recurrent computations across time steps and propagates gradients through the resulting sequence.
Natural Language Processing in Action, Second Edition
Backpropagation through time is a training technique that applies backpropagation across the successive time steps of a recurrent neural network.
- How it is used
- Trains recurrent neural networks for sequential token prediction by carrying error information backward through time steps.
- How deep it goes
- Explains chain-rule gradients, serial backward computation, unrolled shared weights, and batching, without deriving detailed equations.
- Examples
- Uses tokens in sentences or documents, an unrolled RNN graph, and single-sample or batched training passes.
- What you can do after
- Apply it via PyTorch to adjust shared RNN weights from token-level prediction errors.
Sutskever's List
Backpropagation through time is a training technique that unrolls a recurrent computation across time steps and propagates gradients through the resulting sequence.
- How it is used
- Trains recurrent neural networks on sequential predictions by propagating errors across unrolled time steps.
- How deep it goes
- Explains unrolling, shared weights, and vanishing gradients, but stops short of a mathematical derivation.
- Examples
- Uses next-word prediction across a 100-word sequence and the sentence linking “France” to “French.”
- What you can do after
- Evaluate why recurrent models lose learning signals across long sequences and why LSTMs help.
Read how Sutskever's List explains backpropagation through time →
Also covered in
What to know first
- feedforward networkA feedforward network is a neural network whose computations proceed from inputs toward outputs through directed connections without recurrent cycles or feedback.
- matrix-matrix multiplicationMatrix multiplication is an operation on compatible matrices in which each entry of the product is the dot product of a row of the first matrix and a column of the second.
Related concepts
- recurrent neural networkused by · A recurrent neural network is a neural network that processes ordered inputs while carrying and updating an internal state across successive steps.
Questions about backpropagation through time
What is backpropagation through time?
Backpropagation through time is a training technique that unrolls recurrent computations across time steps and propagates gradients through the resulting sequence.
Which Manning books explain backpropagation through time?
Natural Language Processing in Action, Second Edition and Sutskever's List.
What should I know before learning backpropagation through time?
Manning books that teach backpropagation through time usually introduce feedforward network and matrix-matrix multiplication first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

