All models

FuseFormer

A video inpainting Transformer that splits features into overlapping patches to fuse fine-grained detail.

Video · 388 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 (25 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
36.6M
Operations
388
Framework
PyTorch
Recurrent
No
Published
ICCV 2021
Cited by
164 (as of 27 October 2026)
Authors
Rui Liu, Hanming Deng, Yangyi Huang and others
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
m16772
Graph hash
66ae9bc7746578ae002c6be8aedcf11426aa3f7312527bdbb7e7e6bfade449cd
Skeleton hash
635e72a92e74f424da5dbfe030e98841681efd59275dbae705392a9fd6ae156c
Architecture hash
f548a70e1ad37135b5d9e65aa05903bd5ece7589295719285f9993201e74a144
Diagram SHA-256
6e5c50f6b0cb71a50bb15d0141679288f0f97c50db50129b71b45c49cafce66f
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

FuseFormer is a Transformer model for video inpainting, which synthesizes content for the hole regions of a video. The paper starts from a problem it sees in earlier Transformer work on this task: hard patch splitting leaves blurry edges in the detail.

FuseFormer replaces hard splitting with two operations: Soft Split divides a feature map into many patches with a given overlapping interval, and Soft Composition stitches the patches back into a whole feature map, summing the pixels in overlapping regions. The two operations turn features into tokens before the Transformer layers and tokens back into features after them, so that information can pass between neighboring patches below the patch level. They are also inserted into the feed-forward network, which gives its 1D linear layers the capability of modeling 2D structure.

The paper reports that FuseFormer surpassed the methods it was compared with in both quantitative and qualitative evaluations. It was accepted to ICCV 2021.

Key idea. FuseFormer introduces Soft Split and Soft Composition, overlapping patch operations that let a video inpainting Transformer fuse fine-grained features between neighboring patches.

  • fuseformer
  • video inpainting
  • video completion
  • soft split
  • soft composition
  • inpainting transformer
  • fine-grained feature fusion

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

Cite the paper

@misc{liu2021fuseformerfusingfinegrainedinformation,
      title={FuseFormer: Fusing Fine-Grained Information in Transformers for Video Inpainting}, 
      author={Rui Liu and Hanming Deng and Yangyi Huang and Xiaoyu Shi and Lewei Lu and Wenxiu Sun and Xiaogang Wang and Jifeng Dai and Hongsheng Li},
      year={2021},
      eprint={2109.02974},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2109.02974}, 
}