All models

CrevNet

A conditionally reversible video prediction model with a two-way autoencoder and a reversible recurrent predictor.

Video · 3,353 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

This diagram has 3,353 operations (592 KB) and is drawn when you ask.

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
334.3M
Operations
3,353
Framework
PyTorch
Recurrent
Yes
Published
2019
Cited by
21 (as of 14 November 2026)
Authors
Wei Yu, Yichao Lu, Steve Easterbrook, Sanja Fidler
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
m15469
Graph hash
db9445927312fda32b1ee29030731ee7061c2229c652db1bd532a1985c898e8b
Skeleton hash
f81be57aa45251a6214c7809c2e67a7cf41d9d84e3769d23f0ac93f04eeff32b
Architecture hash
0b969e249183253ede6506105134680c31e07b0cac9477e3103558afc47123f7
Diagram SHA-256
b33b42df8c732a58b6f3574f5b0aa51ca6d72c221a9222f86c030ea100f1a64e
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

CrevNet, a Conditionally Reversible Network, is a video prediction model made of a bijective two-way autoencoder and a complementary recurrent predictor, both built from reversible architectures. The paper's motivation is that the resolution-preserving blocks commonly used to keep information in video prediction have high memory consumption.

The two-way autoencoder uses the forward and backward passes of one invertible network as encoder and decoder. Each input is first reshaped and split channelwise into two groups. The autoencoder is based on the additive coupling layer introduced in NICE, which makes it bijective. Downsampling uses a pixel shuffle layer, which is also bijective. The predictor is built from reversible predictive modules (RPM), which replace all standard convolutions with ConvRNN layers and use soft attention to form a weighted sum of the two groups instead of adding them directly.

The model is called conditionally reversible because, when conditioned on previous hidden states, it can exactly reconstruct the input from its predictions. The paper evaluates it on Traffic4cast, a traffic dataset in which each frame is a 495 × 436 × 3 heatmap. There the general architecture is a 36-layer two-way autoencoder with 8 RPMs. The authors report that they were able to train the model on a single V100 GPU.

Key idea. CrevNet builds a video predictor from a bijective two-way autoencoder and a reversible recurrent predictor, so feature extraction loses no information and memory consumption is much lower.

  • crevnet
  • conditionally reversible network
  • conditionally reversible video prediction
  • video prediction
  • future frame prediction
  • reversible network
  • two-way autoencoder
  • traffic4cast
  • traffic forecasting

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

Cite the paper

@misc{yu2019crevnetconditionallyreversiblevideo,
      title={CrevNet: Conditionally Reversible Video Prediction}, 
      author={Wei Yu and Yichao Lu and Steve Easterbrook and Sanja Fidler},
      year={2019},
      eprint={1910.11577},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1910.11577}, 
}