SPATIALALIGN: Aligning Dynamic Spatial Relationships in Video Generation
Organizations: College of Computing and Data Science, Nanyang Technological University, 50 Nanyang Avenue, Singapore 639798.
Abstract
Most text-to-video (T2V) generators prioritize aesthetic quality, but often ignoring the spatial constraints in the generated videos. In this work, we present SPATIALALIGN, a self-improvement framework that enhances T2V models capabilities to depict Dynamic Spatial Relationships (DSR) specified in text prompts. We present a zeroth-order regularized Direct Preference Optimization (DPO) to fine-tune T2V models towards better alignment with DSR. Specifically, we design DSR-SCORE, a geometry-based metric that quantitatively measures the alignment between generated videos and the specified DSRs in prompts, which is a step forward from prior works that rely on VLM for evaluation. We also conduct a dataset of text-video pairs with diverse DSRs to facilitate the study. Extensive experiments demonstrate that our fine-tuned model significantly out performs the baseline in spatial relationships. The code will be released in Link. Project page: https://fengming001ntu.github.io/SpatialAlign/
Figures & tables
| DSR Type | Initial SSR | Final SSR | |
| left-to-top | on the left of | to the top of | |
| top-to-left | on the top of | to the left of | |
| right-to-top | on the right of | to the top of | |
| left-to-right | on the left of | to the right of | |
| top-to-right | on the top of | to the right of | |
| right-to-left | on the right of | to the left of |
| Method | [email protected] | ID | CLIP-IQA | IQ |
| CogVideoX1.5-5B | 0.053 | 0.6404 | 0.8874 | 0.5894 |
| OpenSora v1.2 | 0.018 | 0.7151 | 0.8712 | 0.6616 |
| LTX-Video-2B | 0.058 | 0.8028 | 0.9061 | 0.6786 |
| HunyuanVideo v1.5-8B | 0.490 | 0.7565 | 0.9299 | 0.6662 |
| Wan2.1-1.3B | 0.125 | 0.7046 | 0.8481 | 0.7000 |
| Wan2.1-1.3B + LoRA (Ours) | 0.585 | 0.6934 | 0.8243 | 0.6909 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Animal | Object | Initial SSR | Final SSR | Others | ||
| Baseline | Initial SSR | 0.395 | 0.280 | 1.000 | 0.837 | 0.878 |
| Final SSR | 0.435 | 0.278 | 0.837 | 1.000 | 0.892 | |
| + LoRA | Initial SSR | 0.456 | 0.277 | 1.000 | 0.866 | 0.894 |
| Final SSR | 0.489 | 0.274 | 0.866 | 1.000 | 0.903 |
T2V Generation
Text-to-video generation creates moving visual scenes from natural-language prompts, with growing control over motion, identity, events, and style.
See all 111 papers