Introduction
Diffusion models have transformed the landscape of high-fidelity image generation but remain computationally expensive, typically requiring dozens of iterative steps to produce a single image. While distillation techniques aim to reduce this overhead, they often necessitate massive datasets and thousands of GPU hours. Glance introduces a novel "phase-aware" distillation framework that achieves a 5x speedup using only one training sample and one GPU-hour, significantly lowering the barrier to efficient model deployment.
Methodology: Phase-Aware Acceleration
The core innovation of Glance is the observation that the denoising process consists of two distinct stages: a Semantic Phase (establishing global structure) and a Refinement Phase (filling in fine textures). Glance employs two specialized Low-Rank Adaptation (LoRA) experts to handle these regimes:
- Slow-LoRA: Operates during the early, high-noise phase to preserve semantic integrity and global layout.
- Fast-LoRA: Operates during the late, low-noise phase to rapidly accelerate the generation of fine details.
The transition between these experts is governed by a Signal-to-Noise Ratio (SNR) threshold. By using a flow-matching supervision objective, the model learns the "velocity" of the denoising trajectory. Remarkably, this learning process requires only a single image-text pair to teach the adapters how to shortcut the standard denoising path.
Efficiency and Performance
Glance demonstrates unprecedented efficiency compared to existing state-of-the-art distillation methods. While models like SDXL-DMD2 require nearly 3,800 A100 GPU hours and millions of images, Glance achieves comparable results in under one GPU hour on a single V100.
In evaluations across benchmarks such as COCO-10k and HPSv2, Glance-distilled versions of FLUX.1-12B and Qwen-Image-20B retained 92% to 99% of their teacher models' performance while reducing inference from 50 steps to just 8–10 steps.
Key Insights
- The Power of One: A single well-chosen sample is sufficient to learn the dynamics of denoising because flow matching predicts the target velocity field directly, bypassing the need for massive datasets.
- Generalization: Despite the minimal training data, the model generalizes perfectly to unseen prompts, proving it learns the underlying dynamics of the denoising process rather than memorizing pixels.
- Modular Design: Because the base model remains frozen, Glance acts as a non-destructive "speed-up kit," preserving the original model's broad knowledge base and generalization capabilities.
Limitations and Future Outlook
While highly effective, Glance shows some limitations in rendering dense or extremely small text, likely due to the high-frequency spatial precision required. Future iterations may explore Dynamic Expert Switching, allowing the model to adjust the transition point between LoRAs based on prompt complexity, or even "zero-shot" distillation using synthetic trajectories generated by the model itself.
Summary updated