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

Q-Sched: Pushing the Boundaries of Few-Step Diffusion Models with Quantization-Aware Scheduling

Natalia Frumkin, Diana Marculescu

Code: https://github.com/enyac-group/q-sched

Introduction

Text-to-image diffusion models, such as SDXL and FLUX.1, have revolutionized generative AI but remain notoriously resource-heavy. Generating a single image typically requires dozens of passes through massive transformer backbones. To make these models practical for edge devices or multi-tenant GPUs, researchers rely on two primary optimization levers: few-step sampling (distilling the generation process from 50 steps down to 2–8) and quantization (compressing 16-bit weights into 8-bit or 4-bit integers).

However, a significant challenge arises when combining these techniques: they often fight each other. Quantization introduces systematic errors that shift the model's sampling trajectory—the mathematical path it takes from random noise to a clean image. In a standard 50-step model, there is enough time to "self-correct" these errors. In the few-step regime, this self-correction is impossible, leading to visible artifacts like color distortion, blurriness, and hallucinated structures. Furthermore, existing post-training quantization (PTQ) methods usually require a full-precision model for calibration or complex weight tuning, making deployment cumbersome.

To address this, we introduce Q-Sched, a novel PTQ framework that shifts the focus from modifying model weights to optimizing the sampling scheduler. By correcting quantization-induced "trajectory drift," Q-Sched enables high-fidelity image generation in few-step models while reducing model size by 4×, often matching or even exceeding the quality of full-precision models.

The Q-Sched Approach

1. Scheduler Pre-Conditioning

The core insight behind Q-Sched is viewing quantization error not as random noise, but as a systematic "drift" in the probability-flow ODE. If the model's drift is predictable, the scheduler can be pre-emptively adjusted to steer it back on course.

Rather than attempting to fix billions of quantized weights, Q-Sched inserts two lightweight, learnable scalar coefficients ($c_x$ and $c_\epsilon$) into the sampling update rule. These coefficients act as a steering mechanism, re-weighting the contribution of the current noisy state ($x_t$) and the predicted noise ($\epsilon_\theta$) at each step. This allows the quantized model to follow a more favorable trajectory without changing a single bit of the underlying backbone.

2. Joint Alignment–Quality (JAQ) Loss

To find the optimal coefficients, Q-Sched employs a reference-free loss function called Joint Alignment–Quality (JAQ). Traditional methods force a quantized image to perfectly match a specific full-precision "ground truth" image. In contrast, JAQ optimizes for two distinct perceptual goals simultaneously:

  • Text Alignment: How accurately the image reflects the prompt (measured via metrics like CLIPScore).
  • Visual Quality: The overall aesthetic and perceptual quality of the image (measured via CLIP-IQA or HPSV2).

By not forcing the model to match an FP16 reference, Q-Sched allows the quantized model to find a "cleaner" version of the image that might be semantically different but perceptually superior.

3. Lightweight Calibration and Reusability

Because JAQ is reference-free, it avoids the need to run a heavy full-precision model during optimization. The scheduler coefficients can be tuned using as few as 20 calibration prompts in approximately 20 minutes.

Crucially, because the model weights remain frozen, a single checkpoint can be deployed across different hardware targets (e.g., W8A8 for a server GPU, W4A8 for a mobile device) simply by swapping the lightweight scheduler coefficients.

Experimental Results

Q-Sched was rigorously evaluated across high-standard benchmarks, including COCO-30k and MJHQ-30k (a subset of 5,000 high-quality Midjourney prompts). To encourage consistent benchmarking in future research, we have also released the Q-Sched Split, a specific 1,000-prompt subset of MJHQ-30k.

Key findings include: * Significant FID Improvements: Q-Sched achieved a 15.5% improvement in Fréchet Inception Distance (FID) over the 4-step Latent Consistency Model (LCM) and a 16.6% improvement over the 8-step Phased Consistency Model (PCM). * The "Better than FP16" Phenomenon: Surprisingly, Q-Sched sometimes produces better FID scores than the original full-precision (FP16) model. This suggests that scheduler tuning can actually compensate for some of the over-smoothing or artifacts inherent in the original few-step distillation process. * Massive Model Compression: Q-Sched enables W4A8 (4-bit weights, 8-bit activations) quantization, delivering a 4× reduction in model size with negligible quality loss. * Human Preference: In a massive evaluation involving over 80,000 annotations via the Rapidata platform, 1-vs-1 user studies showed Q-Sched on FLUX.1[schnell] and SDXL-Turbo consistently outperforming other state-of-the-art quantization methods like MixDQ and SVDQuant. * Zero Latency Overhead: The method adds absolutely no latency overhead during inference, as the learned coefficients are mathematically fused into the existing scheduler operations.

Limitations and Future Work

While Q-Sched represents a major step forward for efficient diffusion models, it has a few limitations:

  • The 3-Bit Wall: Q-Sched performs exceptionally well at 4-bit and 8-bit quantization. However, pushing down to 3-bit integer weights results in catastrophic quality drops, suggesting a fundamental limit to what scheduler-only tuning can compensate for.
  • Hyperparameter Tuning: The JAQ loss relies on a tradeoff parameter ($k$) between text alignment and visual quality. While $k=2$ worked well across our general tests, specific artistic styles or niche domains might require manual adjustment.
  • Focus on Few-Step Models: This research primarily targets few-step distilled models. While applying Q-Sched to standard 50-step diffusion models is technically possible, those models are inherently less sensitive to the specific trajectory drift that Q-Sched is designed to fix.

Ultimately, Q-Sched demonstrates that quantization and few-step distillation do not have to be at odds. By intelligently steering the sampling trajectory, we can achieve high-fidelity, lightning-fast image generation on resource-constrained hardware.

Summary updated

BibTeX
@inproceedings{frumkin2026q,
  author = {Natalia Frumkin and Diana Marculescu},
  title = {{Q-Sched: Pushing the Boundaries of Few-Step Diffusion Models with Quantization-Aware Scheduling}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=4yzY0GFIJj},
}
Figure