search
HomeTechnology peripheralsAIThe first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

With the release of DALL-E 2 by OpenAI, autoregressive and diffusion models have become the new standard for large-scale generative models overnight. Before that, Generative Adversarial Networks (GAN) had always been the mainstream choice and derived from StyleGAN. and other technologies.

Behind the explosion of AIGC, from a technical perspective, the architecture of the image generation model has undergone tremendous changes.

With the release of DALL-E 2 by OpenAI, autoregressive and diffusion models have become the new standard for large-scale generative models overnight. Before that, generative adversarial networks (GAN) had been They are all mainstream choices and have derived technologies such as StyleGAN.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

The architectural shift from GAN to diffusion model also raises the question: Can the scale of GAN model be scaled up? , for example, can we further improve performance in large data sets like LAION?

Recently, researchers from Pohang University of Science and Technology (South Korea), Carnegie Mellon University, and Adobe Research proposed that increasing the capacity of the StyleGAN architecture will lead to instability. A new generative adversarial network architecture, GigaGAN, breaks the size limit of the model and shows that GAN can still be competent as a text-to-image synthesis model.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Paper link: https://arxiv.org/abs/2303.05511

Project link: https://mingukkang. github.io/GigaGAN/

GigaGAN has three major advantages.

1. It is faster during inference. Compared with Stable Diffusion-v1.5 with the same level of parameters, the generation speed at 512 resolution is shortened from 2.9 seconds to 0.13 seconds. .

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

2. High-resolution images can be synthesized, for example, a 16-megapixel image can be synthesized in 3.66 seconds.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

3. Supports various latent space editing applications, such as latent interpolation, style mixing and vector arithmetic operations.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Has GAN reached its limit?

The recently released series of models, such as DALL-E 2, Imagen, Parti and Stable Diffusion, have ushered in a new era of image generation, reaching unprecedented levels of image quality and model flexibility.

The currently dominant paradigms "diffusion model" and "autoregressive model" both rely on the double-edged sword of iterative reasoning, because iterative methods can perform stable training with simple goals, but in reasoning Higher computational costs will be incurred in the process.

In contrast, the Generative Adversarial Network (GAN) only requires one forward pass to generate an image, so it is inherently more efficient.

Although GAN models dominated the "previous era" of generative modeling, due to instability in the training process, extending GAN requires careful adjustment of network structure and training considerations. , so although GANs are excellent at modeling single or multiple object categories, scaling to complex datasets (let alone open-world object generation) is still challenging.

So currently very large models, data and computing resources are mainly focused on diffusion and autoregressive models.

In this work, researchers mainly address the following questions:

Can GAN continue to scale and potentially benefit from these resources? Or is GAN already reaching its limit? What hinders further expansion of GANs? Can these obstacles be overcome?

Stable Training GAN

The researchers first conducted experiments with StyleGAN2 and observed that simply expanding the backbone network would lead to unstable training. After identifying several key issues Finally, techniques for stabilizing training while increasing model capacity are proposed.

First, effectively expand the capacity of the generator by retaining a bank of filters and taking a linear combination of specific samples.

Adapted several techniques commonly used in the context of diffusion models and confirmed that they can bring similar performance improvements to GANs, such as incorporating self-attention mechanisms (images only) and Cross-attention (image-text) intertwined with convolutional layers improves performance.

In addition, the researchers reintroduced multi-scale training and found a new scheme that can improve image-text alignment and generate low-frequency details in the output.

Multi-scale training allows GAN-based generators to use parameters in low-resolution blocks more efficiently, resulting in better image-text alignment and image quality.

Builder

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

The generator of GigaGAN consists of a text encoding branch, a style mapping network, and a multi-scale synthesis network. network), supplemented by stable attention and adaptive kernel selection.

In the text encoding branch, a pre-trained CLIP model and a learned attention layer T are first used to extract text embeddings, and then the embedding process is passed to the style mapping network M, Generate style vectors similar to StyleGAN w

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

##The synthesis network uses style encoding as modulation and text embedding as attention. Generate an image pyramid, and on this basis, introduce a sample adaptive kernel selection algorithm to achieve adaptive selection of convolution kernels based on input text conditions.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Discriminator

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Similar to the generator, GigaGAN’s discriminator consists of two branches, which are used to process image and text conditions respectively.

The text branch handles something similar to the text branch of the generator; the image branch receives an image pyramid as input and makes independent predictions for each image scale.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Multiple additional loss functions are introduced into the formula to promote fast convergence.

Experimental Results Systematic, controlled evaluation on large-scale text-image synthesis tasks is difficult because most existing models are not publicly available is available, even if the training code is available, the cost of training a new model from scratch would be prohibitive.

The researchers chose to compare with Imagen, Latent Diffusion Models (LDM), Stable Diffusion, and Parti in their experiments, while acknowledging that there are significant differences in the training data set, number of iterations, batch size, and model size. There are considerable differences.

For quantitative evaluation indicators, Frechet Inception Distance (FID) is mainly used to measure the authenticity of the output distribution, and CLIP score is used to evaluate image-text alignment.

Five different experiments were conducted in this paper:

#1. Demonstrate the effectiveness of the proposed method by gradually incorporating each technical component;

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

2. Text-image synthesis results show that GigaGAN performs comparably to stable diffusion (SD-v1.5) FID while generating results hundreds of times faster than diffusion or autoregressive models;

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

