mlsanityData to 14 Oct 2026

Attacks on Approximate Caches in Text-to-Image Diffusion Models

arXiv 2508.20424 ↗First posted 28 Aug 2025cs.CRcited by 0

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

Diffusion models are a powerful class of generative models that produce images and other content from user prompts, but they are computationally intensive. To mitigate this cost, recent academic and industry work has adopted approximate caching, which reuses intermediate states from similar prompts in a cache. While efficient, this optimization introduces new security risks by breaking isolation among users. This paper provides a comprehensive assessment of the security vulnerabilities introduced by approximate caching. First, we demonstrate a remote covert channel established with the approximate cache, where a sender injects prompts with special keywords into the cache system and a receiver can recover that even after days, to exchange information. Second, we introduce a prompt stealing attack using the approximate cache, where an attacker can recover existing cached prompts from hits. Finally, we introduce a poisoning attack that embeds the attacker's logos into the previously stolen prompt, leading to unexpected logo rendering for the requests that hit the poisoned cache prompts. These attacks are all performed remotely through the serving system, demonstrating severe security vulnerabilities in approximate caching. The code for this work is available.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 39 of its 81 references that are in the map. First posted on arXiv 28 Aug 2025.

Builds on

39 of 81 references.

Closest ancestors · 9

Same direction, newest first

  1. 2025REDEditing: Relationship-Driven Precise Backdoor Poisoning on Text-to-Image Diffusion Models20 Apr
  2. 2025Parasite: A Steganography-based Backdoor Attack Framework for Diffusion Models8 Apr
  3. 2025Silent Branding Attack: Trigger-free Data Poisoning Attack on Text-to-Image Diffusion Models12 Mar
  4. 2025PSyDUCK: Training-Free Steganography for Latent Diffusion31 Jan
  5. 2024Understanding Implosion in Text-to-Image Generative Models18 Sep
  6. 2024Backdooring Bias (B2) into Stable Diffusion Models21 Jun
  7. 2024The Stronger the Diffusion Model, the Easier the Backdoor: Data Poisoning to Induce Copyright Breaches Without Adjusting Finetuning Pipeline7 Jan
  8. 2023From Trojan Horses to Castle Walls: Unveiling Bilateral Data Poisoning Effects in Diffusion Models4 Nov
  9. 2023CRoSS: Diffusion Model Makes Controllable, Robust and Secure Image Steganography26 May

Other references · 30

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  4. 2021ClipCap: CLIP Prefix for Image Captioningcited by 559
  5. 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Modelscited by 379
  6. 2024MIDI: Multi-Instance Diffusion for Single Image to 3D Scene Generationcited by 117
  7. 2023Nightshade: Prompt-Specific Poisoning Attacks on Text-to-Image Generative Modelscited by 75
  8. 2023Prompt Stealing Attacks Against Text-to-Image Generation Modelscited by 51
  9. 2025PosterMaker: Towards High-Quality Product Poster Generation with Accurate Text Renderingcited by 46
  10. 2016A Formal Evaluation of PSNR as Quality Measurement Parameter for Image Segmentation Algorithmscited by 42
  11. 2025POSTA: A Go-to Framework for Customized Artistic Poster Generationcited by 36
  12. 2024Prometheus: 3D-Aware Latent Diffusion Models for Feed-Forward Text-to-3D Scene Generationcited by 34
18 more
  1. 2024GlyphDraw2: Automatic Generation of Complex Glyph Posters with Diffusion Models and Large Language Modelscited by 29
  2. 2024The Early Bird Catches the Leak: Unveiling Timing Side Channels in LLM Serving Systemscited by 29
  3. 2024DRiVE: Diffusion-based Rigging Empowers Generation of Versatile and Expressive Characterscited by 24
  4. 2024SceneFactor: Factored Latent 3D Diffusion for Controllable 3D Scene Generationcited by 24
  5. 2024Build-A-Scene: Interactive 3D Layout Control for Diffusion-Based Image Generationcited by 18
  6. 2024Diffusion-Based Visual Art Creation: A Survey and New Perspectivescited by 17
  7. 2024Towards Reliable Advertising Image Generation Using Human Feedbackcited by 16
  8. 2024InputSnatch: Stealing Input in LLM Services via Timing Side-Channel Attackscited by 16
  9. 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policiescited by 15
  10. 2023On the Proactive Generation of Unsafe Images From Text-To-Image Models Using Benign Promptscited by 14
  11. 2025MoDM: Efficient Serving for Image Generation via Mixture-of-Diffusion Modelscited by 12
  12. 2023Accelerating Text-to-Image Editing via Cache-Enabled Sparse Diffusion Inferencecited by 11
  13. 2024Evolving Storytelling: Benchmarks and Methods for New Character Customization with Diffusion Modelscited by 9
  14. 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approachcited by 5
  15. 2025Implicit Bias Injection Attacks against Text-to-Image Diffusion Modelscited by 4
  16. 2018NetSpectre: Read Arbitrary Memory over Networkcited by 1
  17. 2019Packet Chasing: Spying on Network Packets over a Cache Side-Channelcited by 1
  18. 2021Remote Memory-Deduplication Attackscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Prompt Pirates Need a Map: Stealing Seeds helps Stealing Prompts
  2. 2023Approximate Caching for Efficiently Serving Diffusion Models
  3. 2026RAPID: A Real-Time Defense Against Unauthorized Model Distillation for Text-to-Image Services
  4. 2024CopyrightShield: Enhancing Diffusion Model Security against Copyright Infringement Attacks
  5. 2023Evaluating the Robustness of Text-to-image Diffusion Models against Real-world Attacks
  6. 2026Disciplined Diffusion: Text-to-Image Diffusion Model against NSFW Generation
  7. 2024FlexCache: Flexible Approximate Cache System for Video Diffusion
  8. 2025Practical, Generalizable and Robust Backdoor Attacks on Text-to-Image Diffusion Models