Your Local GAN: Designing Two Dimensional Local Attention Mechanisms for Generative Models
Giannis Daras, Augustus Odena, Han Zhang, Alexandros G. Dimakis
Abstract
We introduce a new local sparse attention layer that preserves two-dimensional geometry and locality. We show that by just replacing the dense attention layer of SAGAN with our construction, we obtain very significant FID, Inception score and pure visual improvements. FID score is improved from 18.65 to 15.94 on ImageNet, keeping all other parameters the same. The sparse attention patterns that we propose for our new layer are designed using a novel information theoretic criterion that uses information flow graphs. We also present a novel way to invert Generative Adversarial Networks with attention. Our method uses the attention layer of the discriminator to create an innovative loss function. This allows us to visualize the newly introduced attention heads and show that they indeed capture interesting aspects of two-dimensional geometry of real images.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1ab367b2-6d18-4755-9f18-fa52117eb478Cited by top-tier papers10
- DiffusionCLIP: Text-Guided Diffusion Models for Robust Image ManipulationGwanghyun Kim, Taesung Kwon, Jong Chul YeCVPR 2022 · 458 citations
- Is Attention Better Than Matrix Decomposition?Zhengyang Geng, Meng-Hao Guo, Hongxu Chen, Xia Li et al.ICLR 2021 · 171 citations
- Improved Consistency Regularization for GANsZhengli Zhao, Sameer Singh, Honglak Lee, Zizhao Zhang et al.AAAI 2021 · 166 citations
- Towards Vivid and Diverse Image Colorization with Generative Color PriorYanze Wu, Xintao Wang, Yu Li, Honglun Zhang et al.ICCV 2021 · 123 citations
- Intermediate Layer Optimization for Inverse Problems using Deep Generative ModelsGiannis Daras, Joseph Dean, Ajil Jalal, Alex DimakisICML 2021 · 101 citations
Builds on1
Related papers
- Dual Contrastive Loss and Attention for GANsNing Yu, Guilin Liu, Aysegul Dundar, Andrew Tao et al.ICCV 2021 · 69 citations
- Instance Selection for GANsTerrance DeVries, Michal Drozdzal, Graham W. TaylorNeurIPS 2020 · 41 citations
- Adaptive Weighted Discriminator for Training Generative Adversarial NetworksVasily Zadorozhnyy, Qiang Cheng, Qiang YeCVPR 2021
- Local Attention Pyramid for Scene Image GenerationSang-Heon Shim, Sangeek Hyun, Dae Hyun Bae, Jae-Pil HeoCVPR 2022 · 6 citations
- Diagonal Attention and Style-based GAN for Content-Style Disentanglement in Image Generation and TranslationGihyun Kwon, Jong Chul YeICCV 2021 · 59 citations
