What Moves? Localized Motion Representations for Compositional Scene Control

Frank Fundel, Malek Ben Alaya, Thomas Ressler-Antal, Stefan Andreas Baumann, Björn OmmerarXiv 2026

TL;DR

This paper introduces a promptable, localized motion representation that extracts persistent motion embeddings for specific video regions using spatial masks. By processing the full video context rather than relying on early cropping or post-hoc feature masking, the model preserves global cues (like camera movement) to accurately isolate and transfer object-level dynamics, significantly improving compositional scene control and localized action classification.

What Problem Does This Paper Address?

While video generation and editing models have advanced rapidly, controlling individual moving objects within a complex scene remains a major challenge. Current motion representation models typically entangle the dynamics of all entities into a single global latent code, or they rely on pixel-level tracking (like dense optical flow) which lacks semantic meaning and structural interpretability.

A naive fix is to apply motion encoders to spatial crops of an object. However, motion is inherently relational: an object moving away from a camera looks identical to a camera zooming out if you crop out the background reference frame. This paper addresses the challenge of isolating object-level motion without discarding the global context required to correctly interpret it.

Figure 1: Localized motion representations enable context-aware scene composition. (Left) Our method extracts motion from selected regions while preserving global contextual cues such as camera motion, interactions, and scale, unlike cropping-based localization. (Right) These localized representations can be transferred from multiple source videos to target objects, enabling the composition of distinct motions within a single scene.

Methods

The authors propose a framework that processes the full video but conditions motion encoding directly on a user-specified spatial mask. The architecture consists of three main components:

  1. Content Encoder ($C_\phi$): Maps an initial frame and a region mask to a time-invariant "content token." This provides appearance grounding and defines the semantic identity of the target object.
  2. Motion Encoder ($E_\theta$): Processes the entire video alongside the content tokens. Because it retains the full scene context, it can leverage global cues (camera motion, layout, interactions) to accurately attribute motion to the queried region, producing region-specific, temporally consistent motion tokens.
  3. Masked Tracks Decoder ($D_\psi$): Supervises the motion tokens during training by predicting future point trajectories only within the masked region. This forces the motion tokens to isolate local dynamics while ignoring unrelated scene changes.

To apply these representations to controllable video generation, the extracted motion and content tokens are appended to the temporal self-attention layers of a pretrained video diffusion model (CogVideoX-5B) and fine-tuned using Low-Rank Adaptation (LoRA).

Figure 2: Method Overview. Given a video frame with corresponding object masks, the content encoder produces static region tokens for appearance grounding (a). The motion encoder (b) extracts persistent, region-specific motion tokens while preserving global context. The masked flow decoder (c) predicts region-level point trajectories, enforcing localized motion supervision within masked areas.

Datasets

  • Training: The model was trained on a massive mixture of ~17 million video clips, combining the public OpenVid-1M dataset with a self-collected internal dataset of ~16 million clips from YouTube.
  • Evaluation:
  • Motion Transfer & Composition: Evaluated using MTBench (sourced from DAVIS and YouTube-VOS) with target frames generated via Z-Image Turbo.
  • Action Classification & Understanding: Evaluated using A2D (Actor-Action Dataset), ARID, IARD, Jester, Something-Something V2, Diving48, SemanticMoments, and LAOM DCS.

Key Insights and Ideas

  • Context is Essential for Local Motion: Localized motion cannot be reliably inferred from spatial crops alone. When context is removed, models frequently confuse object motion with camera motion or collapse to the dominant camera movement.
  • Local-to-Global Generalization: Even though the model is trained to find localized dynamics using spatial masks, it can act as a high-performing global motion encoder simply by being prompted with a full-frame mask. This demonstrates that localized pre-training yields a strictly more general and robust motion representation.
  • Disentanglement of "What" and "How": By separating the time-invariant content token from the temporally evolving motion token, the model successfully transfers complex dynamics across different structures and viewpoints without leaking the source object's appearance.

Key Results

  • Controllable Motion Transfer: On the localized motion transfer benchmark, the proposed method achieved a Motion Selectivity score of 0.2304 (defined as the difference between in-region fidelity and out-of-region leakage), outperforming the global semantic baseline DisMo (0.1377) and showing a much cleaner spatial isolation than trajectory-based methods like Tora.
  • Multi-Source Scene Composition: When transferring distinct motions from multiple source videos to different target objects simultaneously, the method achieved the highest motion selectivity (0.4114), significantly suppressing unintended motion leakage to static parts of the scene.
  • Localized Action Classification: For zero-shot localized action classification on the A2D dataset, the model achieved 33.90% Accuracy and a 46.43 F1 score, substantially outperforming video encoders like V-JEPA2 (14.04% Accuracy) and global motion encoders localized via post-hoc cropping (27.24% Accuracy).

Limitations and Future Work

  • Mask Dependency: The framework relies on high-quality spatiotemporal spatial masks (e.g., from SAM2) to prompt the region of interest during inference. Errors or drift in the tracking masks could degrade the quality of the extracted motion.
  • Ethical and Dual-Use Concerns: Because the model allows precise, object-level motion transfer, the authors note it could be misused to fabricate deceptive video content or convincingly manipulate individual actions within a scene.
  • Future Directions: Promising avenues include exploring real-time inference capabilities and evaluating even more aggressive bottleneck compression for downstream edge-device applications.

Summary updated

BibTeX
@misc{fundel2026what,
  author = {Frank Fundel and Malek Ben Alaya and Thomas Ressler-Antal and Stefan Andreas Baumann and Björn Ommer},
  title = {{What Moves? Localized Motion Representations for Compositional Scene Control}},
  year = {2026},
  eprint = {2609.04383},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.04383},
}
Figure