atlas

Research map / Image generation / Text-to-image diffusion

Not All Prompts Are Made Equal: Prompt-based Pruning of Text-to-Image Diffusion Models

ICLR 2025 · Image generation › Text-to-image diffusion · approach: Inference-time T2I improvement · 0 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.

Prunes Stable Diffusion V2.1 into a mixture of prompt-routed pruned experts (APTP) using a contrastive-trained prompt router with optimal-transport-balanced architecture codes, fine-tuned on CC3M and MS-COCO.

Problem

Static pruning of text-to-image diffusion models uses one sub-network for all prompts despite varying prompt complexity, while dynamic per-prompt pruning breaks GPU batch parallelism; the paper targets prompt-adaptive pruning of T2I models for a fixed compute budget on a target dataset.

Approach

A prompt router maps each prompt embedding (frozen Sentence Transformer + feed-forward predictor) to one of N learnable architecture codes, each a Gumbel-sigmoid width/depth mask defining an expert sub-network; contrastive loss makes similar prompts share codes and Sinkhorn optimal transport with equipartition prevents code collapse, so experts can be batched.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use prompt-based APTP pruning at 0.85 budget instead of static SP pruningStable Diffusion 2.1 · CC3M validationFID: 75.81 -> 36.77Helped
Use prompt-based APTP pruning at 0.85 budget instead of static SP pruningStable Diffusion 2.1 · CC3M validationCLIP: 26.83 -> 30.84Helped
Use prompt-based APTP pruning at 0.85 budget instead of static SP pruningStable Diffusion 2.1 · CC3M validationCMMD: 1.243 -> 0.675Helped
Use prompt-based APTP pruning at 0.64 budget instead of static pruningStable Diffusion 2.1 · MS-COCO validationFID: 26.31 -> 39.12Mixed
Use prompt-based APTP pruning at 0.78 budget instead of static SP pruningStable Diffusion 2.1 · MS-COCO validationCLIP: 28.98 -> 31.32Helped
Use prompt-based APTP pruning at 0.78 budget instead of static BKSDM pruningStable Diffusion 2.1 · MS-COCO validationCMMD: 0.611 -> 0.569Helped
Use contrastive-only prompt routing rather than a single architecture (ablation)Stable Diffusion 2.1 pruned to an expert mixture · MS-COCO validationFID: 46.56 -> 48.78Hurt
Add optimal transport to the contrastive router (ablation)Stable Diffusion 2.1 pruned to an expert mixture · MS-COCO validationFID: 48.78 -> 38.56Helped
Add optimal transport to the contrastive router (ablation)Stable Diffusion 2.1 pruned to an expert mixture · MS-COCO validationCLIP: 28.90 -> 30.07Helped
Add optimal transport to the contrastive router (ablation)Stable Diffusion 2.1 pruned to an expert mixture · MS-COCO validationCMMD: 0.92 -> 0.74Helped
Add distillation to the contrastive router with optimal transport (ablation)Stable Diffusion 2.1 pruned to an expert mixture · MS-COCO validationFID: 38.56 -> 25.57Helped
Vary the number of experts (ablation)APTP on Stable Diffusion 2.1 · MS-COCOFIDMixed

Surprising findings

Limitations

Experimental setup

Datasets: CC3M MS-COCO 2014 PartiPrompts

Benchmarks: CC3M validation MS-COCO 2014 validation PartiPrompts

Metrics: FID CLIP score CMMD PickScore MACs latency

Baselines: Norm pruning Structural Pruning (SP) BK-SDM Stable Diffusion V2.1

Builds on: Stable Diffusion BK-SDM Sinkhorn-Knopp Gumbel-sigmoid reparameterization Sentence Transformers

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