[论文解读] InterFaceGAN: Interpreting the Disentangled Face Representation Learned by GANs
InterFaceGAN识别GAN的线性潜在子空间,这些子空间编码面部语义,使得在不重新训练的情况下实现可控、解耦的面部编辑。
Although Generative Adversarial Networks (GANs) have made significant progress in face synthesis, there lacks enough understanding of what GANs have learned in the latent representation to map a random code to a photo-realistic image. In this work, we propose a framework called InterFaceGAN to interpret the disentangled face representation learned by the state-of-the-art GAN models and study the properties of the facial semantics encoded in the latent space. We first find that GANs learn various semantics in some linear subspaces of the latent space. After identifying these subspaces, we can realistically manipulate the corresponding facial attributes without retraining the model. We then conduct a detailed study on the correlation between different semantics and manage to better disentangle them via subspace projection, resulting in more precise control of the attribute manipulation. Besides manipulating the gender, age, expression, and presence of eyeglasses, we can even alter the face pose and fix the artifacts accidentally made by GANs. Furthermore, we perform an in-depth face identity analysis and a layer-wise analysis to evaluate the editing results quantitatively. Finally, we apply our approach to real face editing by employing GAN inversion approaches and explicitly training feed-forward models based on the synthetic data established by InterFaceGAN. Extensive experimental results suggest that learning to synthesize faces spontaneously brings a disentangled and controllable face representation.
研究动机与目标
- 理解面部语义如何编码在GAN潜在空间中。
- 识别对应二元属性的线性子空间。
- 通过操作潜在编码在不重新训练的情况下实现可控的面部编辑。
- 评估PGGAN和StyleGAN在解耦性与可控性方面。
- 探索通过GAN反演与合成数据对真实图像进行编辑的扩展。
提出的方法
- 将语义边界定义为潜在空间中的单位法向超平面,使用在预测属性分数上训练的线性SVMs。
- 将多种语义建模为对角化的线性变换以评估独立性。
- 通过添加缩放的边界方向来操作潜在编码以编辑属性。
- 应用子空间投影实现条件操作并降低纠缠。
- 分析 StyleGAN 的 Z 与 W 空间的可分离性,以及在 PGGAN 中的可分离性。
- 通过 GAN 反演和基于合成数据训练的像素到像素模型,将编辑扩展到真实图像。
实验结果
研究问题
- RQ1二元人脸属性能否通过 GAN 潜在空间中的线性超平面分离?
- RQ2在 Z 与 W 空间中,PGGAN 与 StyleGAN 的已识别语义有多解耦?
- RQ3潜在方向编辑是否能够在保持其他属性的同时,可靠地操作特定属性?
- RQ4通过子空间投影进行条件操作如何影响属性之间的纠缠?
- RQ5如何利用GAN反演和下游模型的合成数据实现真实图像的编辑?
主要发现
- 所有评估的属性在潜在边界上具有高验证准确率(例如,对PGGAN的验证准确度>95%)。
- W空间在StyleGAN中相对于Z空间显示出更强的可分离性和更好的远距离操控。
- 潜在操作可以在不重新训练的情况下以可控方式改变性别、年龄、姿态、微笑和眼镜。
- 通过子空间投影进行的条件操作降低纠缠并实现对条件属性的保持。
- StyleGAN在W空间呈现更解耦的边界,而Z空间显示出纠缠,可通过投影缓解。
- 伪影校正和脸部身份分析证明了InterFaceGAN在合成和编辑方面的实际可行性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。