In-Context Learning with Unpaired Clips for Instruction-based Video Editing

Xinyao Liao, Xianfang Zeng, Ziye Song, Zhoujie Fu, Gang Yu +1 more
10/16/2025
cs.CVcs.AI

No official code found. Best implementation: leoisufa/ICVE (25 stars, last commit 2025-12-10).

Abstract

Despite the rapid progress of instruction-based image editing, its extension to video remains underexplored, primarily due to the prohibitive cost and complexity of constructing large-scale paired video editing datasets. To address this challenge, we introduce a low-cost pretraining strategy for instruction-based video editing that leverages in-context learning from unpaired video clips. We show that pretraining a foundation video generation model with this strategy endows it with general editing capabilities, such as adding, replacing, or deleting operations, according to input editing instructions. The pretrained model can then be efficiently refined with a small amount of high-quality paired editing data. Built upon HunyuanVideoT2V, our framework first pretrains on approximately 1M real video clips to learn basic editing concepts, and subsequently fine-tunes on fewer than 150k curated editing pairs to extend more editing tasks and improve the editing quality. Comparative experiments show that our method surpasses existing instruction-based video editing approaches in both instruction alignment and visual fidelity, achieving a 12\% improvement in editing instruction following and a 15\% improvement in editing quality.

View on arXivView PDF

Code Implementations(1)

leoisufa/ICVECommunity67%

[Preprint 2025] ICVE: In-Context Learning with Unpaired Clips for Instruction-based Video Editing

250Shell, PythonOct 14, 202510 months ago
video-editing

Similar Papers

Cite this paper

@article{liao2025incontext,
  title  = {In-Context Learning with Unpaired Clips for Instruction-based Video Editing},
  author = {Xinyao Liao and Xianfang Zeng and Ziye Song and Zhoujie Fu and Gang Yu and Guosheng Lin},
  year   = {2025},
  eprint = {2510.14648},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.14648v1}
}

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/2510.14648.svg)](https://codeofpaper.com/paper/2510.14648)

Discussion