mlsanityData to 14 Oct 2026

SwinStyleformer is a favorable choice for image inversion

arXiv 2406.13153 ↗First posted 19 Jun 2024cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper proposes the first pure Transformer structure inversion network called SwinStyleformer, which can compensate for the shortcomings of the CNNs inversion framework by handling long-range dependencies and learning the global structure of objects. Experiments found that the inversion network with the Transformer backbone could not successfully invert the image. The above phenomena arise from the differences between CNNs and Transformers, such as the self-attention weights favoring image structure ignoring image details compared to convolution, the lack of multi-scale properties of Transformer, and the distribution differences between the latent code extracted by the Transformer and the StyleGAN style vector. To address these differences, we employ the Swin Transformer with a smaller window size as the backbone of the SwinStyleformer to enhance the local detail of the inversion image. Meanwhile, we design a Transformer block based on learnable queries. Compared to the self-attention transformer block, the Transformer block based on learnable queries provides greater adaptability and flexibility, enabling the model to update the attention weights according to specific tasks. Thus, the inversion focus is not limited to the image structure. To further introduce multi-scale properties, we design multi-scale connections in the extraction of feature maps. Multi-scale connections allow the model to gain a comprehensive understanding of the image to avoid loss of detail due to global modeling. Moreover, we propose an inversion discriminator and distribution alignment loss to minimize the distribution differences. Based on the above designs, our SwinStyleformer successfully solves the Transformer's inversion failure issue and demonstrates SOTA performance in image inversion and several related vision tasks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 55 of its 71 references that are in the map. First posted on arXiv 19 Jun 2024.

Builds on

55 of 71 references.

References · 55

  1. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  2. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  3. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  4. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  5. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
  6. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
  7. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
  8. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  9. 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,222
  10. 2021Alias-Free Generative Adversarial Networkscited by 1,184
  11. 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
  12. 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 712
38 more
  1. 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 695
  2. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  3. 2020GANSpace: Discovering Interpretable GAN Controlscited by 614
  4. 2021Designing an Encoder for StyleGAN Image Manipulationcited by 544
  5. 2021Pivotal Tuning for Latent-based Editing of Real Imagescited by 427
  6. 2020In-Domain GAN Inversion for Real Image Editingcited by 420
  7. 2020Closed-Form Factorization of Latent Semantics in GANscited by 408
  8. 2020InterFaceGAN: Interpreting the Disentangled Face Representation Learned by GANscited by 394
  9. 2019Image2StyleGAN++: How to Edit the Embedded Images?cited by 356
  10. 2016Adversarial Feature Learningcited by 350
  11. 2020StyleFlow: Attribute-conditioned Exploration of StyleGAN-Generated Images using Conditional Continuous Normalizing Flowscited by 349
  12. 2020CurricularFace: Adaptive Curriculum Learning Loss for Deep Face Recognitioncited by 321
  13. 2020Unsupervised Discovery of Interpretable Directions in the GAN Latent Spacecited by 289
  14. 2020StyleRig: Rigging StyleGAN for 3D Control over Portrait Imagescited by 268
  15. 2019On the "steerability" of generative adversarial networkscited by 248
  16. 2021ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinementcited by 248
  17. 2016Adversarially Learned Inferencecited by 216
  18. 2021HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image Editingcited by 208
  19. 2017VEEGAN: Reducing Mode Collapse in GANs using Implicit Variational Learningcited by 200
  20. 2021High-Fidelity GAN Inversion for Image Attribute Editingcited by 197
  21. 2019GANalyze: Toward Visual Definitions of Cognitive Image Propertiescited by 193
  22. 2019Image Processing Using Multi-Code GAN Priorcited by 185
  23. 2020Editing in Style: Uncovering the Local Semantics of GANscited by 183
  24. 2020Adversarial Latent Autoencoderscited by 155
  25. 2014A Tutorial on Principal Component Analysiscited by 141
  26. 2016Inverting The Generator Of A Generative Adversarial Networkcited by 140
  27. 2016Invertible Conditional GANs for image editingcited by 118
  28. 2021ViTGAN: Training GANs with Vision Transformerscited by 110
  29. 2019Semantic Hierarchy Emerges in Deep Generative Representations for Scene Synthesiscited by 106
  30. 2020Image Generators with Conditionally-Independent Pixel Synthesiscited by 106
  31. 2018IntroVAE: Introspective Variational Autoencoders for Photographic Image Synthesiscited by 85
  32. 2020Transforming and Projecting Images into Class-conditional Generative Networkscited by 76
  33. 2020Collaborative Learning for Faster StyleGAN Embeddingcited by 65
  34. 2021LatentCLR: A Contrastive Learning Approach for Unsupervised Discovery of Interpretable Directionscited by 52
  35. 2022Style Transformer for Image Inversion and Editingcited by 37
  36. 2017It Takes (Only) Two: Adversarial Generator-Encoder Networkscited by 19
  37. 2020SCGAN: Saliency Map-guided Colorization with Generative Adversarial Networkcited by 18
  38. 2022Delving StyleGAN Inversion for Image Editing: A Foundation Latent Space Viewpointcited by 18

50 most cited of 55 All 55 (JSON)

Built on by

Not cited yet.