All models

prednet

A recurrent convolutional network that predicts the next video frame, inspired by predictive coding.

Video · 1,233 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (289 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Task
Video
Parameters
6.9M
Operations
1,233
Framework
PyTorch
Recurrent
Yes
Published
ICLR 2017
Cited by
676 (as of 23 October 2026)
Authors
William Lotter, Gabriel Kreiman, David Cox
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8395
Graph hash
cc47ce1824e887d86934f74f266a35cca9e5f92df26832bf5f1090baf91d0aec
Skeleton hash
d918b02ed3df535ad884b39058f1ddb0b76fd8e78abee121fc713488dbead0d4
Architecture hash
2f16085fce7266eab7660fbab097a7707438d2ef5757af853c7f1cc166f0e026
Diagram SHA-256
ceedfa1810aea0d83ba8cf32aee7fdb9e82df77a77da14551a6a272c58936362
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PredNet is a deep, recurrent convolutional network with both bottom-up and top-down connections that attempts to continually predict the appearance of future video frames. The paper explores prediction of future frames as an unsupervised learning rule for learning about the structure of the visual world. The design is inspired by predictive coding, the idea that the brain is continually making predictions of incoming sensory stimuli.

Each layer in the network makes local predictions and forwards only the deviations from those predictions to later layers. Each module has four basic parts, an input convolutional layer, a recurrent representation layer, a prediction layer and an error representation. The representation units are convolutional LSTM units. The model is trained to minimize the weighted sum of the activity of the error units.

For natural video, the paper trains models on raw videos from the KITTI dataset, which were recorded by a roof-mounted camera on a car. Frames were center-cropped and downsampled to 128x160 pixels. A hyperparameter search there resulted in a 4 layer model with 3x3 convolutions and layer channel sizes of (3, 48, 96, 192). The original code implements the architecture as a custom layer in Keras.

Key idea. PredNet is a network inspired by predictive coding in which each layer makes local predictions and forwards only the deviations, trained without labels by predicting future video frames.

  • PredNet
  • Deep Predictive Coding Networks
  • predictive coding
  • video prediction
  • next-frame prediction
  • future frame prediction
  • unsupervised learning
  • convolutional LSTM
  • KITTI

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lotter2017deeppredictivecodingnetworks,
      title={Deep Predictive Coding Networks for Video Prediction and Unsupervised Learning}, 
      author={William Lotter and Gabriel Kreiman and David Cox},
      year={2017},
      eprint={1605.08104},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1605.08104}, 
}