Skip to main content
QUICK REVIEW

[论文解读] Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation

Xingang Pan, Xiaohang Zhan|arXiv (Cornell University)|Mar 30, 2020
Generative Adversarial Networks and Image SynthesisComputer Science被引用 20
一句话总结

本文提出深度生成先验(DGP),一种利用预训练生成对抗网络(GAN)作为通用图像先验的方法,适用于多种图像恢复与操作任务。通过在推理过程中利用判别器引导的特征匹配对生成器进行微调,DGP 能够忠实重建缺失的语义信息(如颜色、分辨率和纹理),同时保持自然图像流形结构,在图像恢复与操作任务中优于现有的 GAN 反演与 DIP 方法。

ABSTRACT

Learning a good image prior is a long-term goal for image restoration and manipulation. While existing methods like deep image prior (DIP) capture low-level image statistics, there are still gaps toward an image prior that captures rich image semantics including color, spatial coherence, textures, and high-level concepts. This work presents an effective way to exploit the image prior captured by a generative adversarial network (GAN) trained on large-scale natural images. As shown in Fig.1, the deep generative prior (DGP) provides compelling results to restore missing semantics, e.g., color, patch, resolution, of various degraded images. It also enables diverse image manipulation including random jittering, image morphing, and category transfer. Such highly flexible restoration and manipulation are made possible through relaxing the assumption of existing GAN-inversion methods, which tend to fix the generator. Notably, we allow the generator to be fine-tuned on-the-fly in a progressive manner regularized by feature distance obtained by the discriminator in GAN. We show that these easy-to-implement and practical changes help preserve the reconstruction to remain in the manifold of nature image, and thus lead to more precise and faithful reconstruction for real images. Code is available at https://github.com/XingangPan/deep-generative-prior.

研究动机与目标

  • 为解决现有图像先验(如 DIP 和 SinGAN)的局限性,这些方法受限于单张图像或低层次统计特性,通过利用预训练 GAN 所蕴含的丰富高层图像知识。
  • 克服传统 GAN 反演方法在重建复杂真实图像时的失败问题,原因在于生成器固定和模式崩溃。
  • 通过利用 GAN 学习到的自然图像流形,实现对退化输入(如灰度图、低分辨率图、缺失区域)的精确、忠实的图像恢复。
  • 将 GAN 的应用从生成扩展到多样化、逼真的图像操作,如随机抖动、图像渐变和类别迁移。
  • 开发一种实用且灵活的框架,在保持重建保真度的同时,通过潜在空间操作实现对真实图像的动态操作。

提出的方法

  • 在重建过程中实时微调预训练 GAN 的生成器,而非像标准 GAN 反演那样固定生成器。
  • 采用渐进式重建策略,逐步更新生成器和潜在码,以减少‘信息残余’伪影。
  • 通过判别器中间层的特征距离进行正则化,以保持自然图像统计特性并维持流形一致性。
  • 结合感知损失(基于 VGG)与判别器特征匹配损失,以提升重建质量与语义保真度。
  • 通过扰动优化后的潜在码 $\mathbf{z}^*$ 实现图像操作,支持自然的形态变化,如姿态与尺度变化。
  • 通过线性插值潜在码 $\mathbf{z}$ 和生成器参数 $\bm{\theta}$ 实现图像渐变,实现真实图像间平滑、逼真的过渡。

实验结果

研究问题

  • RQ1预训练 GAN 是否可作为通用图像先验,用于在退化真实图像中恢复缺失语义(如颜色、分辨率、纹理)?
  • RQ2当生成器固定时,如何改进 GAN 反演方法,以更忠实重建复杂真实世界图像?
  • RQ3与固定生成器反演相比,通过判别器引导的实时生成器微调是否能更好地保持自然图像流形?
  • RQ4DGP 在多大程度上可实现多样化、逼真的图像操作,如随机抖动、图像渐变和类别迁移?
  • RQ5在图像恢复与对抗防御任务中,DGP 与 DIP 和 DefenseGAN 相比,在定量与定性表现上如何?

主要发现

  • DGP 通过高保真度重建缺失语义,在灰度图、低分辨率图和图像修复任务中实现优越的图像恢复效果,优于传统 GAN 反演与 DIP 方法。
  • 结合判别器特征匹配的渐进式微调策略有效减少了‘信息残余’伪影,带来更清晰、更自然的重建结果。
  • 通过扰动优化后的潜在码 $\mathbf{z}^*$,DGP 实现了逼真的随机抖动,产生自然的形态变化(如姿态、动作、尺度),而 SinGAN 会扭曲物体概念。
  • 通过插值潜在码与生成器参数实现的图像渐变,可在真实图像间生成视觉上逼真的过渡,ImageNet 验证对上的 Inception Score (IS) 达到 59.9。
  • DGP 显著提升了对抗防御性能,在重建后正确分类了 95.2% 的对抗性 ResNet50 输入,优于 DefenseGAN 与 DIP。
  • 通过在潜在空间中操作类别条件,DGP 实现了准确的类别迁移,成功将物体身份(如狗变为鸟)改变,而保持空间布局与姿态不变。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。