Accelerating Text-to-Image Editing via Cache-Enabled Sparse Diffusion Inference
Abstract: Due to the recent success of diffusion models, text-to-image generation is becoming increasingly popular and achieves a wide range of applications. Among them, text-to-image editing, or continuous text-to-image generation, attracts lots of attention and can potentially improve the quality of generated images. It's common to see that users may want to slightly edit the generated image by making minor modifications to their input textual descriptions for several rounds of diffusion inference. However, such an image editing process suffers from the low inference efficiency of many existing diffusion models even using GPU accelerators. To solve this problem, we introduce Fast Image Semantically Edit (FISEdit), a cached-enabled sparse diffusion model inference engine for efficient text-to-image editing. The key intuition behind our approach is to utilize the semantic mapping between the minor modifications on the input text and the affected regions on the output image. For each text editing step, FISEdit can automatically identify the affected image regions and utilize the cached unchanged regions' feature map to accelerate the inference process. Extensive empirical results show that FISEdit can be $3.4\times$ and $4.4\times$ faster than existing methods on NVIDIA TITAN RTX and A100 GPUs respectively, and even generates more satisfactory images.
- Tensorflow: a system for large-scale machine learning. In OSDI.
- Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space? In ICCV.
- Image2StyleGAN++: How to Edit the Embedded Images? In CVPR.
- ediffi: Text-to-image diffusion models with an ensemble of expert denoisers. ArXiv preprint.
- A novel sparse SAR unambiguous imaging method based on mixed-norm optimization. Science China Information Sciences, 66(11): 1–2.
- Easily accessible text-to-image generation amplifies demographic stereotypes at large scale. ArXiv preprint.
- Token Merging: Your ViT But Faster. ICLR.
- Token Merging for Fast Stable Diffusion. ArXiv preprint.
- Instructpix2pix: Learning to follow image editing instructions. ArXiv preprint.
- Generating long sequences with sparse transformers. ArXiv preprint.
- ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models. In ICCV.
- Diffedit: Diffusion-based semantic image editing with mask guidance. ICLR.
- Flashattention: Fast and memory-efficient exact attention with io-awareness. NeurIPS.
- More is Less: A More Complicated Network with Less Inference Complexity. In CVPR.
- Near-threshold-voltage operation in flash-based high-precision computing-in-memory to implement Poisson image editing. Science China Information Sciences, 66(12): 222402.
- StyleGAN-NADA: CLIP-guided domain adaptation of image generators. ACM Transactions on Graphics (TOG).
- Generative adversarial networks. Communications of the ACM.
- Personalized Re-ranking for Recommendation with Mask Pretraining. Data Science and Engineering, 8(4): 357–367.
- Deep Residual Learning for Image Recognition. In CVPR.
- Prompt-to-prompt image editing with cross attention control. ArXiv preprint.
- CLIPScore: A Reference-free Evaluation Metric for Image Captioning. In EMNLP.
- GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In NeurIPS.
- Denoising Diffusion Probabilistic Models. In NeurIPS.
- Fastdiff: A fast conditional diffusion model for high-quality speech synthesis. ArXiv preprint.
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. In ICML.
- A Style-Based Generator Architecture for Generative Adversarial Networks. In CVPR.
- DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation. In CVPR.
- Auto-Encoding Variational Bayes. In ICLR.
- On fast sampling of diffusion probabilistic models. ArXiv preprint.
- Efficient spatially sparse inference for conditional gans and diffusion models. NeurIPS.
- Cat: Cross attention in vision transformer. In IEEE ICME.
- Dynamic Sparse Graph for Efficient Deep Learning. In ICLR.
- Efficient Sparse-Winograd Convolutional Neural Networks. In ICLR.
- Dpm-solver: A fast ode solver for diffusion probabilistic model sampling in around 10 steps. ArXiv preprint.
- Dpm-solver++: Fast solver for guided sampling of diffusion probabilistic models. ArXiv preprint.
- On distillation of guided diffusion models. ArXiv preprint.
- SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations. In ICLR.
- Hetu: A highly efficient automatic parallel distributed deep learning system. Sci. China Inf. Sci.
- HET-GMP: A Graph-based System Approach to Scaling Large Embedding Model Training. In Proceedings of SIGMOD Conference, 470–480. ACM.
- HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Framework. Proc. VLDB Endow., 15(2): 312–320.
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models. In ICML.
- Editing Implicit Assumptions in Text-to-Image Diffusion Models. ArXiv preprint.
- Semantic Image Synthesis With Spatially-Adaptive Normalization. In CVPR.
- Zero-shot image-to-image translation. ArXiv preprint.
- PyTorch: An Imperative Style, High-Performance Deep Learning Library. In NeurIPS.
- StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery. In ICCV.
- Learning Transferable Visual Models From Natural Language Supervision. In ICML.
- Conditional Generative Modeling via Learning the Latent Space. In ICLR.
- Hierarchical text-conditional image generation with clip latents. ArXiv preprint.
- SBNet: Sparse Blocks Network for Fast Inference. In CVPR.
- High-resolution image synthesis with latent diffusion models. In CVPR.
- U-net: Convolutional networks for biomedical image segmentation. In MICCAI.
- Photorealistic text-to-image diffusion models with deep language understanding. NeurIPS.
- Progressive Distillation for Fast Sampling of Diffusion Models. In ICLR.
- Laion-5b: An open large-scale dataset for training next generation image-text models. ArXiv preprint.
- Denoising Diffusion Implicit Models. In ICLR.
- Plug-and-play diffusion features for text-driven image-to-image translation. In CVPR.
- Attention is All you Need. In NeurIPS.
- Learning to efficiently sample from diffusion probabilistic models. ArXiv preprint.
- CTNet: A Convolutional Transformer Network for Color Image Steganalysis. Journal of Computer Science and Technology.
- Group normalization. In ECCV.
- Tackling the Generative Learning Trilemma with Denoising Diffusion GANs. In ICLR.
- FLAG: towards graph query autocompletion for large graphs. Data Science and Engineering, 7(2): 175–191.
- Fine-Tuning Channel-Pruned Deep Model via Knowledge Distillation. Journal of Computer Science and Technology.
- Generative visual manipulation on the natural image manifold. In ECCV.
- SEAN: Image Synthesis With Semantic Region-Adaptive Normalization. In CVPR.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.