SOTAVerified

StyleNAT: Giving Each Head a New Perspective

2022-11-10Code Available1· sign in to hype

Steven Walton, Ali Hassani, Xingqian Xu, Zhangyang Wang, Humphrey Shi

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Image generation has been a long sought-after but challenging task, and performing the generation task in an efficient manner is similarly difficult. Often researchers attempt to create a "one size fits all" generator, where there are few differences in the parameter space for drastically different datasets. Herein, we present a new transformer-based framework, dubbed StyleNAT, targeting high-quality image generation with superior efficiency and flexibility. At the core of our model, is a carefully designed framework that partitions attention heads to capture local and global information, which is achieved through using Neighborhood Attention (NA). With different heads able to pay attention to varying receptive fields, the model is able to better combine this information, and adapt, in a highly flexible manner, to the data at hand. StyleNAT attains a new SOTA FID score on FFHQ-256 with 2.046, beating prior arts with convolutional models such as StyleGAN-XL and transformers such as HIT and StyleSwin, and a new transformer SOTA on FFHQ-1024 with an FID score of 4.174. These results show a 6.4% improvement on FFHQ-256 scores when compared to StyleGAN-XL with a 28% reduction in the number of parameters and 56% improvement in sampling throughput. Code and models will be open-sourced at https://github.com/SHI-Labs/StyleNAT.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
FFHQ 1024 x 1024StyleNATFID4.17Unverified
FFHQ 256 x 256StyleNATFID2.05Unverified
FFHQ 256 x 256StyleNAT (DINOv2)FD229.72Unverified
LSUN Churches 256 x 256StyleNATFID3.4Unverified

Reproductions