Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Region-Constraint In-Context Generation for Instructional Video Editing

About

The In-context generation paradigm recently has demonstrated strong power in instructional image editing with both data efficiency and synthesis quality. Nevertheless, shaping such in-context learning for instruction-based video editing is not trivial. Without specifying editing regions, the results can suffer from the problem of inaccurate editing regions and the token interference between editing and non-editing areas during denoising. To address these, we present ReCo, a new instructional video editing paradigm that novelly delves into constraint modeling between editing and non-editing regions during in-context generation. Technically, ReCo width-wise concatenates source and target video for joint denoising. To calibrate video diffusion learning, ReCo capitalizes on two regularization terms, i.e., latent and attention regularization, conducting on one-step backward denoised latents and attention maps, respectively. The former increases the latent discrepancy of the editing region between source and target videos while reducing that of non-editing areas, emphasizing the modification on editing area and alleviating outside unexpected content generation. The latter suppresses the attention of tokens in the editing region to the tokens in counterpart of the source video, thereby mitigating their interference during novel object generation in target video. Furthermore, we propose a large-scale, high-quality video editing dataset, i.e., ReCo-Data, comprising 500K instruction-video pairs to benefit model training. Extensive experiments conducted on four major instruction-based video editing tasks demonstrate the superiority of our proposal.

Zhongwei Zhang, Fuchen Long, Wei Li, Zhaofan Qiu, Wu Liu, Ting Yao, Tao Mei• 2025

Related benchmarks

TaskDatasetResultRank
Video EditingOpenVE-Bench (test)
Overall Score2.42
28
Detailed CaptionKVBench Detailed Caption, zh
Overall Score9.47
16
Detailed CaptionKVBench Detailed Caption en
Overall Score35.84
16
Object ReplacementOcclusion-Bench
Instance FID (Frame)21.63
6
Style Video EditingReCo-Bench
SA9.11
6
Object AdditionOcclusion-Bench
Instance FID (Frame)20.89
6
Replace Video EditingReCo-Bench
SA Score9.38
6
Add Video EditingReCo-Bench
SA Score8.65
6
Object RemovalOcclusion-Bench
Instance Fidelity (Frame)22.13
6
Remove Video EditingReCo-Bench
SA Score7.43
5
Showing 10 of 15 rows

Other info

GitHub

Follow for update