ACD: Direct Conditional Control for Video Diffusion Models via Attention Supervision

Weiqi Li, Zehao Zhang, Liang Lin, Guangrun WangarXiv 2025 · DOI

Introduction

Controllable video generation—where users can precisely specify camera movement and object placement—remains a significant challenge in generative AI. Current state-of-the-art models typically rely on two primary paradigms: Classifier-Free Guidance (CFG) and Classifier-Based Guidance. CFG often results in "weak" alignment where the model ignores specific spatial constraints, while classifier-based methods frequently introduce adversarial artifacts that degrade visual quality. Furthermore, many existing methods require dense control signals, such as per-pixel depth maps, which are computationally expensive and difficult to acquire for diverse real-world datasets.

Attention-Conditional Diffusion (ACD) addresses these limitations by shifting the focus from supervising the model's output to supervising its internal reasoning process. By aligning internal attention maps with sparse, 3D-aware object layouts, ACD achieves precise control over camera and object positioning while maintaining high visual fidelity.

Figure 1: ACD generates high-fidelity videos along specified camera trajectories by supervising internal attention maps with sparse 3D layouts (shown in insets).

Methodology

Attention Supervision

The core innovation of ACD is Attention Supervision. During training, the framework computes a cross-attention map between the tokens of a masked latent and the original noisy latent. The model is penalized via an Attention Loss ($L_{attn}$) if these internal maps do not align with provided 3D layout masks. This forces the transformer's attention mechanism to physically ground itself in the specified control signals, ensuring the model "looks" at the correct spatial locations when generating specific objects.

Sparse 3D-Aware Layouts

Rather than relying on dense per-pixel maps, ACD utilizes lightweight 3D layouts derived from CAD models. These layouts encode object geometry and spatial relationships, providing intuitive control over scene composition. To facilitate training, the researchers developed an automated annotation pipeline that integrated 3D CAD models from ShapeNet into the RealEstate10K dataset, resulting in 20,000 annotated videos with 9-DoF object poses.

Layout ControlNet

To inject these sparse signals into a pre-trained Video Diffusion Transformer (specifically CogVideoX-5B), ACD employs a dedicated Layout ControlNet module. This architecture allows the model to leverage the powerful priors of large-scale pre-trained models while adhering to new spatial constraints.

Key Insights

  • Supervising the "Where": By forcing attention maps to match layouts, ACD prevents common generation errors where objects appear displaced from their intended coordinates.
  • Efficiency of Sparsity: The research demonstrates that sparse 3D boxes provide sufficient guidance for a model to reconstruct complex, coherent scenes, provided the attention mechanism is correctly supervised.
  • Artifact Mitigation: Unlike classifier-based guidance, which can produce "crunchy" or noisy textures, attention supervision integrates constraints directly into the transformer's spatial reasoning, preserving natural image statistics.

Results and Evaluation

ACD was evaluated against several top-tier baselines, including Seva (Stable Virtual Camera), AC3D, and ViewCrafter. Quantitative results indicate that ACD significantly outperforms existing methods, particularly in maintaining coherence over long trajectories. On the "Hard" evaluation set, ACD achieved a Fréchet Video Distance (FVD) of 481.68, a substantial improvement over AC3D (986.48) and Seva (1019.21).

In terms of camera accuracy, ACD consistently showed lower rotation and translation errors ($R_{err}$ and $T_{err}$), indicating superior adherence to intended camera paths. Human evaluations further supported these findings, with ACD being preferred for perceptual similarity 85% of the time on standard test sets.

Limitations and Future Work

While ACD represents a major step forward in controllable video generation, it is currently optimized for static indoor environments. Handling dynamic objects (e.g., moving people) and complex outdoor lighting transitions remains an area for future research. Additionally, while the annotation pipeline is automated, it currently depends on the availability of 3D CAD models; extending this framework to "in-the-wild" videos without such templates is a primary goal for subsequent iterations.

Summary updated

BibTeX
@misc{li2025acd,
  author = {Weiqi Li and Zehao Zhang and Liang Lin and Guangrun Wang},
  title = {{ACD: Direct Conditional Control for Video Diffusion Models via Attention Supervision}},
  year = {2025},
  eprint = {2512.21268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.21268},
}
Figure