TL;DR
AdaptDiff introduces a dynamic, time-varying negative guidance scheme for identity-conditioned face synthesis in diffusion models. By progressively increasing the strength of negative conditioning over the generation trajectory, it allows the model to freely explore diverse facial attributes early on while strictly enforcing identity consistency later, yielding superior synthetic datasets for training face recognition systems.
What Problem Does This Paper Address?
Training state-of-the-art face recognition (FR) models requires massive datasets labeled with distinct identities. Using authentic human face datasets raises severe privacy, consent, and data protection concerns. While synthetic data generated by Diffusion Models (DMs) offers a privacy-preserving alternative, existing models struggle with a fundamental trade-off: identity consistency vs. intra-class diversity.
To keep generated faces looking like the same person across multiple samples, recent methods like NegFaceDiff introduce a fixed "negative identity condition" via classifier-free guidance (CFG) to push the model away from unwanted traits and other identities. However, applying a strong, fixed negative condition throughout the entire generation process restricts the model's freedom to explore the latent space during early stages, severely limiting the diversity (e.g., variations in expression, lighting, or pose) of the generated faces.
Methods
AdaptDiff addresses this limitation by dynamically adjusting the negative guidance strength ($w$) during the sampling trajectory instead of keeping it constant.
The modified classifier-free guidance formulation incorporates both a positive identity condition ($p^+$) and a negative identity condition ($p^-$):
$$\hat{\epsilon}_\theta(x_t, t, p^+, p^-) = (1 + w)\epsilon_\theta(x_t, t, p^+) - w\epsilon_\theta(x_t, t, p^-)$$
Rather than fixing $w$, AdaptDiff employs a linear schedule:
$$w = w_{max} \times \left(1 - \frac{t}{T}\right)$$
As shown in the scheduling comparison below, at the start of the denoising process ($t \to T$), $w$ is close to 0. This gives the model maximum freedom to explore the identity space and introduce diverse intra-class variations. As the process approaches the final steps ($t \to 0$), $w$ scales up to its maximum value ($w_{max}$), strictly enforcing identity consistency and maximizing the separation between different individuals.
Datasets
The authors pre-trained their base diffusion models on two prominent face datasets:
- FFHQ (Flickr-Faces-HQ)
- CASIA-WebFace (C-WF)
To evaluate the performance of FR models trained on their synthetic data, they utilized several standard benchmarks:
- LFW (Labeled Faces in the Wild)
- AgeDB-30
- CA-LFW (Cross-Age LFW)
- CFP-FP (Celebrities in Frontal-Profile in the Wild)
- CP-LFW (Cross-Pose LFW)
- IJB-C (IARPA Janus Benchmark–C), a large-scale verification benchmark.
Key Insights and Ideas
- Temporal Role of Identity: The core "aha moment" is realizing that identity information is not uniformly distributed across the denoising timeline. Early on ($t \to T$), the latent variable $x_t$ contains mostly noise and very little identity structure. Forcing strict negative constraints here is counterproductive, limiting diversity without aiding identity retention.
- Unlocking Higher Guidance Magnitudes: In fixed-guidance setups, setting $w=1.0$ causes a massive drop in performance because it over-constrains the model from the very first step. Because AdaptDiff delays the onset of strong guidance, it can safely use a higher peak magnitude ($w_{max}=1.0$) to achieve tighter identity enforcement at the end of the trajectory without sacrificing early-stage exploration.
Key Results
- Ablation Superiority: While NegFaceDiff's performance degrades sharply when moving from a fixed $w=0.5$ to $w=1.0$ (average accuracy dropping from 85.22% to 78.79%), AdaptDiff thrives at $w_{max}=1.0$, achieving its highest average accuracy of 85.62% (Table 1).
- Identity Separability: AdaptDiff significantly reduces the overlap between genuine (same identity) and impostor (different identity) score distributions. On the FFHQ-trained model, AdaptDiff achieved an Equal Error Rate (EER) of 0.037, outperforming NegFaceDiff (0.048) and IDiff-Face (0.118).
- Downstream FR Performance: When training an FR model on synthetic data generated from an FFHQ-based DM, AdaptDiff outperformed previous state-of-the-art approaches across small-scale benchmarks and delivered substantial gains on the challenging IJB-C verification dataset.
Limitations and Future Work
The authors note that the performance improvements were less pronounced when using a base diffusion model pre-trained on CASIA-WebFace (C-WF) compared to FFHQ. This occurs because C-WF already possesses high intra-identity variation by default. Consequently, the relative impact of AdaptDiff's early-stage diversity preservation is somewhat diminished in this setting. Future work could explore non-linear scheduling functions (e.g., exponential or cosine curves) to optimize exactly when negative guidance is introduced during sampling.
Summary updated