Skip to main content
QUICK REVIEW

[Paper Review] TrajLoom: Dense Future Trajectory Generation from Video

Zewei Zhang, Jia Jun Cheng Xian|arXiv (Cornell University)|Mar 23, 2026
Generative Adversarial Networks and Image SynthesisComputer Science0 citations
TL;DR

TrajLoom predicts dense future point trajectories from observed history using Grid-Anchor Offset Encoding, a TrajLoom-VAE latent space, and TrajLoom-Flow with boundary cues and on-policy fine-tuning; it achieves long-horizon, stable motion and advances state-of-the-art on TrajLoomBench.

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/.

Motivation & Objective

  • Motivate dense trajectory as a compact motion representation for future prediction in videos.
  • Develop an offset-based trajectory encoding to reduce location bias.
  • Learn a compact latent space for trajectories and a stable flow-based generator for extended horizon forecasts.
  • Introduce a unified benchmark (TrajLoomBench) spanning real and synthetic videos for fair evaluation.
  • Demonstrate improved realism, stability, and downstream applicability to motion-controlled video generation and editing.

Proposed method

  • Grid-Anchor Offset Encoding to convert absolute coordinates into offsets from a pixel-center anchor, reducing location bias.
  • TrajLoom-VAE: a VAE with masked reconstruction and a spatiotemporal consistency regularizer to learn compact latent representations of dense trajectory fields.
  • TrajLoom-Flow: a rectified-flow generator that predicts future latent trajectories conditioned on observed history and video context, with boundary cues and on-policy K-step fine-tuning to stabilize long-horizon sampling.
  • Boundary hints and token-aligned fusion integrate history latents into the flow, enabling coherent continuation of motion.
  • On-policy K-step rollout helps align training and inference paths to mitigate drift in ODE-based sampling.
  • Evaluation on TrajLoomBench comparing against image-conditioned baselines (WHN) across real and synthetic datasets.

Experimental results

Research questions

  • RQ1How to represent and forecast dense future trajectories from observed motion history and video context?
  • RQ2Can grid-anchor offset encoding improve location-invariance and prediction stability for long horizons?
  • RQ3Does a VAE-based latent trajectory space with a rectified-flow generator yield more realistic and coherent long-horizon futures than appearance-conditioned baselines?
  • RQ4What is the impact of boundary cues and on-policy fine-tuning on long-horizon trajectory generation?
  • RQ5How does TrajLoom perform on a unified Real+Synthetic benchmark for dense trajectory forecasting?

Key findings

  • TrajLoom achieves state-of-the-art motion realism and stability, extending prediction horizon from 24 to 81 frames.
  • Grid-Anchor Offset Encoding significantly reduces location-dependent variance and improves long-horizon performance.
  • TrajLoom-VAE provides improved trajectory reconstruction (VEPE) across datasets, with stable performance from 24 to 81 frames.
  • TrajLoom-Flow with boundary cues and on-policy fine-tuning yields lower FlowTV and DivCurlE, indicating smoother and more coherent motion.
  • On real and synthetic benchmarks, TrajLoom outperforms WHN in both quantitative metrics (FVMD, FlowTV, DivCurlE) and qualitative motion coherence.
  • Predicted trajectories effectively guide motion-controlled video generation and editing (Wan-Move integration).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.