[论文解读] Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
本文提出了一种无监督、模型无关的方法,在预训练的 GAN 的潜在空间中发现可解释的方向,从而在没有标签的情况下进行语义图像操作。它还展示了在弱监督显著性检测中的实际应用。
The latent spaces of GAN models often have semantically meaningful directions. Moving in these directions corresponds to human-interpretable image transformations, such as zooming or recoloring, enabling a more controllable generation process. However, the discovery of such directions is currently performed in a supervised manner, requiring human labels, pretrained models, or some form of self-supervision. These requirements severely restrict a range of directions existing approaches can discover. In this paper, we introduce an unsupervised method to identify interpretable directions in the latent space of a pretrained GAN model. By a simple model-agnostic procedure, we find directions corresponding to sensible semantic manipulations without any form of (self-)supervision. Furthermore, we reveal several non-trivial findings, which would be difficult to obtain by existing methods, e.g., a direction corresponding to background removal. As an immediate practical benefit of our work, we show how to exploit this finding to achieve competitive performance for weakly-supervised saliency detection.
研究动机与目标
- 在不进行监督的情况下,识别预训练 GAN 潜在空间中具有语义意义的方向。
- 学习一组彼此解耦的潜在方向,以产生易于解释的图像变换。
- 展示所发现方向的实际用途,例如用于下游任务的背景移除。
提出的方法
- 固定预训练的生成器 G,端到端学习潜在方向矩阵 A 和重建器 R,同时保持 G 不变。
- 取潜在代码 z 与 z + A(ε e_k) 的成对样本,并将两者输入 G 以获得成对的图像。
- 训练 R 以从图像对中预测方向索引 k 和移位量 ε。
- 对 k 使用分类损失,对 ε 使用回归损失,以鼓励解耦且可解释的方向。
- 确保 A 的列为单位范数或正交,以促进方向的多样性和稳定性。
- 选择 K 以匹配潜在维度(或所选子集),并尝试单位范数与正交列约束的影响。
实验结果
研究问题
- RQ1我们能在没有监督的情况下发现具有语义意义、可解释的 GAN 潜在方向吗?
- RQ2无监督方向是否倾向于人类可解释且在不同数据集和生成器上具有多样性?
- RQ3发现的方向能否用于实际任务,如弱监督显著性检测?
主要发现
- 该方法在多个生成器和数据集上识别出非平凡、可由人类解释的潜在方向。
- 某些发现的方向对应于有意义的操作,如背景移除。
- 发现的方向可用于生成用于弱监督显著性检测的合成数据,并具竞争力的性能。
- 在不同数据集上,使用正交列约束与单位范数约束会影响方向的多样性和可解释性。
- 该方法保持完全无监督且模型无关,不需要对生成器重新训练。
- 定性结果显示在 MNIST、AnimeFaces、CelebA-HQ 和 BigGAN 上具有可解释的变换。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。