TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Exploiting Optical Flow Guidance for Transformer-Based Vid...

Exploiting Optical Flow Guidance for Transformer-Based Video Inpainting

Kaidong Zhang, Jialun Peng, Jingjing Fu, Dong Liu

2023-01-24Optical Flow EstimationVideo Inpainting
PaperPDFCodeCode

Abstract

Transformers have been widely used for video processing owing to the multi-head self attention (MHSA) mechanism. However, the MHSA mechanism encounters an intrinsic difficulty for video inpainting, since the features associated with the corrupted regions are degraded and incur inaccurate self attention. This problem, termed query degradation, may be mitigated by first completing optical flows and then using the flows to guide the self attention, which was verified in our previous work - flow-guided transformer (FGT). We further exploit the flow guidance and propose FGT++ to pursue more effective and efficient video inpainting. First, we design a lightweight flow completion network by using local aggregation and edge loss. Second, to address the query degradation, we propose a flow guidance feature integration module, which uses the motion discrepancy to enhance the features, together with a flow-guided feature propagation module that warps the features according to the flows. Third, we decouple the transformer along the temporal and spatial dimensions, where flows are used to select the tokens through a temporally deformable MHSA mechanism, and global tokens are combined with the inner-window local tokens through a dual perspective MHSA mechanism. FGT++ is experimentally evaluated to be outperforming the existing video inpainting networks qualitatively and quantitatively.

Results

TaskDatasetMetricValueModel
3DDAVISLPIPS (object)0.035FGT++
3DDAVISLPIPS (square)0.028FGT++
3DDAVISPNSR (object)35.61FGT++
3DDAVISSSIM (object)0.961FGT++
3DDAVISSSIM (square)0.971FGT++
3DDAVISLPIPS (object)0.027FGT++*
3DDAVISLPIPS (square)0.022FGT++*
3DDAVISPNSR (object)35.9FGT++*
3DDAVISSSIM (object)96.8FGT++*
3DDAVISSSIM (square)97.6FGT++*
3DYouTube-VOSLPIPS0.025FGT++
3DYouTube-VOSPSNR35.02FGT++
3DYouTube-VOSPSNR (square)33.18FGT++
3DYouTube-VOSSSIM97.6FGT++
3DYouTube-VOSLPIPS0.022FGT++*
3DYouTube-VOSPSNR35.36FGT++*
3DYouTube-VOSPSNR (square)33.72FGT++*
3DYouTube-VOSSSIM97.8FGT++*
Video InpaintingDAVISLPIPS (object)0.035FGT++
Video InpaintingDAVISLPIPS (square)0.028FGT++
Video InpaintingDAVISPNSR (object)35.61FGT++
Video InpaintingDAVISSSIM (object)0.961FGT++
Video InpaintingDAVISSSIM (square)0.971FGT++
Video InpaintingDAVISLPIPS (object)0.027FGT++*
Video InpaintingDAVISLPIPS (square)0.022FGT++*
Video InpaintingDAVISPNSR (object)35.9FGT++*
Video InpaintingDAVISSSIM (object)96.8FGT++*
Video InpaintingDAVISSSIM (square)97.6FGT++*
Video InpaintingYouTube-VOSLPIPS0.025FGT++
Video InpaintingYouTube-VOSPSNR35.02FGT++
Video InpaintingYouTube-VOSPSNR (square)33.18FGT++
Video InpaintingYouTube-VOSSSIM97.6FGT++
Video InpaintingYouTube-VOSLPIPS0.022FGT++*
Video InpaintingYouTube-VOSPSNR35.36FGT++*
Video InpaintingYouTube-VOSPSNR (square)33.72FGT++*
Video InpaintingYouTube-VOSSSIM97.8FGT++*

Related Papers

Channel-wise Motion Features for Efficient Motion Segmentation2025-07-17An Efficient Approach for Muscle Segmentation and 3D Reconstruction Using Keypoint Tracking in MRI Scan2025-07-11Learning to Track Any Points from Human Motion2025-07-08TLB-VFI: Temporal-Aware Latent Brownian Bridge Diffusion for Video Frame Interpolation2025-07-07MEMFOF: High-Resolution Training for Memory-Efficient Multi-Frame Optical Flow Estimation2025-06-29EndoFlow-SLAM: Real-Time Endoscopic SLAM with Flow-Constrained Gaussian Splatting2025-06-26WAFT: Warping-Alone Field Transforms for Optical Flow2025-06-26Video Virtual Try-on with Conditional Diffusion Transformer Inpainter2025-06-26