CLIP-RL: Closed-Loop Video Inpainting with Detection-Guided Reinforcement Learning

Read full text
Authors: Meng Wang, Jing Ren, Bin Wang, Xueping Tang
Cited by: 0

Abstract

Existing video inpainting methods typically combine optical flow propagation with Transformer architectures, achieving promising inpainting results. However, they lack adaptive inpainting strategy optimization in diverse scenarios, and struggle to capture high-level temporal semantics, causing temporal inconsistencies and quality degradation. To address these challenges, we make one of the first attempts to introduce reinforcement learning into the video inpainting domain, establishing a closed-loop framework named CLIP-RL that enables adaptive strategy optimization. Specifically, video inpainting is reformulated as an agent-environment interaction, where the inpainting module functions as the agent's execution component, and a pre-trained inpainting detection module provides real-time quality feedback. Guided by a policy network and a composite reward function that incorporates a weighted temporal alignment loss, the agent dynamically selects actions to adjust the inpainting strategy and iteratively refines the inpainting results. Compared to ProPainter, CLIP-RL improves PSNR from 34.43 to 34.67 and SSIM from 0.974 to 0.986 on the YouTube-VOS dataset. Qualitative analysis demonstrates that CLIP-RL excels in detail preservation and artifact suppression, validating its superiority in video inpainting tasks.

Fields of Study & Subjects

Generative Adversarial Networks and Image Synthesis Advanced Vision and Imaging Image Enhancement Techniques

Publication details

Journal / source
Sensors
Volume
26
Issue
2
Pages
447–447
Publication date
9 January 2026
Language
EN