UniPaint: Unified Space-time Video Inpainting via Mixture-of-Experts

Zhen Wan, Chenyang Qi, Zhiheng Liu, Tao Gui, Yue Ma
12/9/2024
cs.CV

No official code found. Best implementation: ArizmendiWan/UniPaint (6 stars, Apache-2.0, last commit 2025-07-29).

Abstract

In this paper, we present UniPaint, a unified generative space-time video inpainting framework that enables spatial-temporal inpainting and interpolation. Different from existing methods that treat video inpainting and video interpolation as two distinct tasks, we leverage a unified inpainting framework to tackle them and observe that these two tasks can mutually enhance synthesis performance. Specifically, we first introduce a plug-and-play space-time video inpainting adapter, which can be employed in various personalized models. The key insight is to propose a Mixture of Experts (MoE) attention to cover various tasks. Then, we design a spatial-temporal masking strategy during the training stage to mutually enhance each other and improve performance. UniPaint produces high-quality and aesthetically pleasing results, achieving the best quantitative results across various tasks and scale setups. The code and checkpoints are available at $\href{https://github.com/mmmmm-w/UniPaint}{this \ repository}$.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for ICCVW paper, UniPaint: Unified Space-time Video Inpainting via Mixture-of-Experts

60Shell, PythonAug 3, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{wan2024unipaint,
  title  = {UniPaint: Unified Space-time Video Inpainting via Mixture-of-Experts},
  author = {Zhen Wan and Chenyang Qi and Zhiheng Liu and Tao Gui and Yue Ma},
  year   = {2024},
  eprint = {2412.06340},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.06340v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.06340.svg)](https://codeofpaper.com/paper/2412.06340)

Discussion