Abstract
Recent image-to-video (I2V) based video inpainting methods have made significant strides by leveraging single-image priors and modeling temporal consistency across masked frames. Nevertheless, these methods suffer from severe content degradation within video chunks. Furthermore, the absence of a robust frame alignment scheme compromises intra-chunk and inter-chunk spatiotemporal stability, resulting in insufficient control over the entire video. To address these limitations, we propose VidPivot, a novel framework that decouples video inpainting into two sub-tasks: multi-frame consistent image inpainting and masked area motion propagation. Our approach introduces frame interval priors as spatiotemporal cues to guide the inpainting process. To enhance cross-frame coherence, we design a FrameProp Module that implements a frame content propagation strategy, diffusing reference frame content into subsequent frames via a splicing mechanism. Additionally, a dedicated context controller encodes these coherent frame priors into the I2V generative backbone, effectively serving as soft constrain to suppress content distortion during generation. Extensive evaluations demonstrate that VidPivot achieves competitive performance across diverse benchmarks and generalizes well to different video inpainting scenarios.
Introduction
Video inpainting—the task of seamlessly removing or generating specific elements within a video based on a mask—is a fundamental challenge in computer vision. It requires a delicate balance of spatial fidelity, where each frame must appear photorealistic, and temporal coherence, where the sequence must flow naturally without flickering or morphing.
Recently, researchers have adapted powerful Image-to-Video (I2V) diffusion models for this task. The standard approach involves inpainting the first frame and allowing the I2V model to implicitly learn the motion for the remainder of the sequence. However, this often leads to severe content degradation and artifacts. When videos feature dynamic camera movements or are processed in chunks due to memory limits, models frequently lose track of the original object's identity, resulting in spatiotemporal instability. VidPivot addresses these issues by using sparsely sampled "anchor" frames to guide the diffusion process.
Methodology
VidPivot fundamentally decouples the video inpainting process into two distinct sub-tasks: appearance preservation and motion modeling. The framework operates through a three-step pipeline designed to maintain identity and structural integrity.
The FrameProp Module
Instead of relying solely on the first frame, VidPivot samples frames at regular intervals (e.g., every 5th or 20th frame). It inpaints the first frame and then utilizes a novel "splicing mechanism" to diffuse that content into subsequent sampled frames. To ensure the object maintains visual consistency from different angles, a low-rank ID adapter trained on multi-view images is employed. This creates a sparse sequence of highly consistent "anchor" frames that serve as a structural backbone.
Context Controller and Generation
These anchor frames are assembled into a condensed "context video." A dedicated context controller extracts features from this video and injects them directly into the first 10 layers of a pretrained I2V diffusion transformer. By providing these high-quality, ID-aligned anchor frames at set intervals, the model is softly constrained; it no longer has to "guess" the object's appearance and can focus purely on modeling the short-range dynamics between the anchors.
Experimental Setup and Datasets
The model was trained using two primary sources:
- MegaDepth: A dataset of diverse multi-view landmark scenes. The authors curated 820K masked image pairs to train the ID adapter, teaching it to synthesize objects from varying perspectives.
- VPData: 450K publicly available internet videos used to train the embedding layer and context controller.
Evaluation was conducted on the standard DAVIS benchmark (90 videos) and the more recent VPBench (VPBench-S and VPBench-L) for short and long video inpainting tasks.
Key Results
VidPivot demonstrates significant improvements in both quantitative metrics and qualitative visual stability. On the VPBench-L benchmark, VidPivot achieved state-of-the-art performance with a PSNR of 28.11 and a CLIP Similarity of 22.32, significantly outperforming baselines such as VideoPainter (PSNR 22.19) and VACE (PSNR 24.57).
Qualitatively, VidPivot excels in highly dynamic scenes. In scenarios involving full occlusion—where traditional optical flow-based methods like ProPainter often fail—or fast-moving objects, VidPivot maintains object identity without the severe blurring or residual artifacts seen in competing models. Human evaluation studies further support these findings, with participants preferring VidPivot results nearly twice as often as the nearest competitor on the DAVIS benchmark.
Conclusion and Future Work
By decoupling identity preservation from motion interpolation, VidPivot effectively reduces the error accumulation that plagues current I2V methods. While the ID adapter successfully generates objects from new viewpoints, the authors note that future work could benefit from integrating explicit camera pose information. Utilizing physical and motion modeling cues for pixel warping could further stabilize rigid backgrounds in highly dynamic scenes, pushing the boundaries of consistent video editing.
Summary updated