Lune

CVPR2023Top-tier venue

StyleRes: Transforming the Residuals for Real Image Editing with StyleGAN

Hamza Pehlivan, Yusuf Dalva, Aysegul Dundar

Abstract

We present a novel image inversion framework and a training pipeline to achieve high-fidelity image inversion with high-quality attribute editing. Inverting real images into StyleGAN's latent space is an extensively studied problem, yet the trade-off between the image reconstruction fidelity and image editing quality remains an open challenge. The low-rate latent spaces are limited in their expressiveness power for high-fidelity reconstruction. On the other hand, high-rate latent spaces result in degradation in editing quality. In this work, to achieve high-fidelity inversion, we learn residual features in higher latent codes that lower latent codes were not able to encode. This enables preserving image details in reconstruction. To achieve high-quality editing, we learn how to transform the residual features for adapting to manipulations in latent codes. We train the framework to extract residual features and transform them via a novel architecture pipeline and cycle consistency losses. We run extensive experiments and compare our method with state-of-the-art inversion methods. Qualitative metrics and visual comparisons show significant improvements. Code: https://github.com/hamzapehlivan/StyleRes

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Dual Encoder GAN Inversion for High-Fidelity 3D Head Reconstruction from Single Images cites Diverse Inpainting and Editing with GAN Inversion
  • Dual Encoder GAN Inversion for High-Fidelity 3D Head Reconstruction from Single Images cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • Dual Encoder GAN Inversion for High-Fidelity 3D Head Reconstruction from Single Images cites ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement
  • Diverse Inpainting and Editing with GAN Inversion cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • Diverse Inpainting and Editing with GAN Inversion cites StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
  • Diverse Inpainting and Editing with GAN Inversion cites GANSpace: Discovering Interpretable GAN Controls
  • Diverse Inpainting and Editing with GAN Inversion cites ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement
  • StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • GANSpace: Discovering Interpretable GAN Controls cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement cites StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
  • ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Schedule Your Edit: A Simple yet Effective Diffusion Noise Schedule for Image EditingHaonan Lin, Yan Chen, Jiahao Wang, Wenbin An et al.NeurIPS 2024 · 46 citations
  2. Diverse Inpainting and Editing with GAN InversionAhmet Burak Yildirim, Hamza Pehlivan, Bahri Batuhan Bilecen, Aysegul DundarICCV 2023 · 35 citations
  3. SDGAN: Disentangling Semantic Manipulation for Facial Attribute EditingWenmin Huang, Weiqi Luo, Jiwu Huang, Xiaochun CaoAAAI 2024 · 20 citations
  4. WildFake: A Large-Scale and Hierarchical Dataset for AI-Generated Images DetectionYan Hong, Jianming Feng, Haoxing Chen, Jun Lan et al.AAAI 2025 · 13 citations
  5. Dual Encoder GAN Inversion for High-Fidelity 3D Head Reconstruction from Single ImagesBahri Batuhan Bilecen, Ahmet Berke Gökmen, Aysegul DundarNeurIPS 2024 · 11 citations

Builds on21

  1. StyleCLIP: Text-Driven Manipulation of StyleGAN ImageryOr Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or et al.ICCV 2021 · 1,437 citations
  2. Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?Rameen Abdal, Yipeng Qin, Peter WonkaICCV 2019 · 1,195 citations
  3. GANSpace: Discovering Interpretable GAN ControlsErik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, Sylvain ParisNeurIPS 2020 · 1,049 citations
  4. Unsupervised Discovery of Interpretable Directions in the GAN Latent SpaceAndrey Voynov, Artem BabenkoICML 2020 · 459 citations
  5. ReStyle: A Residual-Based StyleGAN Encoder via Iterative RefinementYuval Alaluf, Or Patashnik, Daniel Cohen-OrICCV 2021 · 377 citations

Related papers

  1. Style Transformer for Image Inversion and EditingXueqi Hu, Qiusheng Huang, Zhengyi Shi, Siyuan Li et al.CVPR 2022 · 58 citations
  2. ReGANIE: Rectifying GAN Inversion Errors for Accurate Real Image EditingBingchuan Li, Tianxiang Ma, Peng Zhang, Miao Hua et al.AAAI 2023 · 11 citations
  3. Designing an encoder for StyleGAN image manipulationOmer Tov, Yuval Alaluf, Yotam Nitzan, Or Patashnik et al.SIGGRAPH 2021 · 692 citations
  4. Self-Supervised Geometry-Aware Encoder for Style-Based 3D GAN InversionYushi Lan, Xuyi Meng, Shuai Yang, Chen Change Loy et al.CVPR 2023
  5. A Latent Transformer for Disentangled Face Editing in Images and VideosXu Yao, Alasdair Newson, Yann Gousseau, Pierre HellierICCV 2021 · 97 citations
Dusk over the sea between two cliffs drawn in fine vertical lines