Efficient generative adversarial networks using linear additive-attention Transformers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Morales-Juarez, Emilio, Fuentes-Pineda, Gibran
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912463304261632
author Morales-Juarez, Emilio
Fuentes-Pineda, Gibran
author_facet Morales-Juarez, Emilio
Fuentes-Pineda, Gibran
contents Although the capacity of deep generative models for image generation, such as Diffusion Models (DMs) and Generative Adversarial Networks (GANs), has dramatically improved in recent years, much of their success can be attributed to computationally expensive architectures. This has limited their adoption and use to research laboratories and companies with large resources, while significantly raising the carbon footprint for training, fine-tuning, and inference. In this work, we present a novel GAN architecture which we call LadaGAN. This architecture is based on a linear attention Transformer block named Ladaformer. The main component of this block is a linear additive-attention mechanism that computes a single attention vector per head instead of the quadratic dot-product attention. We employ Ladaformer in both the generator and discriminator, which reduces the computational complexity and overcomes the training instabilities often associated with Transformer GANs. LadaGAN consistently outperforms existing convolutional and Transformer GANs on benchmark datasets at different resolutions while being significantly more efficient. Moreover, LadaGAN shows competitive performance compared to state-of-the-art multi-step generative models (e.g. DMs) using orders of magnitude less computational resources.
format Preprint
id arxiv_https___arxiv_org_abs_2401_09596
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficient generative adversarial networks using linear additive-attention Transformers
Morales-Juarez, Emilio
Fuentes-Pineda, Gibran
Computer Vision and Pattern Recognition
Machine Learning
Although the capacity of deep generative models for image generation, such as Diffusion Models (DMs) and Generative Adversarial Networks (GANs), has dramatically improved in recent years, much of their success can be attributed to computationally expensive architectures. This has limited their adoption and use to research laboratories and companies with large resources, while significantly raising the carbon footprint for training, fine-tuning, and inference. In this work, we present a novel GAN architecture which we call LadaGAN. This architecture is based on a linear attention Transformer block named Ladaformer. The main component of this block is a linear additive-attention mechanism that computes a single attention vector per head instead of the quadratic dot-product attention. We employ Ladaformer in both the generator and discriminator, which reduces the computational complexity and overcomes the training instabilities often associated with Transformer GANs. LadaGAN consistently outperforms existing convolutional and Transformer GANs on benchmark datasets at different resolutions while being significantly more efficient. Moreover, LadaGAN shows competitive performance compared to state-of-the-art multi-step generative models (e.g. DMs) using orders of magnitude less computational resources.
title Efficient generative adversarial networks using linear additive-attention Transformers
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2401.09596