Abstract
MagiCapture is a novel personalization framework for text-to-image models designed to generate high-resolution portraits by combining a specific subject identity with a target style. By introducing an Attention Refocusing (AR) loss and a composed prompt learning strategy, the method overcomes common challenges in multi-concept customization, such as identity shift and visual artifacts.
Introduction
While large-scale diffusion models like Stable Diffusion excel at general image generation, personalizing them to a specific person's face or a unique artistic style remains difficult. The challenge is amplified in multi-concept customization, where a model must learn both a subject and a style simultaneously. Without ground-truth images of the specific subject in the target style, existing methods often suffer from "identity shift"—where the subject loses their likeness—and "information leakage," where facial features and background elements blend unnaturally.
Methodology
MagiCapture utilizes a multi-pronged optimization approach to ensure high-fidelity results. The framework employs a Two-Phase Optimization strategy: first optimizing text embeddings for unique tokens ([V1] for the subject and [V2] for the style), followed by fine-tuning the UNet's projection layers using LoRA (Low-Rank Adaptation).
To prevent the model from associating the subject's identity with their original background, the authors use Masked Reconstruction, focusing the subject token learning strictly on the facial region. The core innovation, Attention Refocusing (AR) Loss, forces the model’s cross-attention maps to remain within intended regions. This prevents the subject token from attending to the background during generation, significantly reducing the "uncanny valley" artifacts common in AI-generated portraits.
Key Results and Evaluation
The researchers evaluated MagiCapture against industry standards like DreamBooth and Custom Diffusion using a dataset of 100 ID-style pairs. Quantitative metrics showed that MagiCapture significantly outperformed baselines in CSIM (facial identity preservation) and Aesthetic Score.
Qualitatively, MagiCapture's outputs resemble professional photography, avoiding the distortions typical of few-shot methods. In a user study with 30 participants, the framework was ranked highest across all categories: identity preservation, style similarity, and overall image fidelity. The pipeline concludes with super-resolution (Real-ESRGAN) and face restoration (CodeFormer) to ensure the final output is commercially viable.
Conclusion
MagiCapture effectively addresses the disentanglement problem in multi-concept customization. While it remains subject to the inherent biases and anatomical limitations of its base model (Stable Diffusion v1.5), it provides a robust foundation for high-resolution, personalized portrait generation. Future work will focus on mitigating model biases and improving the generation of complex human anatomy.
Summary updated