NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CDG-MAE: Cross-view Masked Modeling using Diffusion Generated Views

Varun Belagali, Pierre Marza, Srikar Yellapragada, Zilinghan Li, Tarak Nath Nandi, Ravi K. Madduri, Joel Saltz, Stergios Christodoulidis, Maria Vakalopoulou, Dimitris Samaras

TL;DR

CDG-MAE is a novel self-supervised learning framework that trains Masked Autoencoders (MAEs) for dense correspondence tasks using synthetic views generated from static images via diffusion models. By combining these realistic, pose-variant views with a multi-anchor masking strategy, it eliminates the need for expensive video datasets while matching or exceeding the performance of video-pretrained models.

What Problem Does This Paper Address?

Learning dense correspondences—the ability to track specific pixels, objects, or body parts across different frames—is a foundational challenge in computer vision, essential for tasks like video object segmentation and pose tracking. Cross-view Masked Autoencoders (MAEs) have emerged as a powerful tool for this, learning representations by reconstructing a masked "target" image using hints from an unmasked "anchor" image.

However, these methods face a data bottleneck. Training them effectively requires pairs of images showing the same scene from different perspectives or points in time. Currently, researchers either use real video datasets (which are costly to collect and limited in scene diversity) or apply random crops to static images (which lack realistic changes in object pose and perspective).

The authors of CDG-MAE ask a compelling question: Can we leverage image-conditioned diffusion models to generate dynamic, video-like variations from abundant static image datasets?

Comparison of image crops, video frames, and diffusion-generated views for cross-view learning.

Methods

CDG-MAE breaks the training pipeline into three distinct stages:

  1. Bag of Views Generation: For every static image in a dataset, an off-the-shelf, self-supervised latent diffusion model (S-LDM) generates $M$ alternative synthetic views. These views introduce variations in motion, pose, and perspective while preserving the core identity of the objects in the scene.
  2. Quantitative View Evaluation: Not all diffusion models generate useful training data. The authors introduce three quantitative metrics to evaluate the generated pairs: Global Similarity (GS) for semantic coherence, Local Similarity (LS) to ensure sufficient pose/perspective variation, and Nearest Patch Similarity (NPS) to verify structural consistency.
  3. Multi-Anchor Masking: Traditional cross-view MAEs use a single unmasked anchor view to reconstruct the target. CDG-MAE upgrades this by utilizing multiple anchor views simultaneously. Crucially, they introduce anchor masking (hiding patches within the anchors themselves), which prevents the pretext task from becoming too easy and forces the network to learn more robust, distributed representations.
Overview of the CDG-MAE pipeline, showing view generation, consistency evaluation, and the multi-anchor training architecture.

Datasets

  • Pretraining: ImageNet-1K (a standard dataset of static images).
  • Downstream Evaluation (Video Label Propagation):
  • DAVIS-2017: Used for video object segmentation.
  • VIP: Used for semantic part propagation.
  • JHMDB: Used for human pose propagation.
  • Additional Evaluation: FlyingChairs and FlyingThings (for optical flow training), and KITTI (for zero-shot optical flow evaluation).

Key Insights and Ideas

  • Diffusion Models as Video Simulators: The quantitative metrics revealed that views generated by self-supervised diffusion models (like Gen-SIS) closely mimic the statistical properties of actual consecutive video frames, making them excellent proxies for video data.
  • The Masking Balance: Simply adding more anchor views provides too much context to the decoder, trivializing the reconstruction task. Introducing anchor masking strikes a perfect balance—keeping the task challenging while supplying the network with rich, multi-view contextual cues.
  • Patch Size Synergy: Reducing the Vision Transformer (ViT) patch size from 16x16 to 8x8 yielded massive performance gains. Finer-grained representations allow the model to better exploit the subtle, high-fidelity variations introduced by the diffusion model.

Key Results

CDG-MAE substantially outperforms previous image-crop-based methods and narrows the gap with models trained on actual videos:

  • Outperforming Video Pretraining: Using a standard ViT-S/16 backbone, CDG-MAE-a3 (3 anchors, 25% masking) achieved 62.6% on DAVIS, 38.1% on VIP, and 47.8% on JHMDB. This beats SiamMAE—which was trained on actual videos from Kinetics-400—on both the VIP (37.3%) and JHMDB (47.0%) benchmarks.
  • Fine-Grained Scaling: When scaled to a ViT-S/8 backbone, CDG-MAE's performance jumped to 68.4% on DAVIS and 43.3% on VIP, significantly outperforming image-based competitors like CropMAE.
  • Optical Flow: Features learned via CDG-MAE also transferred successfully to zero-shot optical flow estimation on the KITTI dataset, outperforming CropMAE baselines.

Limitations and Future Work

  • Control over Variations: While the self-supervised diffusion model generates excellent diversity, the framework currently lacks fine-grained control over which specific variations occur (e.g., dictating an exact camera rotation angle).
  • Computational Overhead: Generating the "bag of views" dataset offline is a one-time preprocessing step, but it is computationally heavy, requiring roughly 48 hours on a node with 8x NVIDIA A100 GPUs for ImageNet-1K.
  • Generative Biases: The model inherently risks inheriting and potentially amplifying any systematic biases present within the pretraining datasets or the generative diffusion models themselves.

Summary updated

BibTeX
@article{belagali2026cdg,
  author = {Varun Belagali and Pierre Marza and Srikar Yellapragada and Zilinghan Li and Tarak Nath Nandi and Ravi K. Madduri and Joel Saltz and Stergios Christodoulidis and Maria Vakalopoulou and Dimitris Samaras},
  title = {{CDG-MAE: Cross-view Masked Modeling using Diffusion Generated Views}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure