Not All Prompts Are Made Equal: Prompt-based Pruning of Text-to-Image Diffusion Models
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Text-to-image (T2I) diffusion models have demonstrated impressive image generation capabilities. Still, their computational intensity prohibits resource-constrained organizations from deploying T2I models after fine-tuning them on their internal target data. While pruning techniques offer a potential solution to reduce the computational burden of T2I models, static pruning methods use the same pruned model for all input prompts, overlooking the varying capacity requirements of different prompts. Dynamic pruning addresses this issue by utilizing a separate sub-network for each prompt, but it prevents batch parallelism on GPUs. To overcome these limitations, we introduce Adaptive Prompt-Tailored Pruning (APTP), a novel prompt-based pruning method designed for T2I diffusion models. Central to our approach is a prompt router model, which learns to determine the required capacity for an input text prompt and routes it to an architecture code, given a total desired compute budget for prompts. Each architecture code represents a specialized model tailored to the prompts assigned to it, and the number of codes is a hyperparameter. We train the prompt router and architecture codes using contrastive learning, ensuring that similar prompts are mapped to nearby codes. Further, we employ optimal transport to prevent the codes from collapsing into a single one. We demonstrate APTP's effectiveness by pruning Stable Diffusion (SD) V2.1 using CC3M and COCO as target datasets. APTP outperforms the single-model pruning baselines in terms of FID, CLIP, and CMMD scores. Our analysis of the clusters learned by APTP reveals they are semantically meaningful. We also show that APTP can automatically discover previously empirically found challenging prompts for SD, e.g. prompts for generating text images, assigning them to higher capacity codes.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 85 of its 98 references that are in the map. First posted on arXiv 17 Jun 2024.
Builds on
85 of 98 references.
Closest ancestors · 10
Same direction, newest first
- 2023Concept Sliders: LoRA Adaptors for Precise Control in Diffusion Models20 Nov
- 2023SnapFusion: Text-to-Image Diffusion Model on Mobile Devices within Two Seconds1 Jun
- 2023RAPHAEL: Text-to-Image Generation via Large Mixture of Diffusion Paths29 May
- 2023GlyphControl: Glyph Conditional Control for Visual Text Generation29 May
- 2023DiffUTE: Universal Text Editing Diffusion Model18 May
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
- 2021DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation6 Oct
Other references · 75
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Classifier-Free Diffusion Guidancecited by 5,717
38 more
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2023Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationcited by 950
- 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 924
- 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 854
- 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
- 2022On Distillation of Guided Diffusion Modelscited by 721
- 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
- 2019Self-labelling via simultaneous clustering and representation learningcited by 525
- 2023Scaling up GANs for Text-to-Image Synthesiscited by 492
- 2023InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generationcited by 387
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 375
- 2023DeepCache: Accelerating Diffusion Models for Freecited by 346
- 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 305
- 2023Rethinking FID: Towards a Better Evaluation Metric for Image Generationcited by 303
- 2023Q-Diffusion: Quantizing Diffusion Modelscited by 266
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2023A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendationscited by 200
- 2023Structural Pruning for Diffusion Modelscited by 193
- 2022Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Qualitycited by 181
- 2023PTQD: Accurate Post-Training Quantization for Diffusion Modelscited by 167
- 2023Cache Me if You Can: Accelerating Diffusion Models through Block Cachingcited by 149
- 2023Neural Architecture Search: Insights from 1000 Paperscited by 136
- 2021Learning to Efficiently Sample from Diffusion Probabilistic Modelscited by 129
- 2020Dynamic Model Pruning with Feedbackcited by 125
- 2022gDDIM: Generalized denoising diffusion implicit modelscited by 125
50 most cited of 75 All 75 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 9; 2026: 2.
13 papers.
Sort:
By area:
- 2024Efficient Fine-Tuning and Concept Suppression for Pruned Diffusion Modelscited by 15
- 2025ToMoE: Converting Dense Large Language Models to Mixture-of-Experts through Dynamic Structural Pruningcited by 10
- 2025Pluggable Pruning with Contiguous Layer Distillation for Diffusion Transformerscited by 7
- 2024Automated Filtering of Human Feedback Data for Aligning Text-to-Image Diffusion Modelscited by 5
- 2025Fine-tuning Quantized Neural Networks with Zeroth-order Optimizationcited by 5
- 2025Skrr: Skip and Re-use Text Encoder Layers for Memory Efficient Text-to-Image Generationcited by 4
- 2025ALTER: All-in-One Layer Pruning and Temporal Expert Routing for Efficient Diffusion Generationcited by 4
- 2025FlexControl: Computation-Aware ControlNet with Differentiable Router for Text-to-Image Generationcited by 1
- 2025Catalog-Native LLM: Speaking Item-ID Dialect with Less Entanglement for Recommendationcited by 1
- 2025Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformercited by 1
- 20252ndMatch: Finetuning Pruned Diffusion Models via Second-Order Jacobian Matchingcited by 0
- 2026Importance-Aware OBS Pruning for Diffusion Modelscited by 0
1 more
- 2026PruneForget: Joint Unlearning and Pruning of Vision Models26 Sep 2026
- 2026Importance-Aware OBS Pruning for Diffusion Models22 Jul 2026
- 2025Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformer24 Nov 2025
- 2025Pluggable Pruning with Contiguous Layer Distillation for Diffusion Transformers20 Nov 2025
- 2025Catalog-Native LLM: Speaking Item-ID Dialect with Less Entanglement for Recommendation30 Sep 2025
- 20252ndMatch: Finetuning Pruned Diffusion Models via Second-Order Jacobian Matching3 Jun 2025
- 2025ALTER: All-in-One Layer Pruning and Temporal Expert Routing for Efficient Diffusion Generation27 May 2025
- 2025Fine-tuning Quantized Neural Networks with Zeroth-order Optimization19 May 2025
- 2025Skrr: Skip and Re-use Text Encoder Layers for Memory Efficient Text-to-Image Generation12 Feb 2025
- 2025FlexControl: Computation-Aware ControlNet with Differentiable Router for Text-to-Image Generation11 Feb 2025
- 2025ToMoE: Converting Dense Large Language Models to Mixture-of-Experts through Dynamic Structural Pruning25 Jan 2025
- 2024Efficient Fine-Tuning and Concept Suppression for Pruned Diffusion Models19 Dec 2024
- 2024Efficient Fine-Tuning and Concept Suppression for Pruned Diffusion Modelscited by 15
- 2025Pluggable Pruning with Contiguous Layer Distillation for Diffusion Transformerscited by 7
- 2024Automated Filtering of Human Feedback Data for Aligning Text-to-Image Diffusion Modelscited by 5
- 2025Skrr: Skip and Re-use Text Encoder Layers for Memory Efficient Text-to-Image Generationcited by 4
- 2025ALTER: All-in-One Layer Pruning and Temporal Expert Routing for Efficient Diffusion Generationcited by 4
- 2025FlexControl: Computation-Aware ControlNet with Differentiable Router for Text-to-Image Generationcited by 1
- 2025Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformercited by 1
- 20252ndMatch: Finetuning Pruned Diffusion Models via Second-Order Jacobian Matchingcited by 0
- 2026Importance-Aware OBS Pruning for Diffusion Modelscited by 0
- 2026Importance-Aware OBS Pruning for Diffusion Models22 Jul 2026
- 2025Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformer24 Nov 2025
- 2025Pluggable Pruning with Contiguous Layer Distillation for Diffusion Transformers20 Nov 2025
- 20252ndMatch: Finetuning Pruned Diffusion Models via Second-Order Jacobian Matching3 Jun 2025
- 2025ALTER: All-in-One Layer Pruning and Temporal Expert Routing for Efficient Diffusion Generation27 May 2025
- 2025Skrr: Skip and Re-use Text Encoder Layers for Memory Efficient Text-to-Image Generation12 Feb 2025
- 2025FlexControl: Computation-Aware ControlNet with Differentiable Router for Text-to-Image Generation11 Feb 2025
- 2024Efficient Fine-Tuning and Concept Suppression for Pruned Diffusion Models19 Dec 2024
- 2024Automated Filtering of Human Feedback Data for Aligning Text-to-Image Diffusion Models14 Oct 2024
- 2026PruneForget: Joint Unlearning and Pruning of Vision Models26 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2025Reusing Computation in Text-to-Image Diffusion for Efficient Generation of Image Sets
- 2025CAT Pruning: Cluster-Aware Token Pruning For Text-to-Image Diffusion Models
- 2024On Discrete Prompt Optimization for Diffusion Models
- 2023SpeedUpNet: A Plug-and-Play Adapter Network for Accelerating Text-to-Image Diffusion Models
- 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models
- 2026Evolutionary Token-Level Prompt Optimization for Diffusion Models
- 2024Efficient Pruning of Text-to-Image Models: Insights from Pruning Stable Diffusion
- 2026LegoDiffusion: Micro-Serving Text-to-Image Diffusion Workflows