In a pioneering study, Li et al. (2022) proposed the use of retrieval techniques to enhance the quality of text-to-image generation. They conducted a comparative analysis of the quality and quantity of the generated images with mainstream models on the CUB and COCO datasets. Their findings demonstrated that all models outperformed their contemporaries. In contrast, RE-IMAGEN Chen et al. (2022) focused on assisting the model in generating images of uncommon objects through retrieval. This approach ultimately led to the achievement of exceptionally high FID scores on the COCO and WikilImage datasets. Even more groundbreaking results were obtained on the authors' own proposed EntityDrawBench benchmark, which encompasses a range of common and rare objects across multiple categories. RDM Blattmann et al. (2022), although trained in a similar manner to RE-IMAGEN, employs image features as the foundation for retrieval and is supplanted by user examples during the inference process. Consequently, RDM is capable of efficiently transferring the described artistic style to the generated images. Furthermore, in contrast to RE-IMAGEN, which employs image-text pairs for retrieval, KNN-Diffusion Sheynin et al. (2022) solely utilizes images for retrieval, resulting in a lower quality of results on the COCO dataset.