TAGRPO: Boosting GRPO on Image-to-Video Generation with Direct Trajectory Alignment
Jin Wang, Jianxiang Lu, Guangzheng Xu, Comi Chen, Haoyu Yang, Linqing Wang, Peng Chen, Mingtao Chen, Zhichao Hu, Longhuang Wu, Shuai Shao, Qinglin Lu, Ping Luo
TL;DR
TAGRPO addresses the limited success of applying visual GRPO to image-to-video diffusion by introducing a trajectory-alignment objective and a memory bank to exploit inter-sample relations among rollout videos. The method defines a trajectory alignment loss that encourages all samples in a group to follow the high-reward trajectory and diverge from the low-reward one, combined with standard GRPO into J_TAGRPO = J_GRPO + gamma J_align; a memory bank stores past latents and rewards to improve efficiency. Experiments on Wan 2.2 and HunyuanVideo-1.5 show TAGRPO achieving faster convergence and higher rewards than DanceGRPO across 320p and 720p and with different reward models, demonstrating strong generalization. The contributions include a novel trajectory-alignment framework, a memory-bank mechanism to reduce rollout costs, and demonstrated state-of-the-art GRPO-based post-training for I2V, with plans to open-source code and models.
Abstract
Recent studies have demonstrated the efficacy of integrating Group Relative Policy Optimization (GRPO) into flow matching models, particularly for text-to-image and text-to-video generation. However, we find that directly applying these techniques to image-to-video (I2V) models often fails to yield consistent reward improvements. To address this limitation, we present TAGRPO, a robust post-training framework for I2V models inspired by contrastive learning. Our approach is grounded in the observation that rollout videos generated from identical initial noise provide superior guidance for optimization. Leveraging this insight, we propose a novel GRPO loss applied to intermediate latents, encouraging direct alignment with high-reward trajectories while maximizing distance from low-reward counterparts. Furthermore, we introduce a memory bank for rollout videos to enhance diversity and reduce computational overhead. Despite its simplicity, TAGRPO achieves significant improvements over DanceGRPO in I2V generation.
