CPA: Camera-pose-awareness Diffusion Transformer for Video Generation
Yuelei Wang, Jian Zhang, Pengtao Jiang, Hao Zhang, Jinwei Chen, Bo Li
TL;DR
The paper addresses the challenge of precise camera-pose control in diffusion-transformer video generation. It introduces CPA, which encodes per-frame camera poses as a $12$-dimensional motion representation via Plücker coordinates, converts them into a sparse motion field with Sparse Motion Encoding (SME), and injects the resulting pose latent into temporal attention through Temporal Attention Injection (TAI), guided by a pose latent VAE. Through a two-stage training regime on RealEstate10K and careful fine-tuning of OpenSora, CPA achieves state-of-the-art performance for long-video generation, improving trajectory fidelity and object-consistency while preserving high visual quality. This camera-pose-aware diffusion framework enables flexible, controllable video synthesis with potential applications in creative, AR/VR, and cinematic contexts.
Abstract
Despite the significant advancements made by Diffusion Transformer (DiT)-based methods in video generation, there remains a notable gap with controllable camera pose perspectives. Existing works such as OpenSora do NOT adhere precisely to anticipated trajectories and physical interactions, thereby limiting the flexibility in downstream applications. To alleviate this issue, we introduce CPA, a unified camera-pose-awareness text-to-video generation approach that elaborates the camera movement and integrates the textual, visual, and spatial conditions. Specifically, we deploy the Sparse Motion Encoding (SME) module to transform camera pose information into a spatial-temporal embedding and activate the Temporal Attention Injection (TAI) module to inject motion patches into each ST-DiT block. Our plug-in architecture accommodates the original DiT parameters, facilitating diverse types of camera poses and flexible object movement. Extensive qualitative and quantitative experiments demonstrate that our method outperforms LDM-based methods for long video generation while achieving optimal performance in trajectory consistency and object consistency.
