atlas

Research map / Image generation / Editing and style transfer

Spatial-Contextual Discrepancy Information Compensation for GAN Inversion

AAAI 2024 · Image generation › Editing and style transfer · approach: GAN inversion for editing · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SDIC, a GAN inversion method that predicts a spatial-contextual discrepancy map between the original and e4e-reconstructed images and uses it to compensate both the StyleGAN latent code and an early generator layer before editing ("compensate-and-edit").

Problem

GAN inversion suffers from a distortion-editability trade-off: W-space inversion is editable but loses image detail, while higher-fidelity methods degrade editability or introduce artifacts.

Approach

A discrepancy information prediction network (two-branch spatial-contextual hourglass plus discrepancy hourglass with spatial attention fusion) predicts a discrepancy map from the original and initial reconstruction; a compensation network applies affine compensation to the latent code and nonlinear attention-based compensation to generator layer 7, and editing adds the edit difference to the enha

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SDIC instead of PTI for inversionStyleGAN inversion on CelebA-HQ · CelebA-HQ inversionSSIM: 0.703 -> 0.815Helped
Use SDIC instead of PTI for editingStyleGAN editing on CelebA-HQ · CelebA-HQ editingUser Study: 22.500% -> 65.832%Helped
Add the two-branch spatial-contextual hourglass module (ablation)SDIC inversion · Face domainreconstruction fidelity and artifactsHelped
Add spatial attention fusion instead of conventional affine transformation for latent-map compensation (ablation)SDIC · Face domainimage qualityHelped
Use compensate-and-edit rather than edit-and-compensate (ablation)SDIC editing · Face domaineditabilityHelped
Add spatial attention fusion (ablation)SDIC inversion · Face domainL2: 0.009 -> 0.007Helped
Add spatial attention fusion (ablation)SDIC inversion · Face domainLPIPS: 0.062 -> 0.057Helped
Add spatial attention fusion (ablation)SDIC inversion · Face domainID (ArcFace): 0.929 -> 0.948Helped
Add spatial-contextual information and attention fusion (ablation)SDIC inversion · Face domainL2: 0.020 -> 0.007Helped
Compensate generator layer 9 rather than layer 7 (ablation)SDIC inversion · Face domainL2: 0.007 -> 0.004Helped
Compensate generator layer 9 rather than layer 7 (ablation)SDIC editing · Face domainediting artifactsHurt
Compensate generator layer 7 rather than layer 5 (ablation)SDIC inversion · Face domainL2: 0.176 -> 0.007Helped

Surprising findings

Limitations

Experimental setup

Datasets: FFHQ CelebA-HQ Stanford Cars

Benchmarks: CelebA-HQ Stanford Cars

Metrics: ID SSIM PSNR LPIPS L2 inference time user study

Baselines: PTI e4e HyperStyle HFGI FS CLCAE

Builds on: e4e HFGI StyleGAN InterFaceGAN GANSpace

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy