sepconv_lf
Frame interpolation network that predicts per-pixel pairs of 1D kernels, tuned with a perceptual loss.
Video · 72 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
- 482.9K
- Operations
- 72
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICCV (arXiv 2017)
- Cited by
- 741 (as of 29 October 2026)
- Authors
- Simon Niklaus, Long Mai, Feng Liu
- 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
- m12126
- Graph hash
- af7952701358056cc54a52990d61e2bfb5e152057dd0c45b45886e2ddbbbb6e1
- Skeleton hash
- a4e347b418deac9f06b3638155f485bc3ba5410d8bc1a1e0bff61a76d90710b0
- Architecture hash
- 17c4c93b78d3f5090944904c9d00c4a53e7ffe577869634c2b2d35c184f5d067
- Diagram SHA-256
- b69a40485debae750009a07164b96d63f38489da79c19060e36860763eabc0dd
- 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
How this diagram was made
menagerie.classics.sepconv_lf:build_sepconv_lf: build({}) What it is
SepConv is a video frame interpolation network: give it two consecutive frames and it synthesizes the frame that belongs between them. The older recipe estimated optical flow first and then warped pixels along it, which breaks down wherever flow is hard to get right, in occlusions, blur and sudden brightness changes. The convolution approach this paper extends skips that step and instead predicts, for every output pixel, a spatially adaptive kernel that folds motion and resampling into one operation.
The trouble was memory: handling large motion needs large kernels, and producing two 41 by 41 kernels for every pixel of a 1080p frame would take 26 GB. The idea here is to approximate each 2D kernel with a pair of 1D kernels, one vertical and one horizontal, cutting the parameters per kernel from n squared to 2n. That makes it possible to estimate the kernels for the whole frame in one pass with a fully convolutional network, and at 1080p the separable version of 41 by 41 kernels needs 1.27 GB instead of 26 GB. The network is an encoder-decoder with skip connections, average pooling in the contracting half and bilinear upsampling in the decoder, which the authors chose to avoid checkerboard artifacts. Its last expansion layer splits into four sub-networks, one per 1D kernel, and the predicted kernels are applied to the input frames as a local convolution layer so the whole thing trains end to end.
This member is the LF model, the variant trained first with an L1 loss and then fine-tuned with a perceptual feature loss, which the paper found gives sharper images with more high-frequency detail. The trade-off is explicit in the paper: the L1 model scores better on numbers, while the LF model wins on visual quality in the user study. The kernel size in the published system is 51 pixels, which bounds the amount of motion it can handle.
Key idea. Formulating frame interpolation as local separable convolution with pairs of 1D kernels, so one fully convolutional pass can estimate kernels for every pixel and train with perceptual loss.
- SepConv
- sepconv LF
- adaptive separable convolution
- video frame interpolation
- frame interpolation
- slow motion
- Niklaus
- kernel prediction
- perceptual loss
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{niklaus2017videoframeinterpolationadaptive,
title={Video Frame Interpolation via Adaptive Separable Convolution},
author={Simon Niklaus and Long Mai and Feng Liu},
year={2017},
eprint={1708.01692},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1708.01692},
}