Abstract
As a class of fruitful approaches, diffusion probabilistic models (DPMs) have shown excellent advantages in high-resolution image reconstruction. On the other hand, masked autoencoders (MAEs), as popular self-supervised vision learners, have demonstrated simpler and more effective image reconstruction and transfer capabilities on downstream tasks. However, they all require extremely high training costs, either due to inherent high temporal-dependence (i.e., excessively long diffusion steps) or due to artificially low spatial-dependence (i.e., human-formulated high mask ratio, such as 0.75). To the end, this paper presents LMD, a faster image reconstruction framework with latent masking diffusion. First, we propose to project and reconstruct images in latent space through a pre-trained variational autoencoder, which is theoretically more efficient than in the pixel-based space. Then, we combine the advantages of MAEs and DPMs to design a progressive masking diffusion model, which gradually increases the masking proportion by three different schedulers and reconstructs the latent features from simple to difficult, without sequentially performing denoising diffusion as in DPMs or using fixed high masking ratio as in MAEs, so as to alleviate the high training time-consumption predicament. Our approach allows for learning high-capacity models and accelerate their training (by 3x or more) and barely reduces the original accuracy. Inference speed in downstream tasks also significantly outperforms the previous approaches.
Introduction
High-quality image reconstruction is currently dominated by two computational paradigms: Diffusion Probabilistic Models (DPMs) and Masked Autoencoders (MAEs). While powerful, both suffer from significant training overhead. DPMs rely on a long sequence of denoising steps, creating a high temporal dependence that slows down both training and sampling. Conversely, MAEs typically employ a fixed, high mask ratio (e.g., 75%) from the start of training. This creates a spatial dependence challenge where the model must learn complex structures from sparse information immediately, leading to prolonged convergence times.
LMD (Latent Masking Diffusion) addresses these bottlenecks by bridging the gap between masking and diffusion. By conceptualizing masking as a progressive diffusion process within a compressed latent space, LMD achieves superior efficiency without sacrificing reconstruction quality.
Methodology
The LMD framework introduces a multi-stage approach to accelerate image reconstruction:
Perceptual Latent Space Projection
Operating in high-dimensional pixel space is computationally redundant. LMD utilizes a pre-trained Variational Autoencoder (VAE) to project images (e.g., $256 \times 256$) into a lower-dimensional latent space (e.g., $64 \times 64$). This compression focuses the model on perceptual features rather than pixel-level noise, significantly reducing the computational footprint.
Progressive Masking Diffusion
Unlike standard MAEs that use a static mask ratio, LMD introduces a progressive masking strategy. It starts with a low mask ratio—an "easy" task—and gradually increases it to a high ratio as training progresses. This curriculum learning approach allows the model to capture basic spatial correlations before tackling more complex structural reconstruction.
Masking Schedulers
The transition from low to high mask ratios is governed by three proposed schedulers: Uniform, Piecewise, and Cosine. The Cosine Scheduler (LMD-CS) was found to be the most effective, providing a smooth ramp-up that aligns with the model's natural learning curve and prevents training instability.
Asymmetric Architecture
To optimize for generative tasks, LMD employs an asymmetric design. A lightweight encoder (8 blocks) is paired with a more substantial decoder (12 blocks), ensuring the model has sufficient capacity to handle the complexities of high-fidelity image synthesis.
Results and Discussion
LMD was evaluated on ImageNet-1K and LSUN-Bedrooms, demonstrating substantial gains in training efficiency and generative performance.
- Training Efficiency: LMD-CS achieved a Mean Loss-decrease Time (MLT) of 6.92, a nearly 3x speedup compared to the original MAE's MLT of 17.11. In generative tasks on LSUN-Bedrooms, LMD (MLT 7.06) significantly outperformed standard Latent Diffusion Models (MLT 15.84).
- Reconstruction and Generation Quality: Despite the accelerated training, LMD maintains high accuracy. On ImageNet-1K, LMD-CS achieved superior Top-1 accuracy compared to baseline MAEs. In generative benchmarks, LMD-CS reached an FID of 6.2 on the Conceptual Captions dataset, outperforming established models like Stable Diffusion v1.4 (FID 17.01).
Conclusion
LMD successfully mitigates the high training costs associated with modern image reconstruction models. By combining latent space projection with a progressive masking diffusion schedule, it offers a 3x training speedup while maintaining or improving performance on downstream tasks. Future work will explore the integration of LMD into larger multi-modal frameworks and its robustness across even more diverse datasets.
Summary updated