[论文解读] AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning
AnimateDiff 提供一个即插即用的运动模块,用于在不进行模型特定微调的情况下对个性化 T2I 扩散模型进行动画化,并配合 MotionLoRA 实现对新运动模式的轻量级适配。
With the advance of text-to-image (T2I) diffusion models (e.g., Stable Diffusion) and corresponding personalization techniques such as DreamBooth and LoRA, everyone can manifest their imagination into high-quality images at an affordable cost. However, adding motion dynamics to existing high-quality personalized T2Is and enabling them to generate animations remains an open challenge. In this paper, we present AnimateDiff, a practical framework for animating personalized T2I models without requiring model-specific tuning. At the core of our framework is a plug-and-play motion module that can be trained once and seamlessly integrated into any personalized T2Is originating from the same base T2I. Through our proposed training strategy, the motion module effectively learns transferable motion priors from real-world videos. Once trained, the motion module can be inserted into a personalized T2I model to form a personalized animation generator. We further propose MotionLoRA, a lightweight fine-tuning technique for AnimateDiff that enables a pre-trained motion module to adapt to new motion patterns, such as different shot types, at a low training and data collection cost. We evaluate AnimateDiff and MotionLoRA on several public representative personalized T2I models collected from the community. The results demonstrate that our approaches help these models generate temporally smooth animation clips while preserving the visual quality and motion diversity. Codes and pre-trained weights are available at https://github.com/guoyww/AnimateDiff.
研究动机与目标
- 在不对每个模型进行微调的情况下实现个性化 T2I 模型的动画生成
- 从视频数据中学习可迁移的运动先验以驱动时序动态
- 引入一种轻量级微调方法(MotionLoRA)以将运动适配到新模式
- 展示与内容控制方法的兼容性以实现可控动画
- 在多样的社区模型上进行评估,以展示泛化性和质量保留
提出的方法
- 训练一个领域适配器以弥合高质量图像与低质量视频数据之间的视觉分布差距
- 将 2D T2I 扩充以处理 5D 视频张量,并插入一个时序 Transformer 作为运动模块
- 使用正弦位置编码和零初始化投影并结合残差连接来学习运动先验
- 可选地通过向运动模块添加 LoRA 层来应用 MotionLoRA,以适应新运动模式
- 仅微调轻量组件(领域适配器、运动模块、MotionLoRA),同时保持基础 T2I 和适配器冻结
- 证明与 ControlNet 的兼容性以实现可控动画且无需额外训练
实验结果
研究问题
- RQ1能否仅通过从视频中学习的单一运动模块在不对基础模型进行微调的情况下泛化以为任何个性化 T2I 模型生成动画?
- RQ2时序 Transformer 是否在基于扩散的 T2I 中有效捕捉用于动画的运动先验?
- RQ3MotionLoRA 是否能用最少的数据和计算量有效地将预训练的运动模块适配到新运动模式?
- RQ4AnimateDiff 在为动画添加连贯运动的同时,是否保持了领域特定的视觉质量?
- RQ5AnimateDiff 如何与现有的内容控制方法(如 Controllable 动画)互动?
主要发现
- AnimateDiff 在接入多种个性化 T2I 模型时无需模型特定微调即可实现视觉连贯的动画
- 时序 Transformer 能有效在时间轴上建模用于动画的运动先验
- MotionLoRA 能在仅需 20–50 个参考视频和约 2k 训练迭代的情况下适配新运动模式
- 领域适配器有助于缓解视频数据与基础 T2I 训练数据之间的视觉质量差距,从而提升结果
- AnimateDiff 在用户研究和 CLIP 指标中实现了更有利的文本对齐、域相似性和运动平滑性
- 该方法在不需要额外训练的情况下,仍然与如 ControlNet 之类的内容控制方法兼容以实现可控动画
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。