arXiv:2411.10501cs.CVcs.LG2024-11CVPR被引 13

用光流控制视频生成运动,让输出更符合输入动作。

OnlyFlow: Optical Flow based Motion Conditioning for Video Diffusion Models

  • 用输入视频提取光流,作为运动条件输入生成模型。
  • 无需额外训练,在多种任务中表现优于现有方法。
  • 适合需要精准运动控制的视频生成场景。

针对文本到视频生成中对运动精确控制的需求,如相机移动或视频编辑,现有方法多依赖用户定义的二值掩码或相机运动嵌入。本文提出OnlyFlow,首次利用输入视频的光流作为运动条件来引导生成视频。通过在输入视频上应用光流估计模型,得到的光流特征经可训练的光流编码器处理后,注入文本到视频生成主干模型。实验表明,OnlyFlow虽未针对特定任务训练,但在定量、定性和用户偏好评估中均优于当前最优方法,展现出良好的泛化性与高效性。代码与模型将开源于GitHub和HuggingFace。

原文摘要 · Abstract (English)

We consider the problem of text-to-video generation tasks with precise control for various applications such as camera movement control and video-to-video editing. Most methods tacking this problem rely on providing user-defined controls, such as binary masks or camera movement embeddings. In our approach we propose OnlyFlow, an approach leveraging the optical flow firstly extracted from an input video to condition the motion of generated videos. Using a text prompt and an input video, OnlyFlow allows the user to generate videos that respect the motion of the input video as well as the text prompt. This is implemented through an optical flow estimation model applied on the input video, which is then fed to a trainable optical flow encoder. The output feature maps are then injected into the text-to-video backbone model. We perform quantitative, qualitative and user preference studies to show that OnlyFlow positively compares to state-of-the-art methods on a wide range of tasks, even though OnlyFlow was not specifically trained for such tasks. OnlyFlow thus constitutes a versatile, lightweight yet efficient method for controlling motion in text-to-video generation. Models and code will be made available on GitHub and HuggingFace.

视频生成扩散模型光流控制

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。