Accelerated Image Editing via Consistency-Aware Source Token Pruning
Jeongsol Kim, Jong Chul Ye, Yufei Wang, Jian Wang
NeurIPS page · OpenReview · Open on the map
Category: Diffusion & Image Generation › Diffusion-Based Image Editing · Type: new method · Keywords: image editing acceleration, source token pruning, consistency-aware sampling, efficient multimodal transformers, PIEBench evaluation
Areas: Multimodal › Multimodal Creation and Editing › Diffusion-Based Image Generation
Summary
TokenDrop accelerates image editing by pruning source tokens and using a regularized sampling update to preserve consistency while achieving up to 2× speedup.
Explained to a 5-year-old
People use computers to edit pictures based on words. The computer looks at many small pieces of the picture, which takes a lot of time. A new idea helps the computer skip many of those pieces but still keep the picture looking correct. It does this by using a clever way to copy the important parts and drop the rest. This makes editing pictures faster, so you can do it more quickly.
Explained to a 5-year-old, longer
When you want to change a picture using words, the computer needs to look at the picture. It breaks the picture into many tiny pieces called tokens. The computer then mixes these pieces with the words and some noise to create the new picture. This mixing step is very slow because it has to pay attention to every tiny piece. A new idea helps the computer work faster by not looking at all the pieces all the time. Instead, it keeps only the most important pieces and uses a simple rule to guess what they should do. This rule is called a sampling update, and it copies the effect of the dropped pieces. To decide which pieces to drop, the computer looks at how much each piece changes the picture. If a piece does not change much, it is safely ignored. This way, the picture still looks correct after editing, even though fewer pieces were used. The faster method works on many different picture-editing tools and makes them run quicker. It also helps when you want to edit very large pictures, making them faster to process.
For a technical reader
The system currently edits images by processing every small piece of the source image together with text prompts, which is computationally expensive. The new approach reduces this cost by focusing only on the most important pieces and using a lightweight update rule that approximates the effect of the ignored pieces. An adaptive mask decides which pieces can be safely dropped based on how much they influence the final image. This results in significant speedups-up to 2× faster for high-resolution images-while keeping the edited regions accurate and preserving unchanged areas. The implementation is training-free and will be open-sourced, allowing developers to integrate it into existing image-editing pipelines.
Problem
Text-based image editing using large multimodal transformers requires processing many source image tokens, leading to high computational cost in attention layers. This inefficiency slows down editing, especially at high resolutions.
Method
The approach shifts the computational burden from dense source-token conditioning to a lightweight regularized sampling update, transferring source token influence into a closed-form update. It employs a deviation-guided adaptive masking strategy to selectively drop redundant tokens while maintaining fidelity.
Results
The approach achieves an average 22.4% improvement in inference speed on PIEBench and delivers up to 1.8× speedup at 10242 resolution and 2× speedup at 20482 resolution while preserving non-edited regions.
Contributions
It introduces a training-free framework that efficiently prunes source tokens using a regularized sampling update and an adaptive masking strategy, preserving editing consistency. The framework provides significant speedups across multiple models and resolutions.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction