NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UIFace: Unleashing Inherent Model Capabilities to Enhance Intra-Class Diversity in Synthetic Face Recognition

Xiao Lin, Yuge Huang, Jianqing Xu, Yuxi Mi, Shuigeng Zhou, Shouhong Ding

Abstract

Training high-performance face recognition (FR) models requires massive datasets, which are often limited by privacy and legal constraints. Synthetic data offers a promising alternative but typically suffers from low intra-class diversity due to "context overfitting" in generative models. We present UIFace, a novel framework that decouples layout generation from identity refinement using a two-stage sampling strategy and an attention injection module. By leveraging the inherent creative capabilities of diffusion models, UIFace generates synthetic datasets with high diversity in poses and expressions while maintaining strict identity consistency. Our experiments show that UIFace significantly outperforms existing synthetic methods, achieving 93.27% average accuracy on standard benchmarks and nearly closing the performance gap with real-world training data.

Introduction

State-of-the-art face recognition models rely on large-scale datasets of real human faces, raising significant privacy and ethical concerns. While synthetic data generation is a potential solution, current methods often produce repetitive images for a given identity. This lack of intra-class diversity—variation in pose, expression, and lighting—results in FR models that perform poorly in real-world scenarios. This paper addresses the "diversity problem" by identifying that identity prompts in diffusion models act as a restrictive bottleneck, suppressing the model's ability to generate varied facial structures.

Methodology

UIFace introduces a two-stage approach to "unleash" the latent diversity within diffusion models:

  1. Two-Stage Sampling Strategy: The process begins with an Unconditional Stage, where the model samples using an "empty context." This allows the model to explore diverse layouts and poses without being constrained by a specific identity. In the subsequent Conditional Stage, the identity prompt is introduced to fill in fine-grained facial features.
  2. Adaptive Partitioning: Rather than using a fixed cutoff, the framework monitors temporal changes in cross-attention maps to determine the optimal moment to switch from layout generation to identity refinement.
  3. Attention Injection Module: To ensure that the diverse layout established in the first stage is preserved, spatial structure (attention maps) from the unconditional path is injected into the conditional path. A normalization-based blending technique is used to maintain identity stability without sacrificing the generated pose.
Visual samples generated by UIFace demonstrating high intra-class diversity in pose and expression for a single identity.

Experimental Results

We evaluated UIFace by training an IR50 backbone on synthetic datasets and testing on standard benchmarks including LFW, CFP-FP, and AgeDB.

Performance and Diversity

UIFace achieved an average accuracy of 93.27%, a substantial improvement over the previous state-of-the-art synthetic method, IDiff-Face (88.20%). Quantitative metrics such as LPIPS and Improved Recall confirm that UIFace produces significantly more diverse images than previous generative approaches, moving closer to the diversity levels found in real-world datasets like CASIA-WebFace.

Quantitative and qualitative comparison of UIFace against IDiff-face and real-world CASIA-Real data, showing improvements in diversity and FR accuracy.

Scaling and the Real-Data Gap

When the synthetic dataset size was increased to 1.5 million images, UIFace reached an average accuracy of 94.54%. This performance is remarkably close to the 95.05% achieved by models trained on real-world data, suggesting that synthetic data can effectively replace real data for FR training if sufficient intra-class diversity is maintained.

Conclusion

UIFace demonstrates that the bottleneck in synthetic face recognition is not the generative model's capacity, but rather the restrictive nature of identity conditioning. By decoupling layout and identity, UIFace provides a path toward high-quality, privacy-preserving training data. Future work will explore zero-real-data pipelines to further eliminate dependency on pre-trained models for identity extraction.

Summary updated

BibTeX
@inproceedings{lin2025uiface,
  author = {Xiao Lin and Yuge Huang and Jianqing Xu and Yuxi Mi and Shuigeng Zhou and Shouhong Ding},
  title = {{UIFace: Unleashing Inherent Model Capabilities to Enhance Intra-Class Diversity in Synthetic Face Recognition}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=riieAeQBJm},
}
Figure