Abstract
Recent advances in text-to-image generation have primarily relied on extensive datasets and parameter-heavy architectures. These requirements severely limit accessibility for researchers and practitioners who lack substantial computational resources. In this paper, we introduce LightGen, an efficient training paradigm for image generation models that uses knowledge distillation (KD) and Direct Preference Optimization (DPO). Drawing inspiration from the success of data KD techniques widely adopted in Multi-Modal Large Language Models (MLLMs), LightGen distills knowledge from state-of-the-art (SOTA) text-to-image models into a compact Masked Autoregressive (MAR) architecture with only 0.7B parameters. Using a compact synthetic dataset of just 2M high-quality images generated from varied captions, we demonstrate that data diversity significantly outweighs data volume in determining model performance. This strategy dramatically reduces computational demands and reduces pre-training time from potentially thousands of GPU-days to merely 88 GPU-days. Furthermore, to address the inherent shortcomings of synthetic data, particularly poor high-frequency details and spatial inaccuracies, we integrate the DPO technique that refines image fidelity and positional accuracy. Comprehensive experiments confirm that LightGen achieves image generation quality comparable to SOTA models while significantly reducing computational resources and expanding accessibility for resource-constrained environments.
Introduction
The current landscape of text-to-image (T2I) generation is dominated by "behemoth" models such as Flux and Stable Diffusion 3. While these models produce impressive results, they often exceed 10 billion parameters and require training on billions of web-scraped images across thousands of high-end GPUs. This creates a significant accessibility gap, effectively locking out researchers and developers without massive computational infrastructure. Moreover, web-scraped datasets are inherently noisy, containing many low-quality images that hinder training efficiency.
LightGen addresses these challenges by demonstrating that data diversity and quality outweigh sheer volume. It is a compact 0.7B parameter T2I model that achieves state-of-the-art performance using a fraction of the resources typically required. By training on just 2 million synthetic images and utilizing Direct Preference Optimization (DPO), LightGen matches the quality of models ten times its size while reducing training time from thousands of GPU-days to just 88.
Methodology
LightGen employs a multi-stage strategy designed for maximum efficiency without sacrificing output quality.
Compact Architecture
The model utilizes a Masked Autoregressive (MAR) architecture. Unlike traditional diffusion models or standard autoregressive models, MAR predicts sets of image tokens simultaneously. This approach strikes an optimal balance between the generation speed of diffusion models and the complex reasoning capabilities of autoregressive frameworks.
Knowledge Distillation (KD)
Rather than learning from raw, noisy web data, LightGen "learns from the masters." The authors leverage SOTA models like Flux and DALL-E 3 to generate a high-quality synthetic dataset. LightGen then distills the knowledge from these "teacher" models into its smaller "student" architecture. This ensures the model is exposed only to high-quality, well-aligned image-text pairs from the start.
Direct Preference Optimization (DPO)
A key innovation in LightGen is the application of Direct Preference Optimization (DPO), a technique borrowed from Large Language Model (LLM) alignment. Synthetic data often lacks fine-grained "high-frequency" details and can exhibit spatial misalignments. DPO serves as a post-processing step, fine-tuning the model to prefer high-fidelity, spatially accurate images over lower-quality ones. This effectively "polishes" the model's output, correcting common artifacts found in synthetic datasets.
Results and Efficiency
LightGen demonstrates that efficiency does not have to come at the cost of performance. At 512x512 resolution, LightGen achieved a GenEval score of 0.62. This significantly outperforms Stable Diffusion XL (0.26) and is nearly on par with Stable Diffusion 3 (0.65), despite SD3 having a much larger parameter count.
The efficiency gains are substantial:
- Dataset Size: 5000x reduction compared to WebLI.
- Model Parameters: 17.1x fewer parameters than Flux.
- Training Time: 81x reduction in GPU hours compared to Lumina-Next.
Furthermore, LightGen exhibits strong zero-shot capabilities in tasks such as inpainting, despite not being explicitly trained for them.
Discussion and Conclusion
A key insight from this research is the "1M Image Bottleneck": performance on synthetic data reached a plateau at approximately 1 million images, suggesting that diversity is the primary driver of performance once a certain quality threshold is met. Additionally, using DPO as a "vision polisher" proved highly effective at fixing artifacts like blurriness or spatial errors.
While LightGen is highly efficient, it remains dependent on the quality of its "teacher" models. Synthetic data also inherently lacks some of the fine-grained textures found in real-world photography. Future work will explore extending this paradigm to video generation and further optimizing the model for edge devices like smartphones. LightGen represents a significant step toward democratizing high-quality image generation for the broader research community.
Reference: Wu, X., et al. (2025). LightGen: Efficient Image Generation through Knowledge Distillation and Direct Preference Optimization. arXiv:2503.08619v1.
Summary updated