# Poster 29200

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29200

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

We present an instant portrait. To acknowledge, instant portrait is the first to achieve one-step instruction-based portrait image editing, with high precision identity preservation, precise instruction-based image editing, and rapid model inference concurrently. The model is trained with a novel method called diffusion multi-object distillation.
First, motivation. Real-time portrait editing is key for applications like filters and augmented reality, but it faces three challenges. Identity preservation, following instructions, and fast inference. Models like Magic Brush and Instruct Pixel-to -Pixel often distort identity in complex edits, while identity-focused models like IP Adapter with ControlNet, SDXL, and Instant ID preserve identity.
But we can style effects and text fidelity. Balancing both remains a challenge.
Dataset. We create a specialized portrait editing dataset of good identity preservation. We create 10 million identity prompts to define attributes like age, gender, and skin color, and 10 million instruction prompts for styles, makeups, and backgrounds using GPT-4. They are combined and sampled 10 million target prompts. Unlike traditional methods, we first generate target images with target prompts using the SDXL without conditions.
To improve text image alignment, input images are then generated based on the target image with identity prompts. To enhance identity and pose consistency, we use IP Adapter and ControlNet with Canny Edge of the target image. The identity preservation between the image pairs is good but still insufficient, which is further improved during the model training.
Method. We train our models through a two-stage approach, optimizing for identity preservation, precise image editing, and inference speed. In the first stage, we train iDNAT with a novel annealing identity loss, which uses the input face embedding as supervision and employs an annealing strategy to dynamically balance the identity loss and stable diffusion loss. This approach enables our iDNAT to generate high-quality images.
that maintain precise identity even better than the training data set.
In the second stage, we distill IDE net into IP net with our novel diffusion multi-objective distillation technique. During the distillation, we incorporate an adversarial loss to enhance the image quality, integrating identity distillation loss to preserve the identity, and also utilizing a phase style enhancing triplet loss to further enhance the facial style. IP net achieves faster one-step inference, higher image quality, and better facial style.
Then the teacher model IDE-NET. Experiments. We compare our IP-NET with soda models, including magic brush, instruct pixel to pixel, IP adapter with ControlNet SD1.5 and SDXL, and Instant ID. The results confirm that IP-NET surpasses soda models in face similarity, text fidelity, and image quality.
We also run multiple ablation experiments and demonstrate the progressive improvement over model training and distillation.
We evaluate IDENet using constant identity loss, SID loss, and annealing identity loss, ADE loss. The config illustrates that while both SID loss and ADE loss preserve identity pretty well, ADE loss achieves better text fidelity with a stronger facial style than SID loss. This observation confirms the effectiveness of the annealing algorithms of ADE loss in balancing identity preservation and facial style.
We validate the effectiveness of identity distillation loss through multiple experiments. First, the image B with adversarial loss and distillation loss substantially improves identity preservation over the image A with adversarial loss alone. Second, we verify the effectiveness of DDIM inversion of distillation loss by comparing it to the conventional SDS loss. The image B from identity distillation loss is sharper and more aligned with instructions.
with instructions in the image C from SDS loss, with minimal impact on identity preservation. Moreover, we delve deeper into why distillation loss with DDIM inversion generates superior images over SDS loss. Specifically, the image D illustrates that the DDIM inversions deterministic sampling generates clearer and more accurate noisy latent codes, than SDS loss's stochastic sampling. This clarity leads to improved output quality of IDENET.
net as depicted in the image e to evaluate the effect of face style enhancing triplet loss triplet loss on facial style we compare models trained with and without triplet loss the config shows that triplet loss effectively accentuates instructed facial features such as glasses while maintaining identity we conclude that the iterative inference effectiveness on style boost based on the qualitative comparison
We validate the effectiveness of multi-object distillation based on that comparison that the image B generated by IPNet have superior facial style over image A generated by IDNet. Additionally, we perform an experiment on multi-object distillation using different IDNets. As depicted in images C and images D, a well-performing IDNet teacher model retains high face similarity, significantly boosting the identity preservation capabilities.
of the student model IPNet during model distillation. Furthermore, in the images e, we observe that distillation in pixel space achieves slightly better facial style over latent space with the same IDNet.
