atlas

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

Skrr: Skip and Re-use Text Encoder Layers for Memory Efficient Text-to-Image Generation

ICML 2025 · Image generation › Text-to-image diffusion · approach: T2I evaluation and controllable adapters · 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.

Skrr prunes the T5-XXL text encoder of T2I diffusion models by beam-search skipping of MHA/FFN sub-blocks using an MSE discrepancy on conditional and null embeddings, then re-uses adjacent kept sub-blocks to recover quality.

Problem

Text encoders in T2I diffusion models (e.g., T5-XXL) consume up to 8x more memory than denoisers while contributing negligibly to FLOPs, yet compression of them has been largely unexplored; existing LLM blockwise pruning methods are not tailored to T2I.

Approach

Layer pruning for text encoders that scores MHA/FFN sub-blocks by MSE of projected embeddings (conditional and null prompt) through the denoiser's projection layer, searches skip sets with beam search, and re-uses adjacent kept sub-blocks in place of skipped ones, with a bound showing re-use can tighten error versus skip alone.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
prune and re-use text encoder sub-blocks with Skrr instead of LaCoPixArt-Σ with T5-XXL · GenEval overall, approximately 41% sparsityGenEval overall: 0.275 -> 0.442Helped
prune and re-use text encoder sub-blocks with Skrr instead of FinerCutPixArt-Σ with T5-XXL · GenEval overall, approximately 41% sparsityGenEval overall: 0.367 -> 0.442Helped
prune and re-use text encoder sub-blocks with Skrr instead of ShortGPTPixArt-Σ with T5-XXL · GenEval overall, approximately 41% sparsityGenEval overall: 0.087 -> 0.442Helped
prune and re-use text encoder sub-blocks with Skrr instead of FinerCutPixArt-Σ with T5-XXL · approximately 41% sparsityFID: 20.36 -> 19.93Helped
prune and re-use text encoder sub-blocks with Skrr instead of FinerCutPixArt-Σ with T5-XXL · approximately 41% sparsityCLIP: 0.308 -> 0.312Helped
prune and re-use text encoder sub-blocks with Skrr instead of FinerCutPixArt-Σ with T5-XXL · approximately 41% sparsityDreamSim: 0.731 -> 0.741Helped
compress the text encoder with Skrr instead of using the dense encoderPixArt-Σ pipeline · maximum reported sparsityMemory: 10.18 -> 6.46Helped
add Re-use to the Skip-only model (ablation)Skrr on PixArt-Σ · MS-COCO validation subset, highest sparsitytext-prompt alignmentHelped
increase beam size from k=1 to k=2 (ablation)Skrr on PixArt-Σ · 41.9% sparsityGenEval Count: 0.372 -> 0.450Helped
increase beam size from k=2 to k=3 (ablation)Skrr on PixArt-Σ · 41.9% sparsityGenEval Count: 0.450 -> 0.450No clear effect
increase beam size from k=3 to k=4 (ablation)Skrr on PixArt-Σ · highest-sparsity beam ablationGenEval Count: 0.450 -> 0.328Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CC12M MS-COCO 30k validation

Benchmarks: MS-COCO 30k GenEval

Metrics: FID CLIP score DreamSim GenEval overall memory (GB) parameters TFLOPs

Baselines: ShortGPT LaCo FinerCut

Builds on: ShortGPT LaCo FinerCut 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