UniF$^2$ace: A $\underline{Uni}$fied $\underline{F}$ine-grained $\underline{Face}$ Understanding and Generation Model

Junzhe Li, Sifan Zhou, Liya Guo, Xuerui Qiu, Linrui Xu, TingTing Long, Chun Fan, Ming Li, Hehe Fan, Jun Liu, Shuicheng Yan

In the rapidly evolving world of Unified Multimodal Models (UMMs), "any-to-any" frameworks have mastered general image understanding and generation. However, when it comes to the most important subject in human history—the human face—these generalists often stumble. They might get the hair color right but miss the "slightly receding hairline" or the "ornate hoop earrings."

A new paper, UniF$^2$ace, introduces the first unified model specifically tailored for fine-grained face understanding and generation. By combining a novel diffusion loss with a specialized Mixture-of-Experts (MoE) architecture, the researchers have bridged the gap between seeing a face and creating one, all while capturing the subtle details that make us human.

What Problem Does This Paper Address?

Existing research in the face domain suffers from two major issues:

  1. Fragmentation: Most models are specialists. You have one model for face recognition/understanding (like MLLMs) and another for generation (like Stable Diffusion). This prevents the development of a truly "human-centric" Artificial General Intelligence (AGI) that can reason about a face and then modify or generate it based on that reasoning.
  2. The "Coarse-Grain" Gap: General models often use web-scraped data with short, noisy captions. Consequently, they fail to capture fine-grained attributes—the specific shape of an eyebrow, the texture of skin, or specific jewelry—which are critical for high-fidelity applications like virtual avatars or identity verification.
Comparison of UniF²ace with specialized models

Methods

The authors introduce two primary technical innovations to solve these problems:

UniF²ace Architecture and D3Diff Loss

1. Dual Discrete Diffusion (D3Diff) Loss

Standard generative models often rely on either masked modeling (predicting hidden tokens) or score matching (denoising). The authors theoretically prove that discrete score matching provides a tighter upper bound on the negative log-likelihood than masked modeling alone. Their D3Diff loss unifies these two approaches, allowing the model to approximate the data distribution more precisely. This leads to significantly better synthesis of fine-grained details that align perfectly with complex text prompts.

2. Multi-Level Grouped Mixture-of-Experts (MoE)

As models learn, they often suffer from "attribute forgetting," where subtle details are discarded in favor of general features. To combat this, UniF$^2$ace uses a two-tier MoE:

  • Token-Level MoE: Routes individual tokens to task-specific experts (e.g., separate experts for understanding vs. generation).
  • Sequence-Level MoE: This adaptively injects holistic features—like CLIP semantic embeddings and InsightFace identity embeddings—directly into the sequence. This ensures the model retains a "memory" of the specific identity and fine-grained attributes throughout the processing layers.

Datasets: UniF$^2$aceD-1M

The researchers realized that you cannot learn fine-grained details from coarse data. They constructed UniF$^2$aceD-1M, a massive, high-quality dataset:

  • 130K Image-Caption Pairs: High-resolution images with an average of 120 tokens per caption (compared to just 16-22 in standard datasets).
  • 1M VQA Pairs: Specifically designed to probe facial appearances, emotions, and reasoning about actions.
  • Attributes: It covers 46 distinct facial attributes, averaging 17.7 attributes per caption—a massive leap over the 2-7 attributes found in existing datasets like CelebA-HQ.

Key Insights and Results

Despite having only 1.8 billion parameters, UniF$^2$ace punches well above its weight class:

  • Understanding: It outperformed much larger models like InternVL2.5 (8B) and Qwen2-VL (7B) on face-specific benchmarks, achieving a 7.1% higher Desc-GPT score.
  • Generation: In text-to-image tasks, it achieved a 6.6% higher VQA-score (measuring how well the image matches the prompt) and a significantly lower FID (indicating higher image quality/realism) than competitors like SD3 and JanusFlow.
  • Identity Preservation: By using a sequence-level MoE to inject identity features, the model avoids the common pitfall where a generated face looks "generic" rather than matching the specific description provided.

Limitations and Future Work

While UniF$^2$ace is a major step forward, the architecture suggests a few areas for growth:

  • Scaling: The current model is 1.8B parameters. Scaling this architecture to 7B or 30B could potentially unlock even deeper reasoning capabilities.
  • Temporal Consistency: The current framework is image-based. Extending these fine-grained capabilities to video (e.g., consistent facial expressions across frames) is the next logical frontier.

Paper Citation: Junzhe Li, et al. "UniF$^2$ace: A Unified Fine-grained Face Understanding and Generation Model." ICLR 2026.

Summary updated

BibTeX
@inproceedings{li2026unif,
  author = {Junzhe Li and Sifan Zhou and Liya Guo and Xuerui Qiu and Linrui Xu and TingTing Long and Chun Fan and Ming Li and Hehe Fan and Jun Liu and Shuicheng YAN},
  title = {{UniF$^2$ace: A $\textbackslash\{\}underline\{Uni\}$fied $\textbackslash\{\}underline\{F\}$ine-grained $\textbackslash\{\}underline\{Face\}$ Understanding and Generation Model}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=LV01JdxARe},
}
Figure