atlas

Research map / Image generation / Fast diffusion sampling

BitsFusion: 1.99 bits Weight Quantization of Diffusion Model

NeurIPS 2024 · Image generation › Fast diffusion sampling · approach: Fast diffusion ODE solvers · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Quantizes the SD-v1.5 UNet to an average 1.99 bits via mixed-precision layer assignment, balanced integer levels, alternating scale initialization, and two-stage distillation with error-aware timestep sampling, yielding a 7.9x smaller model that matches or beats FP32 SD-v1.5 on CLIP, TIFA, GenEval, and human preference.

Problem

Stable Diffusion v1.5's UNet is large (1.72 GB in FP16), and prior diffusion quantization work mostly targets 4-bit-and-above weights on small-scale models, leaving extremely low-bit quantization of large text-to-image diffusion models underexplored.

Approach

Combine a per-layer sensitivity analysis (MSE scaled by layer size plus CLIP score drop) to assign mixed bit-widths with a balanced integer level set (log2(2^n+1) bits), alternating-optimization scale initialization, caching of time embeddings, and a two-stage QAT pipeline (CFG-aware distillation with feature loss and Beta-sampled timesteps focused on high-error steps, then noise-prediction fine-t

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Quantize the SD-v1.5 UNet to 1.99 bits with BitsFusionStable Diffusion v1.5 · 1K PartiPromptsCLIP score: 0.3175 -> 0.3212Helped
Add a balance integer (ablation)2-bit QAT-Base · 1K PartiPromptsAverage CLIP score: 0.2797 -> 0.3054Helped
Add alternating optimization for scaling-factor initialization (ablation)BitsFusion + Balance · 1K PartiPromptsAverage CLIP score: 0.3054 -> 0.3100Helped
Add mixed-precision quantization and time-embedding caching (ablation)BitsFusion + Alternating Opt. · 1K PartiPromptsAverage CLIP score: 0.3100 -> 0.3118Helped
Add feature distillation (ablation)BitsFusion + Mixed/Caching · 1K PartiPromptsAverage CLIP score: 0.3118 -> 0.3142Helped
Add quantization error-aware time-step sampling (ablation)BitsFusion + Feat Dist. · 1K PartiPromptsAverage CLIP score: +0.0014Helped
Add Stage-II noise-prediction fine-tuning (ablation)BitsFusion + Time Sampling · 1K PartiPromptsAverage CLIP score: +0.0027Helped
Use parameter-size factor eta 0.3 rather than eta 0 (ablation)BitsFusion mixed-precision strategy · 1K PartiPromptsCLIP score: 0.3155 -> 0.3181Helped
Set feature-distillation weight lambda to 1 rather than 0.01 (ablation)BitsFusion · 1K PartiPromptsCLIP score: 0.3181 -> 0.3164Hurt
Set feature-distillation weight lambda to 0.1 rather than 0.01 (ablation)BitsFusion · 1K PartiPromptsCLIP score: 0.3181 -> 0.3159Hurt
Set time-sampling Beta distribution alpha to 3.0 rather than 1.5 (ablation)BitsFusion · 1K PartiPromptsCLIP score: 0.3169 -> 0.3181Helped
Set time-sampling Beta distribution alpha to 3.0 rather than 2.0 (ablation)BitsFusion · 1K PartiPromptsCLIP score: 0.3173 -> 0.3181Helped

Surprising findings

Limitations

Experimental setup

Datasets: internal dataset MS-COCO 2014 PartiPrompts TIFA GenEval

Benchmarks: MS-COCO 2014 30K validation (CLIP score, FID) TIFA GenEval PartiPrompts (CLIP score, human evaluation)

Metrics: CLIP score FID TIFA score GenEval score human preference rate

Baselines: LSQ Q-Diffusion EfficientDM Apple-MBP SD-v1.5

Builds on: LSQ Q-Diffusion EfficientDM classifier-free guidance

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy