GANSeg: Learning to Segment by Unsupervised Hierarchical Image Generation
About
Segmenting an image into its parts is a frequent preprocess for high-level vision tasks such as image editing. However, annotating masks for supervised training is expensive. Weakly-supervised and unsupervised methods exist, but they depend on the comparison of pairs of images, such as from multi-views, frames of videos, and image augmentation, which limits their applicability. To address this, we propose a GAN-based approach that generates images conditioned on latent masks, thereby alleviating full or weak annotations required in previous approaches. We show that such mask-conditioned image generation can be learned faithfully when conditioning the masks in a hierarchical manner on latent keypoints that define the position of parts explicitly. Without requiring supervision of masks or points, this strategy increases robustness to viewpoint and object positions changes. It also lets us generate image-mask pairs for training a segmentation network, which outperforms the state-of-the-art unsupervised segmentation methods on established benchmarks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Unsupervised Object Segmentation | CUB | Jaccard Index62.9 | 16 | |
| Landmark Detection | CelebA Wild (K=8) (test) | Normalized L2 Distance (%)6.18 | 14 | |
| Landmark Detection | CUB Category 001 2011 (test) | Normalized L2 Distance22.1 | 12 | |
| Landmark Detection | CUB Category 002 2011 (test) | Normalized L2 Distance22.3 | 12 | |
| Landmark Detection | CelebA Wild (K=4) (test) | Normalized L2 Distance12.26 | 10 | |
| Landmark Detection | CUB-003 | Normalized L2 Distance0.215 | 9 | |
| Landmark Detection | CelebA Aligned (K=10) (test) | Norm L2 Dist (%)3.98 | 9 | |
| Foreground segmentation | CUB-2011 | IoU62.9 | 6 | |
| Landmark Detection | CUB (all) | Normalized L2 Distance12.1 | 6 | |
| Landmark Detection | CUB aligned | Normalized L2 Distance3.23 | 5 |