3. Compare GigaGAN with A comparison of distillation-based diffusion models shows that GigaGAN can synthesize higher-quality images faster than distillation-based diffusion models;

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

##4. Verified the advantages of GigaGAN's upsampler over other upsamplers in conditional and unconditional super-resolution tasks;

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

5. The results show that large-scale GANs still enjoy the continuous and decomposed latent space operations of GANs, enabling new image editing modes.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

After adjusting parameters, researchers achieved stability and reliability on large-scale data sets such as LAION2B-en. Training of extended billion-parameter GAN (GigaGAN).

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

And this method adopts a multi-stage approach, first generating at 64×64, and then upsampling to 512 ×512, both networks are modular and powerful enough to be used in a plug-and-play manner.

The results show that although the images of the diffusion model are never seen during training, the GAN upsampling network based on text conditions can be used as an efficient and high-quality upsampler for the basic diffusion model (such as DALL-E 2).

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

These results combined make GigaGAN far beyond previous GAN models, 36 times larger than StyleGAN2. 6 times larger than StyleGAN-XL and XMC-GAN.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Although GiGAN’s 1 billion parameters are still lower than the largest synthetic models released recently, such as Imagen (3B), DALL-E 2 (5.5B) and Parti (20B), but no mass saturation with respect to model size has yet been observed.

GigaGAN achieved a zero-shot FID of 9.09 on the COCO2014 data set, which is lower than the FID of DALL-E 2, Parti-750M and Stable Diffusion

Application scenario

Prompt interpolation

GigaGAN can smoothly interpolate between prompts. The four corners in the figure below are formed by the same Latent code generation, but with different text prompts.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Disentangled prompt mixing

GigaGAN Reserved A separated latent space enables combining the coarse style of one sample with the fine style of another sample, and GigaGAN can directly control the style through text hints.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

##Coarse-to-fine sytle swapping

The GAN-based model architecture preserves a separate latent space, enabling the coarse style of one sample to be mixed with the fine style of another sample.

The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.

Reference:​

https://mingukkang.github.io/GigaGAN/

The above is the detailed content of The first ultra-large-scale GAN model! The generation speed is 20+ times faster than Diffusion, and the image is produced in 0.13 seconds. It supports up to 16 million pixels.. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
What is Few-Shot Prompting? - Analytics VidhyaWhat is Few-Shot Prompting? - Analytics VidhyaApr 22, 2025 am 09:13 AM

Few-Shot Prompting: A Powerful Technique in Machine Learning In the realm of machine learning, achieving accurate responses with minimal data is paramount. Few-shot prompting offers a highly effective solution, enabling AI models to perform specific

What is Temperature in prompt engineering? - Analytics VidhyaWhat is Temperature in prompt engineering? - Analytics VidhyaApr 22, 2025 am 09:11 AM

Prompt Engineering: Mastering the "Temperature" Parameter for AI Text Generation Prompt engineering is crucial when working with large language models (LLMs) like GPT-4. A key parameter in prompt engineering is "temperature," whi

Are You At Risk Of AI Agency Decay? Take The Test To Find OutAre You At Risk Of AI Agency Decay? Take The Test To Find OutApr 21, 2025 am 11:31 AM

This article explores the growing concern of "AI agency decay"—the gradual decline in our ability to think and decide independently. This is especially crucial for business leaders navigating the increasingly automated world while retainin

How to Build an AI Agent from Scratch? - Analytics VidhyaHow to Build an AI Agent from Scratch? - Analytics VidhyaApr 21, 2025 am 11:30 AM

Ever wondered how AI agents like Siri and Alexa work? These intelligent systems are becoming more important in our daily lives. This article introduces the ReAct pattern, a method that enhances AI agents by combining reasoning an

Revisiting The Humanities In The Age Of AIRevisiting The Humanities In The Age Of AIApr 21, 2025 am 11:28 AM

"I think AI tools are changing the learning opportunities for college students. We believe in developing students in core courses, but more and more people also want to get a perspective of computational and statistical thinking," said University of Chicago President Paul Alivisatos in an interview with Deloitte Nitin Mittal at the Davos Forum in January. He believes that people will have to become creators and co-creators of AI, which means that learning and other aspects need to adapt to some major changes. Digital intelligence and critical thinking Professor Alexa Joubin of George Washington University described artificial intelligence as a “heuristic tool” in the humanities and explores how it changes

Understanding LangChain Agent FrameworkUnderstanding LangChain Agent FrameworkApr 21, 2025 am 11:25 AM

LangChain is a powerful toolkit for building sophisticated AI applications. Its agent architecture is particularly noteworthy, allowing developers to create intelligent systems capable of independent reasoning, decision-making, and action. This expl

What are the Radial Basis Functions Neural Networks?What are the Radial Basis Functions Neural Networks?Apr 21, 2025 am 11:13 AM

Radial Basis Function Neural Networks (RBFNNs): A Comprehensive Guide Radial Basis Function Neural Networks (RBFNNs) are a powerful type of neural network architecture that leverages radial basis functions for activation. Their unique structure make

The Meshing Of Minds And Machines Has ArrivedThe Meshing Of Minds And Machines Has ArrivedApr 21, 2025 am 11:11 AM

Brain-computer interfaces (BCIs) directly link the brain to external devices, translating brain impulses into actions without physical movement. This technology utilizes implanted sensors to capture brain signals, converting them into digital comman

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools