New AI image processing method! Tsinghua team proposes a method for generating “high-resolution” images

New AI image processing method! Tsinghua team proposes a method for generating “high-resolution” images

In the hot field of "AI image generation", a seamless diffusion model of arbitrary resolutions has emerged .

Recently, a research team from Tsinghua University and Zhipu AI jointly proposed a new cascade model - Relay Diffusion (RDM). It is reported that with this model, the diffusion process can be carried out seamlessly at any new resolution or model without having to start over from pure noise .

The related research paper titled “Relay Diffusion: Unifying diffusion process across resolutions for image synthesis” has been published on the preprint website arXiv, and the related code has been released on GitHub.

In recent years, diffusion models have achieved great success in image synthesis, significantly improving the quality of image synthesis. However, diffusion models still face great challenges when synthesizing high-resolution images . First, low-resolution noise scheduling is difficult to use directly for high-resolution images. Researchers need to carefully adjust the noise scheduling table for high-resolution scenes, and it is still difficult to obtain good results. Second, the high-resolution training process requires a lot of resources and has a high computational cost.

Currently, a commonly used solution is to train in latent space and then map it back to pixel space, as proposed by latent (stable) diffusion. However, this method is inevitably affected by low-level artifacts. Another solution is to train a series of super-resolution diffusion models of different resolutions to form a cascade. The existing cascade method is effective, but it requires complete sampling from noise at each stage, which is inefficient and the effect is heavily dependent on training techniques such as conditional enhancement.

In order to better solve the above problems, the research team proposed the cascade model Relay Diffusion. While having the advantages of the original cascade method, with the help of blurring diffusion and block noise, it can seamlessly connect between any different resolutions, just like a "relay race", greatly reducing the cost of training and sampling .

According to the paper, through discrete cosine transform spectrum analysis, it was found that the signal-to-noise ratio (SNR) corresponding to the same noise intensity at a higher resolution in the frequency space is higher in the low-frequency part, which means that the low-frequency information of natural images is not well destroyed.

To this end, the study proposed a block noise with correlation between pixels, whose corresponding SNR at high resolution is equivalent to the SNR of Gaussian noise at low resolution in the low-frequency part .

Taking 64×64 and 256×256 as examples, the overall process of Relay Diffusion is: first generate a low-resolution image through the standard diffusion process, then upsample it to a blurred high-resolution image with the same pixel value in each 4×4 grid, and then perform a blurring diffusion process (blurring diffusion) on each 4×4 grid independently.

This aligns the final state of the forward process with the upsampled blurred image, so the second stage of Relay Diffusion can directly start from the blurred image instead of pure Gaussian noise in the existing cascade method.

Experimental results show that compared with the traditional cascade diffusion model, Relay Diffusion omits the part of generating low-frequency information when generating high-resolution images, which greatly saves computing costs. It is also simpler and does not require low-resolution images as conditions and various conditional enhancement techniques, and does not require redesigning or adjusting the noise schedule.

In addition, Relay Diffusion can achieve better generation performance faster while saving costs. It achieves SoTA's FID on the unconditional dataset CelebA-HQ-256 and SoTA's sFID and competitive FID on the conditional dataset ImageNet-256, significantly exceeding models such as ADM, LDM, and DiT. Relay Diffusion also shows strong performance advantages when no classifier guidance (CFG) is used.

The research team said that the cascade model proposed in this study will help create more advanced text-to-image models .

In the future, they will continue to apply the relevant technologies in Relay Diffusion to the general field of literary graph models, so as to promote further research in this field.

Paper link:

https://arxiv.org/abs/2309.03350

GitHub address:

https://github.com/THUDM/RelayDiffusion

<<:  Eating grilled sausages landed you in the ICU? The food poisoning "assassin" you must know about - botulinum toxin

>>:  The more you walk, the lower your risk of death?

Recommend

Is myopia laser surgery suitable for most people? You may not know these taboos

The college entrance examination season is over, ...

What to do if you are allergic to bee stings

There are many types of allergens. Many people ar...

White dragon beard herbal pictures

White Dragon's Beard is actually the root of ...

What are the functions and indications of Herba Lycopodii?

Herbs are something that folk Chinese medicine at...

The efficacy and function of carp scales

As people's research on traditional Chinese m...

The efficacy and function of Hemeng leaves

For Chinese medicinal materials such as Hemeng le...

For stubborn pharyngitis, you only need this flower

Pharyngitis is a common disease among white-colla...

Can Moringa seeds and Panax notoginseng powder be eaten together?

Nowadays, people pay more and more attention to h...

Is it necessary to apply sunscreen even on cloudy days?

Review expert: Zhang Yuhong, chief physician of t...

The efficacy and function of Niaobuqi leaves

Niaobuqiye is a common medicinal material in trad...