All models

MemDPC

Self-supervised video model that predicts future clip features as a convex combination of memory bank entries.

Video · 473 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 (344 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
33.8M
Operations
473
Framework
PyTorch
Recurrent
Yes
Published
ECCV 2020
Cited by
212 (as of 27 October 2026)
Authors
Tengda Han, Weidi Xie, Andrew Zisserman
License
Apache-2.0
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
m18394
Graph hash
fe4afaed12b237f05f38f8583aba51278916693389cb0e04b21d2754f9effc77
Skeleton hash
27538c7f5e07210cfe66a9ea3207b461fd08a3167f4f6bf9987c8ad845b2a92f
Architecture hash
01c34d007fd1c309c261668224b6948fad98c8c03f8df8986343283fced48984
Diagram SHA-256
df3e0babab3272787fa79a3736090d946a328137d6547cbbffd15bcefdf72112
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

MemDPC (Memory-augmented Dense Predictive Coding) learns video representations without labels, in particular representations for action recognition. During training it predicts the embeddings of future video blocks and uses them to select the true embedding in the dense predictive coding manner. Its addition to the earlier DPC model is a Compressive Memory: the prediction is a convex combination of memory elements instead of coming directly from the context feature. The paper presents this as a mechanism for handling multiple future hypotheses, since only one possible future is exposed by a particular video.

As in DPC, the video is partitioned into 8 blocks with 5 frames each. The encoder is a (2+3D)-ResNet in which the first two residual blocks have 2D convolutional kernels and only res4 and res5 have 3D kernels. Block embeddings are aggregated over time by a one-layer GRU with kernel size 1 × 1, the future prediction function is a two-layer convolutional network, and the memory bank has 1024 entries. A bi-directional version has two identical aggregators for forward and backward aggregation and predicts the past and the future features with a shared memory bank.

The paper evaluates the learned representation on four downstream tasks: action recognition, video retrieval, learning with scarce annotations and unintentional action classification. The repository provides ResNet34 weights pretrained on Kinetics400 for RGB and for optical flow.

Key idea. MemDPC augments dense predictive coding with a compressive memory, so that each predicted future state is a convex combination of memory entries and several hypotheses can be represented.

  • MemDPC
  • Memory-augmented Dense Predictive Coding
  • self-supervised video representation learning
  • video representation learning
  • dense predictive coding
  • contrastive predictive coding
  • action recognition
  • compressive memory

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

Cite the paper

@misc{han2020memoryaugmenteddensepredictivecoding,
      title={Memory-augmented Dense Predictive Coding for Video Representation Learning}, 
      author={Tengda Han and Weidi Xie and Andrew Zisserman},
      year={2020},
      eprint={2008.01065},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2008.01065}, 
}