TrajLoc: Trajectory-Attention Localization for Multi-Object Motion Control
Omer Sela, Inbar Huberman-Spiegelglas, Michael Rotman, Sagie Benaim, Avi Ben-Cohen
NeurIPS 2026
TL;DR. Multi-object motion control in image-to-video diffusion via per-object attention localization with Gaussian trajectory heatmaps and dedicated text tokens for trajectory and appearance, scaling to scenes with up to 20 interacting objects.
Abstract. Controlling the motion of multiple objects in image-to-video (I2V) generation requires preserving object identities while enforcing adherence to distinct target trajectories. This becomes particularly challenging as the number of objects increases and their paths intersect or occlude one another. Existing approaches entangle multiple trajectories within a shared, dense conditioning signal, making object-level correspondence difficult to preserve in crowded scenes. We depart from this paradigm and enforce a strict, per object spatial constraint that isolates instances independently. Our method, TrajLoc, achieves this directly within the attention layers by substituting the cross-attention weights of each object token with a Gaussian heatmap centered on its target location at every frame. The same per object token interface carries trajectory and depth through a learned embedding and preserves identity by encoding first frame appearance in place of an object token. Evaluations across six datasets, featuring up to 20 simultaneously controlled objects and out of distribution real world scenes, demonstrate that our method consistently improves both visual fidelity and trajectory adherence. Applied to two architecturally distinct backbones (CogVideoX 5B and WaN 2.1 14B), our approach achieves average gains of +4.3 dB PSNR and a 51% reduction in trajectory end point error compared to the strongest baselines. Project page: https://sela-omer.github.io/traj-loc/
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) TrajLoc converts trajectory-token attention into Gaussian heatmaps for localizing multiple moving objects during video generation. Results across several backbones indicate better trajectory adherence and object localization without redesigning the base generator. (b) The mechanism is simple, well matched to the failure mode, and supported by useful multi-backbone evidence. I also found the connection between trajectory tokens and spatial control technically clean. (c) Comparison fairness is the main concern: TrajLoc is trained on a private 25K synthetic set while some baselines use public checkpoints, and certain settings appear to use future-frame depth that may not be equally available. Scaling to more objects, crossing trajectories, and occlusion is underexplored, and the definition of the initial location q_i needs clarification. (d) I would want the response to separate the gain from extra data or privileged depth and to state exactly which signals are available at inference. A matched ablation or existing object-count result would be helpful, but I do not view a large new benchmark as necessary.
Final assessment. I have read the authors' response and the subsequent discussion. The added no-depth results, object-count and crossing analyses, and identity-aware measurements address the main concerns about privileged inputs and scaling. Training-data and adaptation-budget matching remains imperfect, but the cross-backbone and real-world results still support the core mechanism. The paper stands out by turning a difficult multi-object control problem into a simple, interpretable attention constraint that transfers across architectures and remains effective with crowded, crossing trajectories. My recommendation is Accept (spotlight).
Final justification
The metareview above has been updated to include the final assessment and the Spotlight rationale after considering the author response and reviewer discussion.
Read meta-review
Meta-review
(a) TrajLoc converts trajectory-token attention into Gaussian heatmaps for localizing multiple moving objects during video generation. Results across several backbones indicate better trajectory adherence and object localization without redesigning the base generator. (b) The mechanism is simple, well matched to the failure mode, and supported by useful multi-backbone evidence. I also found the connection between trajectory tokens and spatial control technically clean. (c) Comparison fairness is the main concern: TrajLoc is trained on a private 25K synthetic set while some baselines use public checkpoints, and certain settings appear to use future-frame depth that may not be equally available. Scaling to more objects, crossing trajectories, and occlusion is underexplored, and the definition of the initial location q_i needs clarification. (d) I would want the response to separate the gain from extra data or privileged depth and to state exactly which signals are available at inference. A matched ablation or existing object-count result would be helpful, but I do not view a large new benchmark as necessary.
Final assessment. I have read the authors' response and the subsequent discussion. The added no-depth results, object-count and crossing analyses, and identity-aware measurements address the main concerns about privileged inputs and scaling. Training-data and adaptation-budget matching remains imperfect, but the cross-backbone and real-world results still support the core mechanism. The paper stands out by turning a difficult multi-object control problem into a simple, interpretable attention constraint that transfers across architectures and remains effective with crowded, crossing trajectories. My recommendation is Accept (spotlight).
Final justification
The metareview above has been updated to include the final assessment and the Spotlight rationale after considering the author response and reviewer discussion.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces TrajLoc, a method for multi-object motion control in image-to-video (I2V) generation, where each object must follow a prescribed trajectory while preserving its visual identity, a setting that is especially challenging in crowded scenes with occlusions and crossing paths. The authors observe that existing trajectory-conditioned methods inflate the inherently sparse trajectory input into dense, video-sized conditioning tensors, which fuses multiple trajectories into a single shared signal and degrades object-level correspondence under occlusion, while also requiring heavy auxiliary modules. Instead, TrajLoc expresses trajectory control entirely within the model's existing conditioning spaces, without dense tensors or additional modules, through two interventions: (1) attention localization, which hard-replaces each object token's cross-attention weight column with a trajectory-aligned Gaussian heatmap to impose a per-object spatial constraint; and (2) token-level conditioning, which injects a learned trajectory token (motion and depth) and an appearance token (first-frame identity) in place of the object's placeholder and category tokens. Because each object is handled independently, the representation scales with the number of objects rather than the video resolution. The method applies to two architecturally distinct backbones (Wan 2.1-14B and CogVideoX-5B) without architecture-specific changes, and although trained only on synthetic data, it generalizes to out-of-distribution real-world scenes.
Strengths and weaknesses
Strengths:
-
Clear problem identification and a a well-motivated alternative to existing methods. The paper identifies a concrete failure mode of prior work: inflating sparse trajectories into dense, shared conditioning signals entangles multiple objects and breaks object-level correspondence under occlusion and crossing. To solve this, the proposed method operates at the object-token level to keep each object's representation independent. This approach provides a direct and logical fix to the diagnosed issue.
-
Lightweight and highly adaptable architecture. The mechanics are straightforward: it uses a Gaussian heatmap to override the attention column, along with dedicated tokens for trajectory (motion and depth) and appearance (first-frame identity). By avoiding dense conditioning tensors and heavy auxiliary networks like ControlNet or FiLM, the framework remains lightweight. The fact that it applies to two distinct backbones without architecture-specific modules is a major plus for reproducibility.
-
Impressive synthetic-to-real generalization. The model is trained entirely on synthetic data, yet it generalizes effectively to real-world datasets like MOT17 and DAVIS. More importantly, it outperforms baselines on most metrics, even though those baselines were explicitly trained on large-scale real videos.
Weaknesses
-
Insufficient empirical support for the central premise and scalability claims. The core motivation, that dense conditioning fails because it entangles multiple objects under occlusion and crossing, is never directly tested. The qualitative baseline failures and lower metrics show that the baselines underperform, but not that this stems from dense entanglement rather than domain mismatch or other factors. A direct test is missing: reporting performance as a function of object count or occlusion severity would show whether dense methods degrade as entanglement grows while the proposed design does not. This also explains why the repeated "up to 20 objects" claim is not fully substantiated, since 20 is only the training maximum and no controlled scaling experiment is provided (qualitative figures show at most ~10 objects).
-
Insufficient motivation and empirical justification for individual design choices. Several design decisions are stated without analysis of why they take their specific form: the hard replacement over soft guidance, the isotropic Gaussian with a fixed σ=30 (regardless of object size or depth), the asymmetric insertion points of the two tokens (trajectory token before the text encoder, appearance token after), and the bounding-box loss weight α=0.5. The paper would be stronger with ablations or analyses isolating these choices.
-
The auxiliary components contribute weakly and inconsistently. While attention localization is well-supported, the remaining components show small and dataset-dependent effects in Table 3. Removing the trajectory token, depth channel, or appearance encoder typically costs only ~1 dB PSNR, and the appearance encoder even slightly hurts PSNR on Football (24.27 → 24.76). The appearance encoder is described as contributing "primarily to FVD," yet the gains are modest. This raises the question of whether these components are essential or merely marginal, and undercuts their framing as distinct contributions.
-
Unfair training-domain advantage in the in-distribution comparisons. On the synthetic test sets (Pool, Football, MoVi in Table 1), the proposed method is evaluated within its own training distribution, while the baselines, which are trained on real-world video, are evaluated entirely out of their training domain. The two methods do not start from a comparable footing, so the large 4–10 dB gaps cannot be cleanly attributed to the method rather than the baselines' domain handicap. The authors acknowledge the baselines could benefit from fine-tuning on these sets but provide no such comparison. The more meaningful evidence is the OOD comparison (MOT17, DAVIS), where margins shrink to 1–3 dB; nonetheless, the averaged "+4.3 dB" headline mixes in these domain-advantaged synthetic results, likely overstating the true improvement.
Questions
-
Direct validation of the failure mode attributed to dense baselines. The central claim is that dense conditioning breaks object-level correspondence under occlusion and crossing, yet no experiment isolates this mechanism. Since the synthetic data allows full control over scene composition, please report metrics as a function of object count (e.g., 1, 2, 4, 8, 16) and of trajectory-crossing or occlusion frequency. If dense baselines degrade sharply as crossings increase while TrajLoc remains stable, this would directly establish entanglement as the cause rather than a confound such as domain mismatch. Adding an identity-aware metric (e.g., IDF1 or ID-switch from the MOT literature) would further verify the correspondence claim, which EPE alone cannot, since EPE is invariant to identity swaps.
-
Fair comparison to mitigate training-domain bias. On the synthetic ViN test sets (MoVi, Pool, Football), where baselines trail by 4–10 dB PSNR, the baselines are evaluated entirely out of their training domain while TrajLoc is evaluated within its own. Line 257 acknowledges that fine-tuning the baselines could narrow this gap, but this experiment is omitted. To establish a comparable footing, please provide one of:
- (A) Fine-tune the baselines on your synthetic training distribution and report the updated metrics.
- (B) Alternatively, train a TrajLoc variant on real-world data (even a small subset) to match the baselines' training conditions.
- Additive and combinatorial ablations to isolate module contributions. Table 3 uses only a leave-one-out strategy, which cannot isolate each module's independent contribution. The ~1 dB drop from removing the trajectory or appearance encoder is ambiguous: the modules may be inessential, or the strong attention localization may simply compensate for their absence. Please provide:
- An additive ablation: starting from the bare backbone, add modules incrementally (Backbone → +Attention → +Trajectory → +Appearance) to reveal pure added value.
- A combinatorial comparison (e.g., Attention only vs. Attention+Trajectory vs. Attention+Appearance) to determine whether the modules are synergistic, independent, or redundant.
Limitations
Please see the Weaknesses.
Final justification
Thanks for your efforts to resolve my concerns on your work. I have raised the score!
Formatting concerns
Not available.
2 comments
We thank the reviewer for the constructive feedback. We are glad the reviewer acknowledges our support for two backbones and the generalization of our method to real data. Below, we address each concern, adding substantial new experiments in every case.
Q: ``Unfair training-domain advantage in the in-distribution comparisons"
Following Reviewer's option B proposal, instead of fine-tuning the other four baselines on our data, we retrained TrajLoc on real, moving-camera footage (SA-V [1], $\sim$98K clips) from the released pre-trained weights of WaN and CogV, and evaluate on the original baselines' published benchmarks (MoveBench-Multi by Wan-Move and MagicBench by MagicMotion) following the same experimental setup for all methods (same first frame, same trajectories, and a caption describing the clip, with no depth information). To compensate for camera motion, we place auxiliary trajectory points on background regions (applied SAM2 [1] to extract background objects, and produced the corresponding trajectories using CoTracker3 [2] by tracking these background objects).
MagicBench (600 clips):
| Method | PSNR ↑ | LPIPS ↓ | FVD ↓ | EPE ↓ |
|---|---|---|---|---|
| Ours (CogV) | 18.83 | 0.267 | 10.94 | 1.97 |
| MagicMotion (CogV) | 18.19 | 0.300 | 13.37 | 2.51 |
| Tora (CogV) | 15.88 | 0.431 | 44.75 | 3.03 |
| Ours (WaN) | 18.65 | 0.276 | 11.51 | 2.39 |
| Wan-Move (WaN) | 17.57 | 0.293 | 11.67 | 2.28 |
| ATI (WaN) | 17.18 | 0.336 | 12.82 | 2.61 |
MoveBench-Multi (192 clips):
| Method | PSNR ↑ | LPIPS ↓ | FVD ↓ | EPE ↓ |
|---|---|---|---|---|
| Ours (CogV) | 19.35 | 0.228 | 26.03 | 1.62 |
| MagicMotion (CogV) | 19.17 | 0.242 | 27.41 | 1.71 |
| Tora (CogV) | 17.51 | 0.319 | 42.23 | 1.96 |
| Ours (WaN) | 18.95 | 0.244 | 26.91 | 1.74 |
| ATI (WaN) | 18.57 | 0.274 | 28.62 | 1.98 |
| Wan-Move (WaN) | 17.83 | 0.259 | 27.32 | 1.79 |
Our approach has a consistent 0.2-1.1 dB gain over the other baselines on their original published benchmarks.
We will add these to the manuscript and release these checkpoints.
Q: ``Insufficient empirical support for the scalability claims"
The reported metrics in the manuscript are aggregated across each dataset, masking performance variations across scene difficulty, object count, and how objects interact. To strengthen our claims, we additionally report performance as a function of (a) object count, (b) number of intersecting trajectories and (c) evaluate our results using an identity-aware metric.
(a) Object Count.
To examine the dependence on the number of moving objects, we evaluated our approach on four datasets when partitioned into different bins.
PSNR ↑ at the sparsest vs. most-crowded object-count bin (paper checkpoint). Parentheses give the number of clips in each bin. "Best base." = strongest same-backbone baseline in that bin.
| Dataset | Backbone | Sparse bin — Ours / best base. | Crowded bin — Ours / best base. |
|---|---|---|---|
| MoVi-Extended | CogV | 2obj (38): 31.92 / 22.06 | 4+obj (21): 26.47 / 18.72 |
| WaN | 2obj (38): 31.87 / 21.23 | 4+obj (21): 25.70 / 18.43 | |
| Pool | CogV | 2obj (50): 36.16 / 31.11 | 3obj (50): 35.12 / 31.08 |
| WaN | 2obj (50): 33.27 / 23.15 | 3obj (50): 32.87 / 22.73 | |
| MOTSynth | CogV | 1–2obj (27): 23.05 / 21.63 | 5+obj (51): 22.06 / 21.07 |
| WaN | 1–2obj (27): 21.64 / 18.73 | 5+obj (51): 21.28 / 18.31 | |
| MOT17 | CogV | 1obj (8): 19.25 / 17.51 | 4+obj (14): 20.37 / 19.11 |
| WaN | 1obj (8): 18.36 / 14.40 | 4+obj (14): 19.17 / 17.26 |
We add a dedicated MOTSynth-Multi object benchmark to test scaling all the way up to 20 controlled pedestrians:
PSNR ↑ by pedestrian count (MOTSynth-Multi, 20 clips per bin). Bold = best within backbone group.
| Backbone | Method | 5 peds | 10 peds | 15 peds | 20 peds |
|---|---|---|---|---|---|
| CogV | Ours | 21.12 | 21.26 | 21.67 | 21.62 |
| MagicMotion | 20.03 | 20.93 | 21.17 | 21.40 | |
| Tora | 18.79 | 18.00 | 16.47 | 17.66 | |
| WaN | Ours | 20.40 | 20.46 | 20.66 | 21.10 |
| ATI | 16.77 | 17.45 | 18.38 | 19.31 | |
| Wan-Move | 17.27 | 16.92 | 18.22 | 19.22 |
We further validate this with the SA-V model (trained on real-data), evaluated on MagicBench (600 clips, split evenly into 6 bins of 1 to 6+ objects). TrajLoc obtains the highest PSNR at every object count:
PSNR ↑ by object count (MagicBench):
| Backbone | Method | 1 | 2 | 3 | 4 | 5 | 6+ |
|---|---|---|---|---|---|---|---|
| CogV | Ours | 18.75 | 17.59 | 18.67 | 19.54 | 20.02 | 18.44 |
| MagicMotion | 17.82 | 17.38 | 18.00 | 18.53 | 19.23 | 18.14 | |
| Tora | 16.86 | 15.70 | 16.24 | 15.98 | 15.71 | 14.77 | |
| WaN | Ours | 18.52 | 17.31 | 18.39 | 19.62 | 19.72 | 18.36 |
| Wan-Move | 17.50 | 16.52 | 17.16 | 18.22 | 18.53 | 17.47 | |
| ATI | 17.60 | 16.07 | 16.95 | 17.85 | 18.05 | 16.55 |
(b) Trajectory Intersection.
As proposed by the reviewer, we re-evaluated with samples partitioned by trajectory-crossing count. While all methods degrade with increasing trajectory crossings, ours retains a consistent ~10 dB PSNR and ~3.5x EPE advantage in every bin, indicating that the gap does not shrink as entanglement increases, and that the improvement we report is not a result of easy samples lacking occlusion.
PSNR ↑ / EPE ↓ by # path-crossing pairs (MoVi-Extended, paper checkpoint):
| Backbone | Method | 0 cross - PSNR / EPE | 1 cross - PSNR / EPE | 2+ cross — PSNR / EPE |
|---|---|---|---|---|
| CogV | Ours | 30.61 / 0.46 | 29.62 / 0.51 | 27.13 / 0.84 |
| MagicMotion | 20.43 / 1.63 | 19.99 / 1.91 | 17.18 / 2.97 | |
| Tora | 21.73 / 1.42 | 20.07 / 1.33 | 19.26 / 2.07 | |
| WaN | Ours | 30.26 / 0.48 | 29.30 / 0.58 | 25.56 / 0.90 |
| ATI | 20.76 / 1.86 | 20.61 / 1.91 | 18.33 / 2.72 | |
| Wan-Move | 20.12 / 1.79 | 19.88 / 2.60 | 18.08 / 2.84 |
(c) Identity-aware metrics.
Since the EPE is agnostic w.r.t identity swaps, following the reviewer's proposal, we computed the MOT IDF1 [3] on MOTSynth and MOT17 for pedestrian datasets, and since these metrics are only suitable for pedestrian datasets, we report the CLIP-I [4] metric (OpenCLIP ViT-L/14, per-object crop similarity vs. the frame-0 reference, higher is better) on the rest.
For pedestrian datasets, on WaN, TrajLoc leads both baselines on both datasets. On CogV, only MagicMotion scores higher on IDF1. We assume that this is a result of the way MagicMotion was trained, conditioning on per-frame bounding boxes on the objects, which a metric like IDF1 naturally favors. This does not translate to better control, as manifested in an EPE score of 3.38 vs. 2.37 and PSNR of 19.88 vs. 21.59 on MOT17. For non-pederstrian datasets, TrajLoc achieves the highest CLIP-I metric.
MOT IDF1 ↑:
| Backbone | Method | MOTSynth | MOT17 |
|---|---|---|---|
| CogV | Ours | 0.496 | 0.484 |
| MagicMotion | 0.538 | 0.518 | |
| Tora | 0.297 | 0.330 | |
| WaN | Ours | 0.565 | 0.561 |
| ATI | 0.401 | 0.373 | |
| Wan-Move | 0.422 | 0.434 |
CLIP-I ↑
| Backbone | Method | MoVi-Extended | Pool | Football |
|---|---|---|---|---|
| CogV | Ours | 0.927 | 0.932 | 0.906 |
| Tora | 0.907 | 0.897 | 0.874 | |
| MagicMotion | 0.902 | 0.899 | 0.881 | |
| WaN | Ours | 0.920 | 0.928 | 0.891 |
| ATI | 0.912 | 0.906 | 0.871 | |
| Wan-Move | 0.911 | 0.911 | 0.876 |
References
- [1] Ravi et al., SAM 2: Segment Anything in Images and Videos, ICLR 2025.
- [2] Karaev et al., CoTracker3: Simpler and Better Point Tracking by Pseudo-Labeling Real Videos, ICCV 2025.
- [3] Ristani et al., Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking, ECCV Workshops 2016.
- [4] Ruiz et al., DreamBooth, CVPR 2023.
Q: ``Insufficient motivation and empirical justification for individual design choices"
Some of the supporting ablations are already included in the submission, for instance the choice between hard replacement vs. soft guidance appears in appendix C.5. Following the reviewer's request, we have conducted the following ablations, which will be added to the Appendix of the final manuscript:
Fixed . We agree with the reviewer that should be proportional to the object's size in the image, however we couldn't validate this claim empirically. During our experiments, we tested a depth-adaptive variant (where is the depth), rather than a fixed value (thus obtaining a different value per depth value). For the synthetic datasets appearing in the manuscript, we haven't seen any quantitative nor qualitative differences. For MOT17, we found that the use of the depth-adaptive variant results in the degradation of EPE (2.37 → 3.28) and FVD (53.9 → 62.7). A possible extension to our variant would be a generally learnable .
Asymmetric token insertion. (trajectory token before the text encoder, appearance token after).
As the reviewer stated, there are multiple token insertion variations, each requires a model re-training. To justify the insertion order, we moved the trajectory token to the post text-encoder position. This resulted in a performance drop across all datasets (MoVi −4.6 dB PSNR, Pool −9.8 dB, FVD 2–4x worse). We acknowledge that formulation admits different design/hyperparameter choices, and a better configuration of these choices may exist. However, we note that our proposed formulation and configuration, already significantly outperforms all baselines, in a wide variety of experiments, and we have tested a wide variety of design/hyperparameter choices.
Bounding-box loss weight . To justify the existence of this term, we set and saw a drop in performance across all datasets with an average of -0.35dB PSNR.
Q: ``The auxiliary components contribute weakly and inconsistently"
Following the reviewer's request, we verified that the auxiliary components contributed consistently by re-evaluating Table 3 in the manuscript with 8 new different seeds, allowing us to report both mean and standard deviation. With , the half-width of a confidence interval is . We find that the ablation ordering is stable across these runs, and measure the effect of each:
- Attention localization is the dominant component: removing it costs over on MoVi and over on MOTSynth, confirming the hard spatial constraint is what matters for the method.
- The appearance encoder is a real, separable contribution at (about 0.7 dB PSNR on MOTSynth), well outside seed noise.
- The trajectory token and the depth channel help most on the trajectory-adherence metric EPE, rather than on PSNR: on MOTSynth, removing the trajectory token degrades EPE by (2.15 → 2.47) and removing the depth channel by (2.15 → 2.32).
Q: ``Additive and combinatorial ablations to isolate module contributions"
Attention localization is the mechanism that makes the trajectory and appearance tokens local: these tokens carry per-object information (where an object should go, what it should look like), and attention binds each token to its object in the scene. Without this binding, the tokens can only act as a diffuse, global transformation. We will make this role explicit in the final manuscript. Following the reviewer's request, we also validated it empirically with the two requested analyses, a full additive ladder (backbone only → A → A+T → A+T+P) and a combinatorial lattice over the three components Attention (A), Trajectory tokens (T), and Appearance (P) for the MoVi dataset:
| # | Config (WaN, MoVi, ckpt-12000) | PSNR ↑ | LPIPS ↓ | FVD ↓ | EPE ↓ |
|---|---|---|---|---|---|
| 1 | backbone only | 22.95 | 0.284 | 34.27 | 1.46 |
| 2 | A (attention only) | 26.79 | 0.159 | 28.63 | 0.74 |
| 3 | A + T (no appearance) | 28.40 | 0.146 | 28.09 | 0.67 |
| 4 | A + P (no trajectory) | 27.87 | 0.146 | 27.15 | 0.65 |
| 5 | T (trajectory only) | 23.53 | 0.272 | 37.03 | 1.32 |
| 6 | T + P (no attention) | 22.58 | 0.313 | 40.86 | 1.87 |
| 7 | A + T + P (Ours-full) | 29.24 | 0.131 | 23.37 | 0.57 |
The additive rows (1 → 2 → 3/4 → 7) show every component contributes: attention localization provides the core gain, and the tokens add consistent improvements on top. The failing configurations are also informative. Rows 5–6 show that trajectory and appearance tokens without attention collapse to backbone-level performance. This failure mode is precisely what the locality argument predicts, per-object information applied without binding acts as noise.
This pattern holds on MOTSynth and Football as well. Pool is the consistent exception, where the trajectory token alone is already informative because billiard scenes load heavily on it. We will add these additive and combinatorial ablation tables to the final version of the paper.
We thank the reviewer again for the constructive feedback, and we remain available to address any further questions during the discussion period.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes TrajLoc, an image-to-video generation method that achieves precise multi-object trajectory control and visual identity preservation by injecting object-specific features directly into the attention and text-conditioning spaces, bypassing traditional dense spatiotemporal conditioning. At its core, TrajLoc enforces spatial constraints by replacing the cross-attention weight column of each object token with a frame-specific, trajectory-centered Gaussian heatmap, supplemented by specialized tokens that encode 2D-depth trajectory sequences and first-frame VAE latent appearances. The framework which is optimized via a pre-trained trajectory encoder and joint fine-tuning of the appearance encoder and diffusion LoRA using diffusion and bounding-box losses, is highly adaptable, implementing direct column replacement for WaN 2.1-14B and a 2-SDPA approximation for CogVideoX-5B. Trained on 25,000 synthetic clips and evaluated against four baselines across six diverse datasets, the method demonstrates robust quantitative performance in PSNR, LPIPS, FVD, and trajectory EPE, which is further validated by comprehensive ablations on its attention localization and token encoding mechanisms.
Strengths and weaknesses
Strengths
- The paper accurately points out that existing dense conditioning methods blend information from multiple objects into a single shared representation, and it naturally presents a solution by disentangling the conditioning at the object-token level.
- The method is simple, interpretable, and applicable to different backbones. The core idea of replacing the object token's attention column with a trajectory-aligned Gaussian heatmap is intuitive and allows for an explicit interpretation of where an object influences the generation. Furthermore, the design of processing position, trajectory/depth, and appearance through distinct conditioning pathways is logical. Implementing and demonstrating performance gains on both Wan and CogVideoX is also a strong point.
- PSNR, LPIPS, and EPE show mostly consistent improvements across two large-scale I2V backbones and six datasets. Notably, trajectory errors are reduced not only in synthetic settings like MoVi, Pool, and Football, but also in real-world OOD settings like MOT17 and DAVIS. The fact that the same trends are repeated across different attention architectures increases the reliability of the results.
- The significant performance drop when attention localization is removed clearly demonstrates the effectiveness of the core idea. The paper also provides detailed ablations on the trajectory token, depth, and appearance encoder, derivations for the joint self-attention approximation, training setups, data composition, and failure cases. Disclosing synthetic data prior leakage, initial frame artifacts, and the unnatural movements of untracked objects is also commendable.
Weaknesses
- TrajLoc is independently fine-tuned on a mixture of approximately 25K clips from MoVi, Pool, Football, and MOTSynth, and the four in-distribution evaluation datasets originate from these exact dataset families. In contrast, the baselines are evaluated using their publicly available checkpoints without being retrained with the same data and adaptation budget. Therefore, it is difficult to clearly distinguish whether the large performance gaps stem from the attention localization itself or simply from the fine-tuning on the evaluation domain.
- The trajectory token takes the (x,y,d) coordinates of each frame as input, and for some datasets, depth is generated by applying Depth Anything V2 to each frame of the target video. In typical I2V use cases, future frames are unavailable, making it difficult to automatically obtain such per-frame depth. Furthermore, the baselines do not receive this same depth condition. Although performance remains relatively strong in the depth-removal ablation, these results are only reported for Wan and the four in-distribution datasets.
- The core claims of the paper include maintaining object identity, robustness to trajectory crossing and occlusion, and scalability up to 20 objects. However, the evaluation metrics are PSNR, LPIPS, FVD, and EPE, none of which directly measure identity switches or appearance consistency. There is also no performance analysis based on the number of objects, crossing frequency, or occlusion levels, and the average number of objects in the training data is much smaller than the maximum claimed. Therefore, the claim that the method "works without degradation for up to 20 objects" is not sufficiently validated by the qualitative results and aggregate metrics alone.
Questions
- Can you provide results where a representative baseline is retrained with the same 25K training mixture, same backbone, and similar LoRA/fine-tuning budget as TrajLoc? This is necessary to separate the impact of the proposed method from the effects of data adaptation on the overall performance gains.
- How is the per-frame depth trajectory obtained during actual inference when future frames are not available? Can you provide a common-input comparison without using depth for both backbones across all six datasets?
- Can you provide a performance analysis based on the number of objects, trajectory crossings, and occlusion levels, along with direct identity metrics?
Limitations
yes
Final justification
The rebuttal substantially addressed my concerns through additional no-depth evaluations and analyses of object count, trajectory crossings, and identity preservation. The matched-data and matched-budget comparison remains only partially resolved, since the baselines were not retrained under the same setting. Nevertheless, the new results provide stronger evidence for the method’s effectiveness and generalization. I therefore raise my score.
Formatting concerns
Nothing
3 comments
We thank the reviewer for the thoughtful and detailed review. We address each concern below, adding new experiments in every case.
Q: ``Can you provide results where a representative baseline is retrained with the same 25K training mixture, same backbone, and similar LoRA/fine-tuning budget as TrajLoc?"
Following Reviewer's aq6c proposal, instead of fine-tuning the other four baselines on our data, we retrained TrajLoc on real, moving-camera footage (SA-V [1], $\sim$98K clips) from the released pre-trained weights of WaN and CogV, and evaluate on the original baselines' published benchmarks (MoveBench-Multi by Wan-Move and MagicBench by MagicMotion) following the same experimental setup for all methods (same first frame, same trajectories, and a caption describing the clip, with no depth information). To compensate for camera motion, we place auxiliary trajectory points on background regions (applied SAM2 [1] to extract background objects, and produced the corresponding trajectories using CoTracker3 [2] by tracking these background objects).
MagicBench (600 clips):
| Method | PSNR ↑ | LPIPS ↓ | FVD ↓ | EPE ↓ |
|---|---|---|---|---|
| Ours (CogV) | 18.83 | 0.267 | 10.94 | 1.97 |
| MagicMotion (CogV) | 18.19 | 0.300 | 13.37 | 2.51 |
| Tora (CogV) | 15.88 | 0.431 | 44.75 | 3.03 |
| Ours (WaN) | 18.65 | 0.276 | 11.51 | 2.39 |
| Wan-Move (WaN) | 17.57 | 0.293 | 11.67 | 2.28 |
| ATI (WaN) | 17.18 | 0.336 | 12.82 | 2.61 |
MoveBench-Multi (192 clips):
| Method | PSNR ↑ | LPIPS ↓ | FVD ↓ | EPE ↓ |
|---|---|---|---|---|
| Ours (CogV) | 19.35 | 0.228 | 26.03 | 1.62 |
| MagicMotion (CogV) | 19.17 | 0.242 | 27.41 | 1.71 |
| Tora (CogV) | 17.51 | 0.319 | 42.23 | 1.96 |
| Ours (WaN) | 18.95 | 0.244 | 26.91 | 1.74 |
| ATI (WaN) | 18.57 | 0.274 | 28.62 | 1.98 |
| Wan-Move (WaN) | 17.83 | 0.259 | 27.32 | 1.79 |
Our approach has a consistent 0.2-1.1 dB gain over the other baselines on their original published benchmarks.
We will add these to the manuscript and release these checkpoints.
Q: ``Can you provide a common-input comparison without using depth"
We would like to emphasize that depth is an optional input, but is not required, and that our SA-V trained model (real data) had a consistent gain over other baselines without leveraging depth information. To understand its influence on our approach, we extended the depth ablation in the manuscript (Table 3) covering an additional backbone and datasets:
Effect of the depth channel: PSNR = full - no-depth; EPE = no-depth - full.
| Dataset | CogV ΔPSNR / ΔEPE | WaN ΔPSNR / ΔEPE |
|---|---|---|
| MoVi | +0.93 / -0.01 | +1.68 / +0.05 |
| Pool | +5.21 / -0.01 | +0.70 / +0.01 |
| MOT17 | +1.01 / -0.21 | +0.98 / +0.44 |
| Football | -0.06 / 0.00 | -0.05 / +0.01 |
| MOTSynth | -0.16 / -0.11 | +0.07 / +0.17 |
| DAVIS | -0.03 / -0.03 | +0.05 / -0.01 |
Generally, results leaning slightly in favor of using depth, so depth is beneficial but optional. We will add this ablation to the final version.
Q: ``Can you provide a performance analysis based on the number of objects, trajectory crossings, and occlusion levels, along with direct identity metrics?"
The reported metrics in the manuscript are aggregated across each dataset, masking performance variations across scene difficulty, object count, and how objects interact. To strengthen our claims, we additionally report performance as a function of (a) object count, (b) number of intersecting trajectories and (c) evaluate our results using an identity-aware metric.
(a) Object Count.
To examine the dependence on the number of moving objects, we evaluated our approach on four datasets when partitioned into different bins.
PSNR ↑ at the sparsest vs. most-crowded object-count bin (paper checkpoint). Parentheses give the number of clips in each bin. "Best base." = strongest same-backbone baseline in that bin.
| Dataset | Backbone | Sparse bin — Ours / best base. | Crowded bin — Ours / best base. |
|---|---|---|---|
| MoVi-Extended | CogV | 2obj (38): 31.92 / 22.06 | 4+obj (21): 26.47 / 18.72 |
| WaN | 2obj (38): 31.87 / 21.23 | 4+obj (21): 25.70 / 18.43 | |
| Pool | CogV | 2obj (50): 36.16 / 31.11 | 3obj (50): 35.12 / 31.08 |
| WaN | 2obj (50): 33.27 / 23.15 | 3obj (50): 32.87 / 22.73 | |
| MOTSynth | CogV | 1–2obj (27): 23.05 / 21.63 | 5+obj (51): 22.06 / 21.07 |
| WaN | 1–2obj (27): 21.64 / 18.73 | 5+obj (51): 21.28 / 18.31 | |
| MOT17 | CogV | 1obj (8): 19.25 / 17.51 | 4+obj (14): 20.37 / 19.11 |
| WaN | 1obj (8): 18.36 / 14.40 | 4+obj (14): 19.17 / 17.26 |
We add a dedicated MOTSynth-Multi object benchmark to test scaling all the way up to 20 controlled pedestrians:
PSNR ↑ by pedestrian count (MOTSynth-Multi, 20 clips per bin). Bold = best within backbone group.
| Backbone | Method | 5 peds | 10 peds | 15 peds | 20 peds |
|---|---|---|---|---|---|
| CogV | Ours | 21.12 | 21.26 | 21.67 | 21.62 |
| MagicMotion | 20.03 | 20.93 | 21.17 | 21.40 | |
| Tora | 18.79 | 18.00 | 16.47 | 17.66 | |
| WaN | Ours | 20.40 | 20.46 | 20.66 | 21.10 |
| ATI | 16.77 | 17.45 | 18.38 | 19.31 | |
| Wan-Move | 17.27 | 16.92 | 18.22 | 19.22 |
We further validate this with the SA-V model (trained on real-data) from our WHHt response, evaluated on MagicBench (600 clips, split evenly into 6 bins of 1 to 6+ objects). TrajLoc obtains the highest PSNR at every object count:
PSNR ↑ by object count (MagicBench):
| Backbone | Method | 1 | 2 | 3 | 4 | 5 | 6+ |
|---|---|---|---|---|---|---|---|
| CogV | Ours | 18.75 | 17.59 | 18.67 | 19.54 | 20.02 | 18.44 |
| MagicMotion | 17.82 | 17.38 | 18.00 | 18.53 | 19.23 | 18.14 | |
| Tora | 16.86 | 15.70 | 16.24 | 15.98 | 15.71 | 14.77 | |
| WaN | Ours | 18.52 | 17.31 | 18.39 | 19.62 | 19.72 | 18.36 |
| Wan-Move | 17.50 | 16.52 | 17.16 | 18.22 | 18.53 | 17.47 | |
| ATI | 17.60 | 16.07 | 16.95 | 17.85 | 18.05 | 16.55 |
(b) Trajectory Intersection.
As proposed by the reviewer, we re-evaluated with samples partitioned by trajectory-crossing count. While all methods degrade with increasing trajectory crossings, ours retains a consistent ~10 dB PSNR and ~3.5x EPE advantage in every bin, indicating that the gap does not shrink as entanglement increases, and that the improvement we report is not a result of easy samples lacking occlusion.
PSNR ↑ / EPE ↓ by # path-crossing pairs (MoVi-Extended, paper checkpoint):
| Backbone | Method | 0 cross - PSNR / EPE | 1 cross - PSNR / EPE | 2+ cross — PSNR / EPE |
|---|---|---|---|---|
| CogV | Ours | 30.61 / 0.46 | 29.62 / 0.51 | 27.13 / 0.84 |
| MagicMotion | 20.43 / 1.63 | 19.99 / 1.91 | 17.18 / 2.97 | |
| Tora | 21.73 / 1.42 | 20.07 / 1.33 | 19.26 / 2.07 | |
| WaN | Ours | 30.26 / 0.48 | 29.30 / 0.58 | 25.56 / 0.90 |
| ATI | 20.76 / 1.86 | 20.61 / 1.91 | 18.33 / 2.72 | |
| Wan-Move | 20.12 / 1.79 | 19.88 / 2.60 | 18.08 / 2.84 |
(c) Identity-aware metrics.
Since the EPE is agnostic w.r.t identity swaps, following reviewer's aq6c proposal, we computed the MOT IDF1 [3] on MOTSynth and MOT17 for pedestrian datasets, and since these metrics are only suitable for pedestrian datasets, we report the CLIP-I [4] metric (OpenCLIP ViT-L/14, per-object crop similarity vs. the frame-0 reference, higher is better) on the rest.
For pedestrian datasets, on WaN, TrajLoc leads both baselines on both datasets. On CogV, only MagicMotion scores higher on IDF1. We assume that this is a result of the way MagicMotion was trained, conditioning on per-frame bounding boxes on the objects, which a metric like IDF1 naturally favors. This does not translate to better control, as manifested in an EPE score of 3.38 vs. 2.37 and PSNR of 19.88 vs. 21.59 on MOT17. For non-pederstrian datasets, TrajLoc achieves the highest CLIP-I metric.
MOT IDF1 ↑:
| Backbone | Method | MOTSynth | MOT17 |
|---|---|---|---|
| CogV | Ours | 0.496 | 0.484 |
| MagicMotion | 0.538 | 0.518 | |
| Tora | 0.297 | 0.330 | |
| WaN | Ours | 0.565 | 0.561 |
| ATI | 0.401 | 0.373 | |
| Wan-Move | 0.422 | 0.434 |
CLIP-I ↑
| Backbone | Method | MoVi-Extended | Pool | Football |
|---|---|---|---|---|
| CogV | Ours | 0.927 | 0.932 | 0.906 |
| Tora | 0.907 | 0.897 | 0.874 | |
| MagicMotion | 0.902 | 0.899 | 0.881 | |
| WaN | Ours | 0.920 | 0.928 | 0.891 |
| ATI | 0.912 | 0.906 | 0.871 | |
| Wan-Move | 0.911 | 0.911 | 0.876 |
We thank the reviewer again for the constructive feedback, and we remain available to address any further questions during the discussion period.
References
- [1] Ravi et al., SAM 2: Segment Anything in Images and Videos, ICLR 2025.
- [2] Karaev et al., CoTracker3: Simpler and Better Point Tracking by Pseudo-Labeling Real Videos, ICCV 2025.
- [3] Ristani et al., Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking, ECCV Workshops 2016.
- [4] Ruiz et al., DreamBooth, CVPR 2023.
Thank you for the detailed rebuttal and additional experiments. The new evaluations without depth and the analyses of object count, trajectory crossings, and identity-aware metrics substantially address my concerns. The matched-data and matched-budget comparison remains only partially resolved, since TrajLoc is retrained on SA-V while the baselines use their released checkpoints. Nevertheless, the rebuttal significantly strengthens the submission, and I will raise my score.
We thank the reviewer for the constructive feedback throughout the review process and for raising the score. We appreciate the time and engagement.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents a new method for multi-object motion control in image-based video generation. The particular instantiation considered in this work takes an image and a set of pairs, each consisting of an object reference and object trajectory, as input and produces a video as an output.
The key contribution of this work is modifying a DiT-based video generation model such that it can use this information for motion generation. To achieve this, the authors use the object references and the corresponding trajectories to construct an input prompt that is then fed into the modified DiT model. The key modification to the DiT is to replace the cross-attention weights for each object token with manually generated weights based on a Gaussian heatmap centered on the token embeddings corresponding to the target location at each frame.
The work is evaluated on the CogVideoX-5B-I2V and WaN 2.1-14B-I2V using six different datasets, of which four are in-distribution, and two are out-of-distribution. It is compared against recent trajectory-conditioning baselines, Wan-Move, ATI, Tora, and MagicMotion, showcasing superior results.
Strengths and weaknesses
Strengths
- The general idea of introducing a geometric inductive bias to the attention mechanism is elegant
- By applying their idea to more than one model in evaluation, the authors help substantiate the claim that what they propose is a generally useful mechanism rather than something that may just work with one single model.
Weaknesses
- Manually modifying the attention weights in the way proposed by the work is not a fully novel idea (e.g. a similar approach in spirit was used for temporal control in Mind the Time by Wu et al.). But this may be the first work applying this type of idea to motion control.
- I found the explanation of the trajectory heatmap construction a little hard to parse and would suggest that the authors consider creating a verbose algorithm version of it in the appendix.
Questions
Related to one of the weaknesses, please clarify how the trajectory heatmap construction works. This is how I understand it: First, a heatmap sequence is generated for each object, which will later be used as attention weights. The sequence is transformed into the vector for each object . What is not clear to me (maybe I overlooked) is how you identify the object location ? Isn't this a limiting factor because you either need some sort of additional model or user input to get this information?
Limitations
The limitation discussion is, by and large, good. I would maybe also mention that a more fine-grained and potentially even 3d aware motion control is desirable (which can be left for future work).
Final justification
The authors largely addressed my concerns and I updated my rating to accept.
Formatting concerns
no concerns
3 comments
We thank the reviewer for the positive assessment, and are glad the reviewer found the geometric inductive bias in the attention mechanism elegant and valued our validation across two distinct backbones. The remaining concerns are about positioning and clarity, which we address below.
Q: ``Manually modifying the attention weights in the way proposed by the work is not a fully novel idea"
As we discuss in the related-work section ("Cross-attention manipulation in diffusion models"), editing or manipulating attention maps is not new in itself. However, prior work provides only soft guidance signals, whereas we replace each object token's attention column with a trajectory-aligned Gaussian, a hard per-object constraint. As the reviewer notes, this may be the first work to apply attention modification to motion control, as we are not aware of prior work that uses it to impose a per-object trajectory constraint in this multi-object setting.
We thank the reviewer for pointing to ''Mind the Time" [1]. They use a learned positional encoding (ReRoPE) to guide the cross-attention maps for the task of temporally-controlled multi-event video generation. This paper, as the ones mentioned in the related work, does not replace the attention maps. Both their algorithmic approach and inputs (text-to-video rather than trajectory to video) differ from ours. We will make sure to cite this work in the final manuscript.
Q: ``I found the explanation of the trajectory heatmap construction a little hard to parse"
The reviewer described the steps for heatmap construction correctly. The replacements occur at the token index . This token encodes a given object's category (before replacement) and appearance (after replacement) within the constructed prompt (L124 in the manuscript), i.e., , and as seen in the center of Figure 2.
The initial object location, (L186 in the manuscript) is determined from the first entry in the given trajectory sequence.
Following the reviewer's proposal, we will add pseudocode outlining this procedure to the manuscript.
Q: Suggested addition to limitation section
We thank the reviewer for this suggestion. We agree that finer-grained, 3D-aware motion control is a valuable direction and will add it to the limitations section in the final revision.
We thank the reviewer again for the constructive feedback, and we remain available to address any further questions during the discussion period.
References
- [1] Wu et al., Mind the Time: Temporally-Controlled Multi-Event Video Generation, CVPR 2025.
Thank you for your response. This largely resolves my concerns.
We thank the reviewer for confirming that our response resolves the concerns, and for the constructive feedback throughout. We appreciate the time and engagement.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for the thorough and accurate summary of the paper, and for the initial recommendation to accept. We are especially glad the AC found the connection between trajectory tokens and spatial control technically clean and the multi-backbone evidence useful, as these are central to the contribution. During the discussion period we ran a substantial set of new experiments that speak directly to the concerns raised in points (c) and (d) of the meta-review. Rather than reproduce them here, we summarize below what we did for each concern and point to the individual reviewer response where the full experiment, tables, and analysis appear.
(c.1) Comparison fairness (synthetic training vs. public baseline checkpoints). To eliminate the training-domain advantage, we followed reviewer aq6c suggestion, and retrained TrajLoc from the released WaN and CogV weights on real moving-camera footage (SA-V, ~98K clips) and evaluated on the baselines' own published benchmarks, MagicBench (600 clips) and MoveBench-Multi (192 clips), with identical inputs for every method (same first frame, same trajectories, same caption, no depth). This evaluates TrajLoc trained on real-world video, on the baselines' own benchmarks, removing any domain advantage. Full tables and analysis: Reviewer aq6c, "Unfair training-domain advantage in the in-distribution comparisons," and Reviewer WHHt, "retrained with the same 25K training mixture."
(c.2) Whether future-frame depth is equally available at inference. We showed our advantage does not depend on depth, so its use of future frames does not confound the comparison: the SA-V real-data model in (c.1) uses no depth yet still leads all baselines, and the depth-channel ablation (both backbones, all six datasets) shows depth is only a modest refinement, so the depth-free model likewise remains ahead. Full tables and analysis: Reviewer WHHt, "common-input comparison without using depth."
(c.3) Scaling to more objects, crossing trajectories, and occlusion, and direct identity metrics. We further report four analyses on the existing datasets and checkpoints: (i) performance partitioned by object-count bins on four datasets; (ii) performance partitioned by the number of intersecting trajectories per clip, which stresses crossing and occlusion; (iii) two identity-aware metrics, MOT IDF1 for pedestrian sets and per-object CLIP-I for the rest, which measure the object-correspondence claim that EPE cannot capture; and (iv) a controlled MOTSynth-Multi sweep of 20 clips per bin at 5, 10, 15, and 20 pedestrians. Together these show that our advantage is preserved as scenes become crowded and entangled. Full tables and analysis: Reviewer aq6c and Reviewer WHHt, "performance analysis based on the number of objects, trajectory crossings, and occlusion levels, along with direct identity metrics."
(c.4) Definition of the initial location qi. We clarified that qi is the position of object i's category word in the text prompt, i.e. the text token that the appearance encoder overrides with a feature sampled from the first frame at the object's initial location (xi1,yi1). That location is simply the first entry of the given trajectory, so it requires no auxiliary model or additional user input. Full explanation: Reviewer pRWu, "how you identify the object location."
(d.1) Separate the gain from extra data or privileged depth, and state which signals are available at inference. The separation from extra data is (c.1) and the separation from depth is (c.2). To state it plainly here: at inference TrajLoc uses the same exact inputs as the baselines (first frame and each object's 2D trajectory); object identity is derived from the first frame, and depth is the sole optional signal that would otherwise draw on future frames.
(d.2) A matched ablation or existing object-count result. We provided exactly the matched analysis the AC preferred: the object-count and trajectory-crossing splits in (c.3) reuse the existing evaluation datasets and paper checkpoints, adding no new training, only a re-partition of results we already report. Going beyond this, we also report object-count breakdowns on two controlled benchmarks, MagicBench (600 clips, split by object count) and MOTSynth-Multi (a sweep from 5 to 20 pedestrians), which further isolate the scaling behavior.
We hope these experiments and clarifications, detailed in the individual responses, fully address the meta-review. We would be happy to provide any further analysis the AC or reviewers find useful during the remainder of the discussion period.