MotiF: Making Text Count in Image Animation with Motion Focal Loss
Shijie Wang, Samaneh Azadi, Rohit Girdhar, Saketh Rambhatla, Chen Sun, Xi Yin
TL;DR
The paper tackles text-driven image-to-video (TI2V) generation, where motion following the prompt is often insufficient due to conditional image leakage. It introduces Motion Focal Loss (MotiF), which weights the diffusion training loss by a motion heatmap derived from optical flow to concentrate learning on high-motion regions, formalized as $\mathcal{L}_{\text{motif}} = \mathbb{E}_{t,\mathbf{x},\boldsymbol{\epsilon}} \| \mathbf{m}' \cdot (\boldsymbol{\epsilon} - \boldsymbol{\epsilon}_{\theta}(\mathbf{z}_t, \mathbf{c}, t)) \|_2^2$ with $\mathcal{L} = \mathcal{L}_{\text{diffusion}} + \lambda \mathcal{L}_{\text{motif}}$. It also introduces TI2V-Bench, a 320-image-text-pair benchmark across 22 scenarios, along with a JUICE-inspired human evaluation protocol for robust assessment of text and motion alignment. Empirical results show MotiF achieves an average 72% preference over nine open-sourced TI2V models, demonstrating improved text adherence and motion generation while remaining complementary to existing motion priors. The work provides a simple, effective, and inference-light approach to enhance TI2V performance and offers a rigorous human-centered benchmark for evaluating text-driven video animation.
Abstract
Text-Image-to-Video (TI2V) generation aims to generate a video from an image following a text description, which is also referred to as text-guided image animation. Most existing methods struggle to generate videos that align well with the text prompts, particularly when motion is specified. To overcome this limitation, we introduce MotiF, a simple yet effective approach that directs the model's learning to the regions with more motion, thereby improving the text alignment and motion generation. We use optical flow to generate a motion heatmap and weight the loss according to the intensity of the motion. This modified objective leads to noticeable improvements and complements existing methods that utilize motion priors as model inputs. Additionally, due to the lack of a diverse benchmark for evaluating TI2V generation, we propose TI2V Bench, a dataset consists of 320 image-text pairs for robust evaluation. We present a human evaluation protocol that asks the annotators to select an overall preference between two videos followed by their justifications. Through a comprehensive evaluation on TI2V Bench, MotiF outperforms nine open-sourced models, achieving an average preference of 72%. The TI2V Bench and additional results are released in https://wang-sj16.github.io/motif/.
