Lune

ICML2023Top-tier venue

ReDi: Efficient Learning-Free Diffusion Inference via Trajectory Retrieval

Kexun Zhang, Xianjun Yang, William Yang Wang, Lei Li

2023Year
18Citations
5Top-tier citations

Abstract

Diffusion models show promising generation capability for a variety of data. Despite their high generation quality, the inference for diffusion models is still time-consuming due to the numerous sampling iterations required. To accelerate the inference, we propose REDI, a simple yet learning-free Retrieval-based Diffusion sampling framework. From a precomputed knowledge base, REDI retrieves a trajectory similar to the partially generated trajectory at an early stage of generation, skips a large portion of intermediate steps, and continues sampling from a later step in the retrieved trajectory. We theoretically prove that the generation performance of REDI is guaranteed. Our experiments demonstrate that REDI improves the model inference efficiency by 2× speedup. Furthermore, REDI is able to generalize well in zero-shot cross-domain image genreation such as image stylization. The code and demo for REDI is available at https://github.com/ zkx06111/ReDiffusion .

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers5

Ask how each one uses it

Builds on21

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines