Interactive Video Generation via Domain Adaptation

Ishaan Rawal, Suryansh KumararXiv 2025 · DOI

Abstract

Interactive Video Generation (IVG) aims to provide users with fine-grained control over object motion within generated videos. Traditional training-free methods often suffer from a significant trade-off between control precision and visual quality. This paper introduces a novel approach that treats trajectory control as a domain adaptation problem at inference time. By implementing Mask Normalization to stabilize internal feature distributions and Temporal Intrinsic Denoising (TID) to bridge the gap between random noise and spatial constraints, the authors achieve state-of-the-art performance without the need for expensive retraining.

Introduction

While text-to-video diffusion models excel at generating content from textual prompts, specifying precise object trajectories remains a challenge. Existing solutions are either training-intensive or rely on attention masking, which frequently introduces visual artifacts. The authors identify two primary "failure modes" in training-free IVG: internal covariate shift caused by masked attention maps and an initialization gap between random noise and the desired spatio-temporal trajectory.

A generated sequence showing a squirrel descending a tree, demonstrating temporal consistency and adherence to a downward trajectory.

Methodology

The proposed framework addresses these challenges through two key components inspired by domain adaptation principles:

1. Mask Normalization

To counteract the covariate shift induced by masking, the authors introduce a pre-normalization layer using Exact Feature Distribution Matching (EFDM). This technique aligns the distribution of masked attention outputs (the target domain) with the expected unmasked distribution (the source domain) seen during training. By matching empirical cumulative distribution functions, the model preserves feature variance, preventing the "blown out" distortions typical of masked diffusion.

2. Temporal Intrinsic Denoising (TID)

TID addresses the initialization gap by treating the sampling process as a denoising task guided by a temporal prior. Inspired by Deep Image Prior (DIP), the method uses the model's internal gradients to steer latents toward a state that is both realistic and compliant with the user-defined trajectory. A consistency metric based on Pearson correlation ensures smooth foreground motion across consecutive frames.

Experimental Results

The method was evaluated using the Zeroscope backbone on the Peekaboo Dataset, which contains 126 prompt-trajectory pairs.

Examples of trajectory-controlled video generation for a squirrel, kangaroo, and swan, showing the alignment between user-defined bounding boxes and generated subjects.

Quantitative analysis demonstrates that the proposed approach outperforms baselines like Peekaboo and Trailblazer in both trajectory accuracy and perceptual quality. Specifically, the method achieved a mean Intersection over Union (mIoU) of 34.73% and maintained lower FID (131.19) and KID (1.92%) scores, indicating superior realism and temporal stability compared to existing training-free alternatives.

Discussion and Limitations

The core innovation lies in reframing trajectory control as a domain adaptation task, ensuring that internal features remain on the "manifold" of natural videos. However, limitations remain, including occasional subject hallucination (e.g., generating multiple subjects to fill trajectory boxes) and background inconsistencies in complex scenes. Future research will focus on extending these tools to multi-subject scenarios and integrated camera control.

Summary updated

Abstract

Text-conditioned diffusion models have emerged as powerful tools for high-quality video generation. However, enabling Interactive Video Generation (IVG), where users control motion elements such as object trajectory, remains challenging. Recent training-free approaches introduce attention masking to guide trajectory, but this often degrades perceptual quality. We identify two key failure modes in these methods, both of which we interpret as domain shift problems, and propose solutions inspired by domain adaptation. First, we attribute the perceptual degradation to internal covariate shift induced by attention masking, as pretrained models are not trained to handle masked attention. To address this, we propose mask normalization, a pre-normalization layer designed to mitigate this shift via distribution matching. Second, we address initialization gap, where the randomly sampled initial noise does not align with IVG conditioning, by introducing a temporal intrinsic diffusion prior that enforces spatio-temporal consistency at each denoising step. Extensive qualitative and quantitative evaluations demonstrate that mask normalization and temporal intrinsic denoising improve both perceptual quality and trajectory control over the existing state-of-the-art IVG techniques.
BibTeX
@misc{rawal2025interactive,
  author = {Ishaan Rawal and Suryansh Kumar},
  title = {{Interactive Video Generation via Domain Adaptation}},
  year = {2025},
  eprint = {2505.24253},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.24253},
}
Figure