What Decreases Editing Capability? Domain-Specific Hybrid Refinement for Improved GAN Inversion

Pu Cao, Lu Yang, Dongxv Liu, Xiaoya Yang, Tianrui Huang +1 more
1/28/2023
cs.CVcs.AI

Official code: caopulan/Domain-Specific_Hybrid_Refinement_Inversion (5 stars, last commit 2023-02-17). 1 more implementation below.

Abstract

Recently, inversion methods have focused on additional high-rate information in the generator (e.g., weights or intermediate features) to refine inversion and editing results from embedded latent codes. Although these techniques gain reasonable improvement in reconstruction, they decrease editing capability, especially on complex images (e.g., containing occlusions, detailed backgrounds, and artifacts). A vital crux is refining inversion results, avoiding editing capability degradation. To tackle this problem, we introduce Domain-Specific Hybrid Refinement (DHR), which draws on the advantages and disadvantages of two mainstream refinement techniques to maintain editing ability with fidelity improvement. Specifically, we first propose Domain-Specific Segmentation to segment images into two parts: in-domain and out-of-domain parts. The refinement process aims to maintain the editability for in-domain areas and improve two domains' fidelity. We refine these two parts by weight modulation and feature modulation, which we call Hybrid Modulation Refinement. Our proposed method is compatible with all latent code embedding methods. Extension experiments demonstrate that our approach achieves state-of-the-art in real image inversion and editing. Code is available at https://github.com/caopulan/Domain-Specific_Hybrid_Refinement_Inversion.

View on arXivView PDF

Code Implementations(2)

Official implementation of "What Decreases Editing Capability? Domain-Specific Hybrid Refinement for Improved GAN Inversion"

50Jan 28, 20233 years ago
MIT

A GAN inversion toolbox based on PyTorch library. We design a unified pipeline for inversion methods and conduct a comprehensive benchmark.

713C++, CudaSep 26, 20221 years agoMIT
gangan-inversiongenerative-adversarial-networkinversion

Similar Papers

Cite this paper

@article{cao2023what,
  title  = {What Decreases Editing Capability? Domain-Specific Hybrid Refinement for Improved GAN Inversion},
  author = {Pu Cao and Lu Yang and Dongxv Liu and Xiaoya Yang and Tianrui Huang and Qing Song},
  year   = {2023},
  eprint = {2301.12141},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.12141v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.12141.svg)](https://codeofpaper.com/paper/2301.12141)

Discussion