cs.CVMar 23, 2026

TrajLoom: Dense Future Trajectory Generation from Video

Authors: Zewei Zhang, Jia Jun Cheng Xian, Kaiwen Liu, Ming Liang, Hang Chu, Jun Chen, Renjie Liao

Organizations: McMaster University · University of British Columbia · Vector Institute · Viggle AI · Canada CIFAR AI Chair

Abstract

Predicting future motion is crucial in video understanding and controllable video generation. Dense point trajectories are a compact, expressive motion representation, but modeling their future evolution from observed video remains challenging. We propose a framework that predicts future trajectories and visibility from past trajectories and video context. Our method has three components: (1) Grid-Anchor Offset Encoding, which reduces location-dependent bias by representing each point as an offset from its pixel-center anchor; (2) TrajLoom-VAE, which learns a compact spatiotemporal latent space for dense trajectories with masked reconstruction and a spatiotemporal consistency regularizer; and (3) TrajLoom-Flow, which generates future trajectories in latent space via flow matching, with boundary cues and on-policy K-step fine-tuning for stable sampling. We also introduce TrajLoomBench, a unified benchmark spanning real and synthetic videos with a standardized setup aligned with video-generation benchmarks. Compared with state-of-the-art methods, our approach extends the prediction horizon from 24 to 81 frames while improving motion realism and stability across datasets. The predicted trajectories directly support downstream video generation and editing. Code, model checkpoints, and datasets are available at https://trajloom.github.io/.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning Long-term Motion Embeddings for Efficient Kinematics Generation

    Apr 13, 2026Nick Stracke, Kolja Bauer, Stefan Andreas Baumann +3Motion Representation LearningHuman Motion Generation

  2. Envisioning the Future, One Step at a Time

    Apr 10, 2026Stefan Andreas Baumann, Jannik Wiese, Tommaso Martorella +2Trajectory PredictionAutoregressive Diffusion

  3. Kepler4D: Controllable Future Video Generation via 4D Scene State Evolution

    Oct 2, 2026Feiran Wang, Bin Duan, Junyi Wu +2Video GenerationControllable Video Generation