Lune

NSDI2024顶会

Approximate Caching for Efficiently Serving Text-to-Image Diffusion Models

Shubham Agarwal, Subrata Mitra, Sarthak Chakraborty, Srikrishna Karanam, Koyel Mukherjee, Shiv Kumar Saini

摘要

Text-to-image generation using diffusion models has seen explosive popularity owing to their ability in producing high quality images adhering to text prompts. However, diffusionmodels go through a large number of iterative denoising steps, and are resource-intensive, requiring expensive GPUs and incurring considerable latency. In this paper, we introduce a novel approximate-caching technique that can reduce such iterative denoising steps by reusing intermediate noise states created during a prior image generation. Based on this idea, we present an end-to-end text-to-image generation system, NIRVANA, that uses approximate-caching with a novel cache management policy to provide 21% GPU compute savings, 19.8% end-to-end latency reduction, and 19% dollar savings on two real production workloads. We further present an extensive characterization of real production text-to-image prompts from the perspective of caching, popularity and reuse of intermediate states in a large production environment.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Katz: Efficient Workflow Serving for Diffusion Models with Many Adapters 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Katz: Efficient Workflow Serving for Diffusion Models with Many Adapters 引用了 Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching
  • Katz: Efficient Workflow Serving for Diffusion Models with Many Adapters 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching 引用了 Denoising Diffusion Probabilistic Models
  • Communication-Efficient Diffusion Denoising Parallelization via Reuse-then-Predict Mechanism 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
  • ENAT: Rethinking Spatial-temporal Interactions in Token-based Image Synthesis 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Learning-to-Cache: Accelerating Diffusion Transformer via Layer CachingXinyin Ma, Gongfan Fang, Michael Bi Mi, Xinchao WangNeurIPS 2024 · 167 次引用
  2. Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented GenerationShubham Agarwal, Sai Sundaresan, Subrata Mitra, Debabrata Mahapatra 等SIGMOD 2025 · 20 次引用
  3. ENAT: Rethinking Spatial-temporal Interactions in Token-based Image SynthesisZanlin Ni, Yulin Wang, Renping Zhou, Yizeng Han 等NeurIPS 2024 · 15 次引用
  4. Katz: Efficient Workflow Serving for Diffusion Models with Many AdaptersSuyi Li, Lingyun Yang, Xiaoxiao Jiang, Hanfeng Lu 等USENIX ATC 2025 · 14 次引用
  5. Communication-Efficient Diffusion Denoising Parallelization via Reuse-then-Predict MechanismKunyun Wang, Bohan Li, Kai Yu, Minyi Guo 等NeurIPS 2025 · 3 次引用

它引用的 Paper28

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  4. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  5. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用

相关 Paper

  1. MoDM: Efficient Serving for Image Generation via Mixture-of-Diffusion ModelsYuchen Xia, Divyam Sharma, Yichao Yuan, Souvik Kundu 等ASPLOS 2026
  2. Reusing Computation in Text-to-Image Diffusion for Efficient Generation of Image SetsDale Decatur, Thibault Groueix, Wang Yifan, Rana Hanocka 等ICCV 2025
  3. SnapFusion: Text-to-Image Diffusion Model on Mobile Devices within Two SecondsYanyu Li, Huan Wang, Qing Jin, Ju Hu 等NeurIPS 2023 · 300 次引用
  4. Cache Me if You Can: Accelerating Diffusion Models through Block CachingFelix Wimbauer, Bichen Wu, Edgar Schönfeld, Xiaoliang Dai 等CVPR 2024 · 25 次引用
  5. Clockwork Diffusion: Efficient Generation With Model-Step DistillationAmirhossein Habibian, Amir Ghodrati, Noor Fathima, Guillaume Sautière 等CVPR 2024
黄昏的海面,两侧是细线勾勒的悬崖