NeRV
A network that stores a video in its weights: frame index in, RGB frame out.
Video · 57 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
- 507.1K
- Operations
- 57
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS (arXiv 2021)
- Cited by
- 414 (as of 30 November 2026)
- Authors
- Hao Chen, Bo He, Hanyu Wang and others
- 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
- m11673
- Graph hash
- 113aa84678d800d96ea01b4a3009b11c095e54de4c14799e9757594dd4bfd2d5
- Skeleton hash
- 76feb57141f38e4afb5a81c53420d36e5410a3aa8489e6f3d8c928e5fbed6bd4
- Architecture hash
- 622f5f2c6ce7e19ae2a2f9b90ef56d75c357277810143fa01949b5a5d3363265
- Diagram SHA-256
- 803efdcf1ae83e948b2e98ee2c25f0be9eb5c624c0a26451c7551f33aef85a41
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.nerv:build_nerv: build({}) What it is
NeRV, short for neural representations for videos, encodes a video in a neural network. Given a frame index, the network outputs the corresponding RGB image. Encoding a video is then fitting the network to its frames, and decoding is a feedforward operation.
The frame index passes through a positional encoding, which the paper uses as its embedding function. MLP layers come next, followed by a stack of NeRV blocks, so that pixels at different locations share convolutional kernels. Each NeRV block upscales the feature map with the PixelShuffle technique, a design the authors say was inspired by super-resolution networks. The paper's architecture has 5 NeRV blocks. This sets NeRV apart from pixel-wise implicit representations: for a video of T frames, a pixel-wise representation must be sampled once per pixel of every frame, while NeRV is sampled T times.
Because the video is now a network, the authors treat video compression as a model compression problem. Their pipeline has three steps, model pruning, model quantization and weight encoding. Against pixel-wise implicit representations, the paper reports encoding that is 25x to 70x faster and decoding that is 38x to 132x faster.
Key idea. NeRV represents a video as a neural network that takes a frame index and outputs the whole RGB frame, turning video compression into model compression.
- nerv
- neural representations for videos
- neural representation for videos
- implicit neural representation
- video compression
- video denoising
- frame index
- pixelshuffle
- inr
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2021nervneuralrepresentationsvideos,
title={NeRV: Neural Representations for Videos},
author={Hao Chen and Bo He and Hanyu Wang and Yixuan Ren and Ser-Nam Lim and Abhinav Shrivastava},
year={2021},
eprint={2110.13903},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2110.13903},
}