PSTF-AttControl: Per-Subject-Tuning-Free Personalized Image Generation with Controllable Face Attributes

Xiang Li, Zhaoxiang Liu, Huan Hu, Zipeng Wang, Ping Chen, Zezhou Chen, Kai Wang, Shiguo Lian

Abstract

Recent advancements in personalized image generation have significantly improved facial identity preservation, particularly in fields such as entertainment and social media. However, existing methods still struggle to achieve precise control over facial attributes in a per-subject-tuning-free (PSTF) way. Tuning-based techniques like PreciseControl have shown promise by providing fine-grained control over facial features, but they often require extensive technical expertise and additional training data, limiting their accessibility. In contrast, PSTF approaches simplify the process by enabling image generation from a single facial input, but they lack precise control over facial attributes. In this paper, we introduce a novel, PSTF method that enables both precise control over facial attributes and high-fidelity preservation of facial identity. Our approach utilizes a face recognition model to extract facial identity features, which are then mapped into the $W^+$ latent space of StyleGAN2 using the e4e encoder. We further enhance the model with a Triplet-Decoupled Cross-Attention module, which integrates facial identity, attribute features, and text embeddings into the UNet architecture, ensuring clean separation of identity and attribute information. Trained on the FFHQ dataset, our method allows for the generation of personalized images with fine-grained control over facial attributes, while without requiring additional fine-tuning or training data for individual identities. We demonstrate that our approach successfully balances personalization with precise facial attribute control, offering a more efficient and user-friendly solution for high-quality, adaptable facial image synthesis.

Introduction

Personalized image generation—the ability to create images of a specific person in various contexts—has traditionally been divided into two paradigms, each with significant trade-offs.

Tuning-based methods (e.g., DreamBooth) offer high quality but require multiple images of the subject and minutes of computationally expensive GPU fine-tuning for every new identity. Conversely, Per-Subject-Tuning-Free (PSTF) methods (e.g., IP-Adapter, InstantID) are instantaneous, requiring only a single reference photo. However, these methods typically rely on text prompts for control, which act as "blunt instruments." Precise adjustments, such as increasing a smile by a specific percentage or subtly altering an eyelid, often fail or distort the subject's identity when using text alone.

PSTF-AttControl addresses this gap by bridging the gap between StyleGAN2’s precise latent space and the generative power of Stable Diffusion XL (SDXL), providing a "plug-and-play" solution for nuanced facial editing without per-subject training.

Methodology

The core innovation of PSTF-AttControl lies in its integration of facial attributes through a hybrid architecture that leverages both GAN-based latent spaces and Diffusion models.

The $W^+$ Latent Bridge

The system uses the e4e encoder from StyleGAN2 to map the input face into the $W^+$ latent space. This space is highly disentangled, allowing the model to move in specific mathematical directions to modify attributes (like adding a beard or changing age) without altering the underlying facial structure of the subject.

Triplet-Decoupled Cross-Attention (TDCA)

Standard diffusion models often conflate identity and text features, leading to interference during generation. To solve this, the authors propose the Triplet-Decoupled Cross-Attention (TDCA) module. This architecture treats Identity, Attributes, and Text as three independent streams. These streams are processed through separate cross-attention modules before being weighted and summed, ensuring that attribute modifications do not "leak" into and corrupt the person's identity.

The PSTF-AttControl architecture, featuring the Triplet-Decoupled Cross-Attention module and the StyleGAN2-based attribute control pipeline.

Attribute-Controlled Synthesis

To train the model to respond to $W^+$ directions, the researchers utilized StyleGAN2 to generate a synthetic dataset of edited and unedited image pairs. This allowed the Diffusion model to learn the "physics" of facial changes during its global training phase, enabling it to generalize these movements to any new face it encounters at inference time.

Datasets and Evaluation

  • Training: The model was trained on the FFHQ (Flickr-Faces-HQ) dataset, consisting of 70,000 high-quality human face images.
  • Evaluation: Quantitative benchmarking was performed using the Unsplash-50 dataset (50 portrait images with captions) to compare facial similarity and prompt adherence against state-of-the-art models.

Key Results

PSTF-AttControl was compared against leading models including InstantID, PuLID, and W+Adapter:

  • Quantitative Performance: In facial similarity tests (Cosine Similarity), PSTF-AttControl achieved a score of 0.753, outperforming InstantID (0.720) and PuLID (0.684).
  • Qualitative Fidelity: The model demonstrated smoother transitions and higher stability. For example, when modifying a photo of Albert Einstein, the model could close his eyes or change his hair color while maintaining his iconic features. In contrast, tuning-based methods like PreciseControl often produced artifacts or failed to execute the requested edits entirely.
  • Identity Preservation: As attribute intensity increases (e.g., making a subject look significantly older), PSTF-AttControl maintains a higher identity similarity score compared to standard decoupled attention methods, proving the effectiveness of the TDCA module.

Conclusion and Future Work

PSTF-AttControl demonstrates that GANs and Diffusion models are highly complementary: while Diffusion models excel at general composition and realism, GAN latent spaces ($W^+$) remain superior for structured facial manipulation. By decoupling these streams, the model achieves surgical precision in facial editing.

Future work will look to expand the attribute scope beyond the 14 categories currently supported (e.g., smile, age, beard) and explore automated methods for balancing attribute weight ($\lambda_2$) during inference to further improve image harmony without manual tuning.

Summary updated

Abstract

Recent advancements in personalized image generation have significantly improved facial identity preservation, particularly in fields such as entertainment and social media. However, existing methods still struggle to achieve precise control over facial attributes in a per-subject-tuning-free (PSTF) way. Tuning-based techniques like PreciseControl have shown promise by providing fine-grained control over facial features, but they often require extensive technical expertise and additional training data, limiting their accessibility. In contrast, PSTF approaches simplify the process by enabling image generation from a single facial input, but they lack precise control over facial attributes. In this paper, we introduce a novel, PSTF method that enables both precise control over facial attributes and high-fidelity preservation of facial identity. Our approach utilizes a face recognition model to extract facial identity features, which are then mapped into the $W^+$ latent space of StyleGAN2 using the e4e encoder. We further enhance the model with a Triplet-Decoupled Cross-Attention module, which integrates facial identity, attribute features, and text embeddings into the UNet architecture, ensuring clean separation of identity and attribute information. Trained on the FFHQ dataset, our method allows for the generation of personalized images with fine-grained control over facial attributes, while without requiring additional fine-tuning or training data for individual identities. We demonstrate that our approach successfully balances personalization with precise facial attribute control, offering a more efficient and user-friendly solution for high-quality, adaptable facial image synthesis. The code is publicly available at https://github.com/UnicomAI/PSTF-AttControl.
BibTeX
@article{li2025pstf,
  author = {Xiang Li and Zhaoxiang Liu and Huan Hu and Zipeng Wang and Ping Chen and Zezhou Chen and Kai Wang and Shiguo Lian},
  title = {{PSTF-AttControl: Per-Subject-Tuning-Free Personalized Image Generation with Controllable Face Attributes}},
  journal = {Image and Vision Computing},
  year = {2025},
  doi = {10.1016/j.imavis.2025.105790},
}
Figure