mlsanityData to 14 Oct 2026

Self-Supervised One-Shot Learning for Automatic Segmentation of StyleGAN Images

arXiv 2303.05639 ↗First posted 10 Mar 2023cs.CV cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

We propose a framework for the automatic one-shot segmentation of synthetic images generated by a StyleGAN. Our framework is based on the observation that the multi-scale hidden features in the GAN generator hold useful semantic information that can be utilized for automatic on-the-fly segmentation of the generated images. Using these features, our framework learns to segment synthetic images using a self-supervised contrastive clustering algorithm that projects the hidden features into a compact space for per-pixel classification. This contrastive learner is based on using a novel data augmentation strategy and a pixel-wise swapped prediction loss that leads to faster learning of the feature vectors for one-shot segmentation. We have tested our implementation on five standard benchmarks to yield a segmentation performance that not only outperforms the semi-supervised baselines by an average wIoU margin of 1.02 % but also improves the inference speeds by a factor of 4.5. Finally, we also show the results of using the proposed one-shot learner in implementing BagGAN, a framework for producing annotated synthetic baggage X-ray scans for threat detection. This framework was trained and tested on the PIDRay baggage benchmark to yield a performance comparable to its baseline segmenter based on manual annotations.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 43 of its 51 references that are in the map. First posted on arXiv 10 Mar 2023.

Builds on

43 of 51 references.

References · 43

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  2. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  3. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  4. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  5. 2013Auto-Encoding Variational Bayescited by 4,053
  6. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
  7. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,857
  8. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
  9. 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 2,010
  10. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
  11. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
  12. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
31 more
  1. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  2. 2020Training Generative Adversarial Networks with Limited Datacited by 1,186
  3. 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,098
  4. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,028
  5. 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
  6. 2020Self-supervised Learning: Generative or Contrastivecited by 694
  7. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  8. 2019Self-supervised Visual Feature Learning with Deep Neural Networks: A Surveycited by 657
  9. 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 628
  10. 2017Large Batch Training of Convolutional Networkscited by 535
  11. 2019Self-labelling via simultaneous clustering and representation learningcited by 528
  12. 2020Hard Negative Mixing for Contrastive Learningcited by 402
  13. 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
  14. 2020Contrastive learning of global and local features for medical image segmentation with limited annotationscited by 309
  15. 2018Towards a Definition of Disentangled Representationscited by 296
  16. 2021DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effortcited by 264
  17. 2021Deep Generative Modelling: A Comparative Review of VAEs, GANs, Normalizing Flows, Energy-Based and Autoregressive Modelscited by 252
  18. 2014Detect What You Can: Detecting and Representing Objects using Holistic Models and Body Partscited by 232
  19. 2018SG-One: Similarity Guidance Network for One-Shot Semantic Segmentationcited by 169
  20. 2021EditGAN: High-Precision Semantic Image Editingcited by 156
  21. 2021Semantic Segmentation with Generative Models: Semi-Supervised Learning and Strong Out-of-Domain Generalizationcited by 141
  22. 2019SCOPS: Self-Supervised Co-Part Segmentationcited by 100
  23. 2021GAN-Control: Explicitly Controllable GANscited by 91
  24. 2022Self-Supervised Learning of Object Parts for Semantic Segmentationcited by 90
  25. 2021Repurposing GANs for One-shot Semantic Part Segmentationcited by 88
  26. 2021In&Out : Diverse Image Outpainting via GAN Inversioncited by 55
  27. 2021Labels4Free: Unsupervised Segmentation using StyleGANcited by 53
  28. 2021Towards Real-World Prohibited Item Detection: A Large-Scale X-ray Benchmarkcited by 31
  29. 2019OneGAN: Simultaneous Unsupervised Learning of Conditional Image Generation, Foreground Segmentation, and Fine-Grained Clusteringcited by 28
  30. 2021Segmentation in Style: Unsupervised Semantic Image Segmentation with Stylegan and CLIPcited by 21
  31. 2021Learning Foreground-Background Segmentation from Improved Layered GANscited by 7

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.