Multi-attribute balanced sampling for disentangled GAN controls - Archive ouverte HAL Access content directly
Journal Articles Pattern Recognition Letters Year : 2022

Multi-attribute balanced sampling for disentangled GAN controls


Various controls over the generated data can be extracted from the latent space of a pre-trained GAN, as it implicitly encodes the semantics of the training data. The discovered controls allow to vary semantic attributes in the generated images but usually lead to entangled edits that affect multiple attributes at the same time. Supervised approaches typically sample and annotate a collection of latent codes, then train classifiers in the latent space to identify the controls. Since the data generated by GANs reflects the biases of the original dataset, so do the resulting semantic controls. We propose to address disentanglement by subsampling the generated data to remove over-represented co-occuring attributes thus balancing the semantics of the dataset before training the classifiers. We demonstrate the effectiveness of this approach by extracting disentangled linear directions for face manipulation on two popular GAN architectures, PGGAN and StyleGAN, and two datasets, CelebAHQ and FFHQ. We show that this approach outperforms state-of-the-art classifier-based methods while avoiding the need for disentanglement-enforcing post-processing.
Fichier principal
Vignette du fichier
main.pdf (4.6 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03404279 , version 2 (27-10-2021)
hal-03404279 , version 3 (26-01-2022)
hal-03404279 , version 1 (03-01-2023)



Perla Doubinsky, Nicolas Audebert, Michel Crucianu, Hervé Le Borgne. Multi-attribute balanced sampling for disentangled GAN controls. Pattern Recognition Letters, 2022, 162, pp.56-62. ⟨10.1016/j.patrec.2022.08.012⟩. ⟨hal-03404279v3⟩
840 View
115 Download



Gmail Facebook X LinkedIn More