cain_frame_interpolation
A video frame interpolation network that uses PixelShuffle and channel attention instead of optical flow.
Video · 766 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
- 42.8M
- Operations
- 766
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2020
- Cited by
- 337 (as of 22 October 2026)
- Authors
- Myungsub Choi, Heewon Kim, Bohyung Han and others
- Source
- GitHub: myungsub/CAIN
- 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
- m3732
- Graph hash
- 74490c273c63a50fabd51be7361d9531ca7c0512ec4a83092cebe398df452515
- Skeleton hash
- c691977ea038800a8b50ff8f69e4e9c9b636b0f26f51dfa8de42593fd70a4a30
- Architecture hash
- e3664756cdb6d1cd1ef26d6d2c9ceffbc2f764c9370d9787e07a8454ca64fb5d
- Diagram SHA-256
- 8ad58e47f16ebafe1ea39022eaf58574b43c7f389b1778acb4b24114af0f1cc4
- 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
CAIN is a network for video frame interpolation: given two video frames, it synthesizes the frame that belongs between them. The paper notes that the prevailing methods relied on optical flow estimation, which adds model complexity and computational cost and propagates errors when motion is large or occlusion is heavy. CAIN is trained end to end and has no motion estimation component.
In its place the network uses PixelShuffle, a feature reshaping operation, together with channel attention. Each input frame is down-shuffled by a factor of 8, and the combined result is passed through a series of residual blocks with channel attention before being up-shuffled into the output frame. The paper's network has five residual groups of 12 residual channel attention blocks each, 60 blocks in total. The stated idea is to distribute the information in a feature map into multiple channels and extract motion information by attending to the channels.
To measure performance under large motion, the authors built a benchmark called SNU-FILM (SNU Frame Interpolation with Large Motion). It has four settings, Easy, Medium, Hard and Extreme, defined by the temporal gap between the two input frames. In the paper's ablation, adding channel attention gives a PSNR gain of 0.4 dB on Vimeo90k. Compared with DAIN, the paper reports CAIN as marginally less accurate but faster by more than one order of magnitude, with about 7% of the memory usage.
Key idea. CAIN replaces the optical flow module of video frame interpolation with PixelShuffle feature reshaping and channel attention in an end-to-end trainable network.
- CAIN
- Channel Attention Is All You Need
- video frame interpolation
- frame interpolation
- channel attention
- PixelShuffle
- SNU-FILM
- flow-free interpolation
- intermediate frame synthesis
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Choi_2020, title={Channel Attention Is All You Need for Video Frame Interpolation}, volume={34}, ISSN={2159-5399}, url={http://dx.doi.org/10.1609/aaai.v34i07.6693}, DOI={10.1609/aaai.v34i07.6693}, number={07}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, publisher={Association for the Advancement of Artificial Intelligence (AAAI)}, author={Choi, Myungsub and Kim, Heewon and Han, Bohyung and Xu, Ning and Lee, Kyoung Mu}, year={2020}, month=Apr, pages={10663–10671} }