Elastic Diffusion Transformer
Abstract
Lay Summary
Diffusion-based AI models can generate highly realistic images and 3D content, but they are often slow and expensive to run because they perform many complex calculations during generation. Existing methods for speeding up these models usually use a fixed amount of computation for every input, which can either limit the speed improvement or reduce the quality of the generated results. In this work, we introduce Elastic Diffusion Transformer (E-DiT), a method that allows these models to adapt their computation dynamically for each generated sample. We found that many parts of the generation process are not always necessary, and the amount of useful computation can vary significantly depending on the input. Based on this observation, E-DiT uses lightweight decision modules to determine which computations can be skipped and how much computation is needed at different stages of the model. Furthermore, we also introduce a feature caching strategy that avoids repeating unnecessary calculations during generation without requiring additional training. Experiments on advanced image and 3D generation models show that E-DiT can make generation up to twice as fast while maintaining nearly the same visual quality. Our work could help make high-quality generative AI systems more efficient and practical for real-world applications.