Abstract
We introduce a novel GAN-based framework for transferring specific visual attributes—such as a particular person's smile or a unique hairstyle—between images without requiring paired training data. By utilizing a reconfigurable architecture and a specialized attribute-consistency loss, a single model can perform high-fidelity, instance-level transfers across multiple categories simultaneously. Our approach disentangles the latent space into independent slots for identity and specific attributes, allowing for precise manipulation. We demonstrate the effectiveness of this method on several datasets, including CelebA and fashion data, showing superior performance in maintaining source identity while accurately adopting reference details.
Introduction
Most image-to-image translation models, such as Pix2Pix or CycleGAN, operate primarily at the domain level. While they can successfully apply general attributes like "blonde hair" or "smiling," they often fail at instance-level transfer—the ability to replicate the exact characteristics of a specific reference image. Furthermore, existing instance-level methods typically require paired datasets (images of the same person with and without an attribute), which are difficult to acquire. This work addresses these challenges by proposing a method for precise, instance-level transfer using only unpaired data.
Methodology
The proposed Reconfigurable Generative Adversarial Network consists of an Encoder ($E$), a Generator ($G$), and attribute-specific Discriminators ($D_v$).
The core of the system is the disentanglement of the latent space into "slots." The encoder maps an image into a space where one slot represents sample-specific details (identity) and others represent specific attributes (e.g., hair color, bangs). Transfer is achieved by swapping the attribute slot of the source image with that of the reference image.
The training process is guided by four primary objectives:
- GAN Loss: Ensures the generated image $x^{trans}$ is indistinguishable from real images in the target attribute domain.
- Back-transfer Objective: A cycle-consistency constraint that requires the model to reconstruct the original source image when the original attribute is swapped back in.
- Attribute-consistency Objective: This key innovation ensures the transferred attribute is detailed enough to recreate the reference image's original attribute if transferred back.
- Reconfigurable Architecture: A single encoder-generator pair handles multiple attributes, improving efficiency over models requiring separate networks for every attribute pair.
Experimental Results
The model was evaluated on the CelebA dataset for facial attributes, as well as 3D Car/Face and Fashion datasets.
Qualitative analysis shows that the model successfully transfers specific details, such as the exact shape of bangs or a unique smile, while preserving the identity and background of the source subject. The "multiplex" transfer capability allows for changing multiple attributes simultaneously (e.g., hair color and expression) without interference. Furthermore, experiments with 3D objects demonstrated that the model can disentangle pose (azimuth) from identity, maintaining the correct orientation even when swapping object categories.
Conclusion
This work presents a robust framework for unsupervised instance-level attribute transfer. By combining latent slot disentanglement with a reconfigurable architecture and attribute-consistency losses, the model achieves high-fidelity results across diverse domains. While the method currently relies on domain-level labels, it represents a significant step toward more flexible and precise image manipulation without the need for expensive paired datasets.
Summary updated