DPC
A self-supervised video model that learns by predicting future representations of spatio-temporal blocks.
Video · 452 operations Checked
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
- 14.6M
- Operations
- 452
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- ICCV Workshops (arXiv 2019)
- Cited by
- 383 (as of 28 October 2026)
- Authors
- Tengda Han, Weidi Xie, Andrew Zisserman
- Source
- GitHub: TengdaHan/DPC
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15711
- Graph hash
- cd0e02ef7f0cd6fbf3ebd18ef719111cdc436ef1d3f2ba55269b6bb1642503db
- Skeleton hash
- ae74294d47562f33325f6d01b0cd755b974335e442f1bf6d8f9a9ee004dd615f
- Architecture hash
- c150113b4848003c528a36cad0ca2ea21d808d1c59d98d11ea67b012bd816a30
- Diagram SHA-256
- ff7d3611bb3f9df4f0fdbdc1022e179e0936873c4619659b6f70090f6c0aa0a8
- 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
Dense Predictive Coding (DPC) is a framework for self-supervised learning of spatio-temporal embeddings from video, suitable for human action recognition. It learns a dense encoding of spatio-temporal blocks by recurrently predicting future representations.
Training follows a curriculum that predicts further into the future with progressively less temporal context. The paper says this encourages the model to encode only slowly varying spatial-temporal signals, which leads to semantic representations.
The released code gives an example that trains DPC-RNN with a 3D-ResNet18 backbone on Kinetics400 at 128x128 resolution for 300 epochs. For that setting, the repository's results table gives 68.2% top-1 accuracy on UCF101 and 34.5% on HMDB51 after fine-tuning. With a single RGB stream, the paper reports 75.7% top-1 accuracy on UCF101 and 35.7% on HMDB51 for representations pretrained with DPC. The authors write that the 3D-ResNet18 model took more than 1 week to train on Kinetics-400 at 128x128, and the 3D-ResNet34 model at 224x224 about 6 weeks, with 4 Nvidia P40 GPUs.
Key idea. The paper introduces Dense Predictive Coding, which learns video representations without labels by recurrently predicting future representations of spatio-temporal blocks.
- dpc
- dense predictive coding
- dpc-rnn
- video representation learning
- self-supervised video representation learning
- predictive coding video
- action recognition pretraining
- future representation prediction
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{han2019videorepresentationlearningdense,
title={Video Representation Learning by Dense Predictive Coding},
author={Tengda Han and Weidi Xie and Andrew Zisserman},
year={2019},
eprint={1909.04656},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1909.04656},
}