Gradual Residuals Alignment: A Dual-Stream Framework for GAN Inversion and Image Attribute Editing

Abstract

GAN-based image attribute editing firstly leverages GAN Inversion to project real images into the latent space of GAN and then manipulates corresponding latent codes. Recent inversion methods mainly utilize additional high-bit features to improve image details preservation, as low-bit codes cannot faithfully reconstruct source images, leading to the loss of details. However, during editing, existing works fail to accurately complement the lost details and suffer from poor editability. The main reason is they inject all the lost details indiscriminately at one time, which inherently induces the position and quantity of details to overfit source images, resulting in inconsistent content and artifacts in edited images. This work argues that details should be gradually injected into both the reconstruction and editing process in a multi-stage coarse-to-fine manner for better detail preservation and high editability. Therefore, a novel dual-stream framework is proposed to accurately complement details at each stage. The Reconstruction Stream is employed to embed coarse-to-fine lost details into residual features and then adaptively add them to the GAN generator. In the Editing Stream, residual features are accurately aligned by our Selective Attention mechanism and then injected into the editing process in a multi-stage manner. Extensive experiments have shown the superiority of our framework in both reconstruction accuracy and editing quality compared with existing methods.

Cite

Text

Li et al. "Gradual Residuals Alignment: A Dual-Stream Framework for GAN Inversion and Image Attribute Editing." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I4.28089

Markdown

[Li et al. "Gradual Residuals Alignment: A Dual-Stream Framework for GAN Inversion and Image Attribute Editing." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/li2024aaai-gradual/) doi:10.1609/AAAI.V38I4.28089

BibTeX

@inproceedings{li2024aaai-gradual,
  title     = {{Gradual Residuals Alignment: A Dual-Stream Framework for GAN Inversion and Image Attribute Editing}},
  author    = {Li, Hao and Huang, Mengqi and Zhang, Lei and Hu, Bo and Liu, Yi and Mao, Zhendong},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {3064-3072},
  doi       = {10.1609/AAAI.V38I4.28089},
  url       = {https://mlanthology.org/aaai/2024/li2024aaai-gradual/}
}