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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Hao, Huang, Mengqi, Zhang, Lei, Hu, Bo, Liu, Yi, Mao, Zhendong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917595661205504
author Li, Hao
Huang, Mengqi
Zhang, Lei
Hu, Bo
Liu, Yi
Mao, Zhendong
author_facet Li, Hao
Huang, Mengqi
Zhang, Lei
Hu, Bo
Liu, Yi
Mao, Zhendong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_14398
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Gradual Residuals Alignment: A Dual-Stream Framework for GAN Inversion and Image Attribute Editing
Li, Hao
Huang, Mengqi
Zhang, Lei
Hu, Bo
Liu, Yi
Mao, Zhendong
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title Gradual Residuals Alignment: A Dual-Stream Framework for GAN Inversion and Image Attribute Editing
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2402.14398