TTOM: Test-Time Optimization and Memorization for Compositional Video Generation

Leigang Qu, Ziyang Wang, Na Zheng, Wenjie Wang, Liqiang Nie +1 more
10/9/2025
cs.CVcs.AIcs.CL

No official code found. Best implementation: LgQu/TTOM (6 stars, last commit 2026-03-26).

Abstract

Video Foundation Models (VFMs) exhibit remarkable visual generation performance, but struggle in compositional scenarios (e.g., motion, numeracy, and spatial relation). In this work, we introduce Test-Time Optimization and Memorization (TTOM), a training-free framework that aligns VFM outputs with spatiotemporal layouts during inference for better text-image alignment. Rather than direct intervention to latents or attention per-sample in existing work, we integrate and optimize new parameters guided by a general layout-attention objective. Furthermore, we formulate video generation within a streaming setting, and maintain historical optimization contexts with a parametric memory mechanism that supports flexible operations, such as insert, read, update, and delete. Notably, we found that TTOM disentangles compositional world knowledge, showing powerful transferability and generalization. Experimental results on the T2V-CompBench and Vbench benchmarks establish TTOM as an effective, practical, scalable, and efficient framework to achieve cross-modal alignment for compositional video generation on the fly.

View on arXivView PDF

Code Implementations(1)

LgQu/TTOMCommunity69%

ICLR'26: TTOM: Test-Time Optimization and Memorization for Compositional Video Generation

60Shell, PythonSep 23, 20256 months ago

Similar Papers

Cite this paper

@article{qu2025ttom,
  title  = {TTOM: Test-Time Optimization and Memorization for Compositional Video Generation},
  author = {Leigang Qu and Ziyang Wang and Na Zheng and Wenjie Wang and Liqiang Nie and Tat-Seng Chua},
  year   = {2025},
  eprint = {2510.07940},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.07940v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.07940.svg)](https://codeofpaper.com/paper/2510.07940)

Discussion