Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Models

Zhengcong Fei, Mingyuan Fan, Changqian Yu, Debang Li, Junshi Huang
4/6/2024
cs.CV

No official code found. Best implementation: feizc/Diffusion-RWKV (145 stars, last commit 2024-04-12).

Abstract

Transformers have catalyzed advancements in computer vision and natural language processing (NLP) fields. However, substantial computational complexity poses limitations for their application in long-context tasks, such as high-resolution image generation. This paper introduces a series of architectures adapted from the RWKV model used in the NLP, with requisite modifications tailored for diffusion model applied to image generation tasks, referred to as Diffusion-RWKV. Similar to the diffusion with Transformers, our model is designed to efficiently handle patchnified inputs in a sequence with extra conditions, while also scaling up effectively, accommodating both large-scale parameters and extensive datasets. Its distinctive advantage manifests in its reduced spatial aggregation complexity, rendering it exceptionally adept at processing high-resolution images, thereby eliminating the necessity for windowing or group cached operations. Experimental results on both condition and unconditional image generation tasks demonstrate that Diffison-RWKV achieves performance on par with or surpasses existing CNN or Transformer-based diffusion models in FID and IS metrics while significantly reducing total computation FLOP usage.

View on arXivView PDF

Code Implementations(1)

Scaling RWKV-Like Architectures for Diffusion Models

1458C++, CudaMar 7, 20242 years agoNOASSERTION

Similar Papers

Cite this paper

@article{fei2024diffusionrwkv,
  title  = {Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Models},
  author = {Zhengcong Fei and Mingyuan Fan and Changqian Yu and Debang Li and Junshi Huang},
  year   = {2024},
  eprint = {2404.04478},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04478v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.04478.svg)](https://codeofpaper.com/paper/2404.04478)

Discussion