TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/StyleNAT: Giving Each Head a New Perspective

StyleNAT: Giving Each Head a New Perspective

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

2022-11-10Image GenerationFace Generation
PaperPDFCode(official)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.

Results

TaskDatasetMetricValueModel
Image GenerationFFHQ 256 x 256FID2.05StyleNAT
Image GenerationFFHQ 256 x 256FD229.72StyleNAT (DINOv2)
Image GenerationFFHQ 256 x 256Precision0.79StyleNAT (DINOv2)
Image GenerationFFHQ 256 x 256Recall0.41StyleNAT (DINOv2)
Image GenerationFFHQ 1024 x 1024FID4.17StyleNAT
Image GenerationLSUN Churches 256 x 256FID3.4StyleNAT

Related Papers

fastWDM3D: Fast and Accurate 3D Healthy Tissue Inpainting2025-07-17Synthesizing Reality: Leveraging the Generative AI-Powered Platform Midjourney for Construction Worker Detection2025-07-17FashionPose: Text to Pose to Relight Image Generation for Personalized Fashion Visualization2025-07-17A Distributed Generative AI Approach for Heterogeneous Multi-Domain Environments under Data Sharing constraints2025-07-17Pixel Perfect MegaMed: A Megapixel-Scale Vision-Language Foundation Model for Generating High Resolution Medical Images2025-07-17FADE: Adversarial Concept Erasure in Flow Models2025-07-16Non-Adaptive Adversarial Face Generation2025-07-16CharaConsist: Fine-Grained Consistent Character Generation2025-07-15