TGT: Text-Grounded Trajectories for Locally Controlled Video Generation
Guofeng Zhang, Angtian Wang, Jacob Zhiyuan Fang, Liming Jiang, Haotian Yang, Bo Liu, Yiding Yang, Guang Chen, Longyin Wen, Alan Yuille, Chongyang Ma
TL;DR
Text-Grounded Trajectories (TGT) addresses the lack of fine-grained control in text-to-video generation by grounding point trajectories to localized text descriptions. It introduces Location-Aware Cross-Attention (LACA), a lightweight plug-in that aligns local trajectory-associated text with nearby visual tokens while preserving global prompt adherence via a dual-CFG scheme. A scalable data pipeline creates trajectory–text supervision by grounding entities in frames and propagating points into full trajectories, resulting in a large two-million-clip corpus. Empirical results show improved trajectory accuracy and local text alignment without sacrificing visual quality, enabling practical applications such as video-to-video mirroring and targeted local editing. Overall, TGT demonstrates that explicit per-trajectory grounding can substantially enhance controllability in multi-object video generation with realistic temporal coherence.
Abstract
Text-to-video generation has advanced rapidly in visual fidelity, whereas standard methods still have limited ability to control the subject composition of generated scenes. Prior work shows that adding localized text control signals, such as bounding boxes or segmentation masks, can help. However, these methods struggle in complex scenarios and degrade in multi-object settings, offering limited precision and lacking a clear correspondence between individual trajectories and visual entities as the number of controllable objects increases. We introduce Text-Grounded Trajectories (TGT), a framework that conditions video generation on trajectories paired with localized text descriptions. We propose Location-Aware Cross-Attention (LACA) to integrate these signals and adopt a dual-CFG scheme to separately modulate local and global text guidance. In addition, we develop a data processing pipeline that produces trajectories with localized descriptions of tracked entities, and we annotate two million high quality video clips to train TGT. Together, these components enable TGT to use point trajectories as intuitive motion handles, pairing each trajectory with text to control both appearance and motion. Extensive experiments show that TGT achieves higher visual quality, more accurate text alignment, and improved motion controllability compared with prior approaches. Website: https://textgroundedtraj.github.io.
