DCFace: Synthetic Face Generation with Dual Condition Diffusion Model
- Publication
- CVPR 2023Conference
- First submitted to arXiv
- arXiv:2304.07060
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{facerecognitiondcface2023,
title = {{DCFace: Synthetic Face Generation with Dual Condition Diffusion Model}},
author = {Minchul Kim and Feng Liu and Anil Jain and Xiaoming Liu},
year = {2023},
eprint = {2304.07060},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2304.07060}
}
How many faces do you need, at the very least, to train a face recognition model?
CASIA-WebFace, which turns up often in the earlier notes on this site, is the entry-level option, with about 10K people and 490K photos, 47 per person on average. These are celebrity photos crawled from the web, and nobody asked the people in them whether they'd let their faces be used to train models. The larger MS-Celeb-1M was taken down by Microsoft in 2019.
So draw them yourself. Use a generative model to make a batch of people who don't exist anywhere in the world, generate dozens of photos of each from different angles, under different lighting and with different expressions, assign the labels yourself, and nobody needs to sign a consent form.
The trouble is that looking like a real person is only the first step. Recognition models trained on this kind of data have always lagged far behind those trained on real data. The best synthetic dataset before this paper, DigiFace-1M, trained on 500K images, averages 83.45% across five verification sets; CASIA-WebFace of the same size gets 94.62%.
This paper comes from Michigan State University, by Minchul Kim, Feng Liu, Anil Jain and Xiaoming Liu. The first author had finished AdaFace just a year before, and this time moved over to the data side. They split "making a face" into two conditions, an ID image that decides what this person looks like and a style image that decides how the photo is taken, and then use a diffusion model to combine the two; the DC in the model's name, DCFace, stands for dual condition.
Defining the Problem
What a good training set needs
Face recognition training is usually framed as classification. The training set has people, and the model's last layer holds one class center for each of them (a 512-dimensional weight vector); a margin-based loss pulls each face's feature toward its own class center and pushes it away from everyone else's. After training, this layer is thrown away and only the features output by the backbone are kept. At test time the model faces people it has never seen and compares the cosine similarity of two faces' features; 1:1 verification asks whether two faces are the same person, and 1:N identification takes one face and finds the most similar person in a database.
Within this framework, the authors list three things a good training set needs:
- Large inter-class variation: there have to be enough people, and they have to really differ from each other. If "No. 17" and "No. 523" actually look identical but the loss insists on pushing their features apart, the model can only memorize the background or the clothes.
- Large intra-class variation: the same person needs photos in profile, backlit, wearing glasses and older, for the model to learn to ignore these factors.
- Consistent labels: what's under one label has to really be one person. If No. 17's 50 photos actually mix two people, the class center will land between them.
The authors turn this into three questions a synthetic dataset has to answer: how many distinct people it can make (uniqueness), how much the photos' styles resemble real training data (diversity), and whether the photos under one label are the same person (consistency).
Each predecessor missed a piece
The two representative works of the time each took care of only one of these.
SynFace uses DiscoFaceGAN as its generator, a GAN that can control identity, expression, lighting and pose separately. The faces it generates are very realistic, but when the authors actually counted, DiscoFaceGAN could produce fewer than 500 distinct people (how they counted comes later). Make 10K labels with it, and many of the labels are really the same face.
DigiFace-1M takes another route, rendering with a 3D parametric face model plus heavy image augmentation. A 3D model can swap face shapes at will, so the number of people is no problem and pose is fully controllable; but the rendered skin texture and lighting are a long way from real photos.
In the 500K-image setting, the two average 74.75% and 83.45% across the five verification sets.
These five verification sets will keep coming up. All of them are 1:1 verification. LFW has 6,000 photo pairs split into 10 folds, with a threshold picked on 9 folds and accuracy computed on the remaining one, rotating 10 times and averaging; CFP-FP compares frontal faces against profiles, CPLFW is an LFW variant deliberately picked for large pose differences, and AgeDB and CALFW test age gaps. The photos in these sets are all fairly sharp, and large models trained on large real datasets already average around 97% across the five, with the hardest, CPLFW, at about 93.5%.
So is there a way of generating faces that controls how many people there are and what style the photos have, while keeping each label the same person throughout?
Solving the Problem
Adding and removing noise in diffusion models
Both of DCFace's generators are diffusion models (DDPM).
Training a diffusion model starts from "adding noise to a clean image step by step." Step adds a little Gaussian noise to the previous step's image, the paper's Eq. (1):
is a small number on a preset schedule. Chaining the steps together, step can be written directly from the original image in one go:
falls all the way from 1 to near 0. Take a time step in the middle, say ; then , so only half of the original signal is left, under a layer of noise stronger than it. By the last step (DCFace uses ), is almost 0 and the image is pure noise.
The model has to learn the reverse direction. Given the noised and the time step , the network has to guess the noise that was added, trained with an L2 loss (the paper's Eq. (2)):
Generation starts from pure noise and subtracts a little of the predicted noise at each step, gradually denoising its way to an image. DCFace generates its datasets with DDIM sampling, using 200 steps.
Rearranging the earlier equation also lets you estimate the original image directly from any time step, the paper's Eq. (7):
With the same example, . The more accurately the network guesses the noise, the closer this one-step estimate is to the original. When is large, the network can only make a rough guess, and is a blurry average face; when is small, it's nearly the original. The ID loss later on acts on this .
Why diffusion models
The authors first compared how many distinct people two kinds of generator can make.
The method is a greedy count. Feed 10K generated faces into a recognition model (IR101, trained with the AdaFace loss on WebFace4M) to get features, then check them one by one; if a face's cosine similarity with every face kept so far stays at or below the threshold, it counts as a new person, otherwise as a duplicate. The number kept at the end is the number of distinct people (the paper's Eq. (11)). The threshold is a cosine similarity of 0.3, taken from the verification threshold of 0.308 at which holds the false accept rate to one in ten thousand on IJB-B. The higher the threshold, the more alike two faces have to be to count as duplicates, and the more people get counted.
Both generators are trained on FFHQ (70K high-quality Flickr portraits without identity labels), and each generates 10K images. At the 0.3 threshold, DDPM has about 7,000 distinct people and DiscoFaceGAN fewer than 500. In the appendix, generating 200K images gives about 60K distinct people, and the curve still hasn't saturated.
So both generators are DDPMs. , which makes the people, simply uses the public unconditional FFHQ DDPM without any further training (the official code is adapted from the ILVR project, and the weight file is the 256×256 ffhq_10m.pt).
Two stages: first decide who, then decide how the photo is taken

Read it from left to right.
Stage one: sampling. generates a new person's face from noise, and this ID image decides what person A looks like. On the other side, a style image is chosen from the style bank, which is just the real photos of the CASIA-WebFace training set, with B being some celebrity in CASIA.
Stage two: mixing. The dual condition generator takes in both images and produces a face of "person A, shot the way B's photo was shot." Pose, expression, lighting, image quality and accessories come from B's photo; the looks are A's, and so is the label.
Pair the same with 50 different style images and you get 50 photos of A; use 10K ID images and it's a dataset of 10K people. The number of people is controlled by stage one, the style by the style bank, and label consistency depends on whether can hold on to A's looks.
Training without a ground truth
What has to learn is . Trained as ordinary supervised learning, each example would need three images: A's face, B's photo, and "a photo of A taken the way B's was." The third doesn't exist in any dataset.
The authors take a step back and use two photos of the same person instead. From CASIA-WebFace they take a clear frontal photo of A as and another photo of A as , and ask the model for . All three images are easy to come by in a labeled dataset.

(a) is the training procedure. The target image is itself; it is noised into and fed to the U-Net, the two condition images go through their own encoders and are injected into the network, and the network predicts the noise the way diffusion models do.
Training this way leaves a very easy cheat open. The target is , and is also an input, so the model can ignore entirely and just copy the style image. The training loss looks great, and then at generation time, given A's face with B's photo, out comes B.
The authors close this path with two components. One keeps the style path from carrying the full identity information, and the other adds a loss that forces the model to take identity from ; these are the patch-wise style extractor and the identity loss whose weights move with the time step, described below.
A style extractor that blocks identity

How should style be represented? The experience from the StyleGAN line of work is that the first- and second-order statistics of a feature map (mean and standard deviation) represent an image's style very well. But averaging over the whole feature map throws away the spatial information along with it, and which way the face is turned and which side the light comes from both live in space.
The authors' compromise is to cut the feature map into a grid and take statistics in each cell separately. Walking a style image through it, with the settings of the official code:
- Input: , an aligned 112×112 face.
- Shallow features: fed into , a pretrained recognition model with frozen weights (officially an IR50 trained with AdaFace on CASIA-WebFace), taking only the output of its early layers, which gives a 56×56×64 feature map . Freezing it is deliberate; if could train too, it would learn to smuggle identity information through.
- Nonlinear mapping (Eq. (3)): , with a 1×1 convolution expanding the channels to 512, giving 56×56×512.
- Gridding: at , 56 isn't divisible by 5, so the official code first interpolates the feature map to 55×55, with 11×11 positions per cell, corresponding to a patch of about 22×22 pixels in the original image.
- Statistics (Eq. (4)): for each cell and each channel, compute the mean and the standard deviation , each 512-dimensional.
- Combine into one vector (Eq. (5)):
and are learnable per-channel weights, and is a position embedding that lets the model tell whether a cell is the upper left corner or the chin.
- Output (Eq. (6)): one vector for each of the 25 cells, plus a global vector with , for in total.
A cell of 11×11×512 features ends up as just 512 numbers. These numbers can say "this patch is darker," "there's the edge of a glasses frame here," or "the cheek on this side is wider, so the face is probably turned to the right," but details like the curve of the eye corners or the shape of the nostrils have a hard time surviving in the mean and standard deviation of a region. controls this trade-off. The larger , the smaller the cells, the more spatial detail survives, and the more easily identity leaks through. The ablations later show that at , enough leaks through to ruin the whole dataset.
The official code differs slightly from the paper here. In ExternalMappingV4Dropout, patch_var is written as patch_mean - AvgPool(feature**2), which computes ; the paper says standard deviation, and the variance would be . (off by one square and one minus sign) It is still a combination of first- and second-order statistics, followed by learnable weights, so the model still gets the second-order information; just don't read it as the variance when going through the code.
The identity path and condition injection
The identity encoder is a trainable ResNet50, trained end to end together with the denoising network. It takes two kinds of output, a 7×7×512 intermediate feature map flattened into 49 vectors, plus the final 512-dimensional feature vector, for 50×512 in all, again with a position embedding added.
Concatenating the outputs of the two paths gives vectors of 512 dimensions. They enter the U-Net in two ways:
- Cross-attention: the U-Net's intermediate features serve as queries, and the keys and values are "the U-Net features themselves" concatenated with "these 76 condition vectors." At every position, the U-Net can look up whether the conditions hold the information it needs. This injection is placed only in the U-Net's last two downsampling residual blocks.
- Time-step embedding: the identity feature vector is added directly to the time-step embedding and, through AdaGN, scales the output of each residual block, giving identity one more path to influence the output.
's weights are initialized from ; it already knows how to draw faces, it just doesn't listen to conditions yet.
An identity loss that slides with the time step
With MSE alone, the model can still slack off. The authors want a loss that directly checks "is the generated face A?" This is where the one-step estimate from earlier comes in. Another pretrained recognition model (also an IR50 on CASIA-WebFace, and a different model from used for evaluation) extracts features, and their cosine similarity is computed.
The most direct form is to require to look like the ID image, Eq. (8):
The problem is that isn't fully immune to style. is a clear frontal photo, and the easiest way to minimize this term is to draw clear and frontal as well. That pulls against MSE's demand to reconstruct the way was shot, and the authors observed generation quality getting worse as a result, with style diversity eaten away too.
Going the other way, require to look like the style image, Eq. (9):
During training and are the same person, so this term looks harmless, but it encourages the model to take identity from the style image, which is exactly the cheat from before. At generation time, with A's face and B's photo, the identity drifts toward B.
The authors' answer is to use both, with weights that move with the time step, Eq. (10):
Plug in three time steps:
- : , so ninety percent of the weight asks to look like the ID image. At this point is nearly pure noise and the network has only the conditions to go on, so the best thing it can do is put up the outline of A's frontal face first.
- : half and half.
- : , so ninety percent asks it to look like the style image. By now already keeps most of the composition, and the network's job is to fill in pose, lighting and image quality to match .
During training the two images are the same person, so the two targets agree on identity and differ only in style, and this interpolation doesn't teach the model the wrong identity. At generation time, with A's face and B's photo, the same division of labor turns into drawing A first and then applying B's way of shooting. The appendix lays out the trained model's one-step estimate at each time step:

Denoising runs from right to left. At the far right, near , the estimate is oversaturated and heavily noisy, but it's already a frontal face with features close to ; moving left, the face gradually turns to the style image's angle and takes on its hairstyle, lighting and background color, and at it's the final output. It's clearest in the first row. The style image is a woman turned to the side against a pink background, the ID image is a man facing forward, and the final output keeps the side angle and the pink background, with the face swapped for the person in the ID image.
The total loss is with , which balances the scales of the L2 loss and the cosine similarity.
Choosing ID images and style images
ID images. first generates 200K images; the ones wearing sunglasses are removed, then the ones with similarity above 0.3 to anyone in CASIA-WebFace, leaving 105,446. The greedy method from before then deduplicates them, keeping 42,763 faces that are all distinct from each other.
also inherits FFHQ's demographic distribution. Using an ethnicity classifier, the authors estimate that about 66% of the generated faces are white and 21% Asian, with Black and Indian faces under 5% each; CASIA-WebFace is 63%, 14%, 7% and 7% (per Table 1 of the paper). So there are two ways to pick ID images, randomly (random) or balanced by gender and ethnicity (balance).
Style images. Each ID image is paired with CASIA photos at random (random), or only with photos of the same gender and ethnicity (match).
Oversampling. Synthetic data has worse label consistency than real data, so the authors put 5 extra copies of itself under each label, letting the recognition model see this person's clearest frontal face a few more times.
How to measure a synthetic dataset
Comparing by final recognition accuracy only tells you which dataset is better, not where it's better. The authors define three more quantities, the first two computed with 's features:
- (uniqueness): first compute the mean feature of all the images under each label as the class center, run the greedy deduplication from earlier on the class centers, and divide the number of distinct classes by the total number of classes. 1 means every label is a different person.
- (consistency), Eq. (13): the fraction of images whose features are close enough to their own class center (again judged by the threshold ), averaged over all classes. Higher means the images under one label look more like the same person.
- (diversity), Eqs. (14)(15): switch to the feature space of an ImageNet-pretrained Inception, which measures the look of the picture rather than identity. For one label, draw a ball around each generated image with a radius equal to its distance to its -th nearest generated image, and see what fraction of the real images fall inside these balls. If the generated images' styles are monotonous, the balls are small and real photos mostly fall outside.
Consistency and diversity pull against each other. Generate nothing but frontal ID photos, and consistency is perfect while diversity is very low; let the style image dominate everything, and diversity is very high while identity falls apart.

This figure places five synthetic datasets on the consistency-diversity plane; the bigger and darker the circle, the more accurate the recognition model trained on that dataset. SynFace and DigiFace crowd into the lower right corner, with consistency near 1 and diversity only 0.13 and 0.30. DCFace's three grid sizes move toward the upper left, and the one is the largest, with consistency 0.90 and diversity 0.77. Going further up and left to , diversity gains only a little while consistency drops to 0.59, and the model fails to train outright (the Acc 0.5 on the plot means 50%, which is random guessing).
Training setup
- Generator: is trained on CASIA-WebFace, split 95% for training and 5% for validation, with the validation set kept as the real reference for the three metrics above. 10 epochs, batch 256, AdamW, learning rate 0.001, 8 hours on two A100s; the learning rate in the official
train.shis1e-04. All images are 112×112. - Generation: DDIM with 200 steps; 500K images take about 20 hours on one A100.
- Recognition model: for a fair comparison with DigiFace and SynFace, it follows their training settings, an IR-SE-50 backbone with the AdaFace loss, and verification accuracy is computed on LFW, CFP-FP, CPLFW, AgeDB and CALFW.
- Ablation scale: 10K people with 50 images each, close to CASIA-WebFace in image count; the three metrics use 500 people with 20 images each from the CASIA validation set.
Discussion
Ablations: grid size and identity loss
Grid size first, with every setting using and the IR50 :
| Setting | Avg. acc. | ||
|---|---|---|---|
| SynFace | 0.9966 | 0.131 | 74.75 |
| DigiFace | 0.9973 | 0.297 | 83.45 |
| 0.9987 | 0.442 | 79.28 | |
| 0.9809 | 0.703 | 85.79 | |
| 0.9035 | 0.773 | 89.04 | |
| 0.5937 | 0.795 | 50.00 |
Compiled from Table 2 of the paper; average accuracy is the mean over the five verification sets, and 50.00 means the recognition model's training diverged.
takes only one global statistic. Consistency is the highest and diversity only 0.44, the generated photos are almost all shot the same way, and accuracy is 79.28%, even lower than DigiFace. As the cells get smaller, diversity keeps rising and consistency keeps falling, and lands at the compromise between the two, 3.25 percentage points above . The 49 cells of can already carry over the looks of the style image's owner; consistency collapses to 0.59, about forty percent of the images are too far from their own class center, and the recognition model can't learn.
Then the identity loss, with fixed:
| Loss | Avg. acc. | ||
|---|---|---|---|
| 0.9996 | 0.655 | 84.75 | |
| 0.8046 | 0.784 | 50.00 | |
| 0.9035 | 0.773 | 89.04 | |
| , stronger | 0.9197 | 0.772 | 89.89 |
Compiled from Table 2 of the paper.
The results match the reasoning above. Asking only to look like the ID image gives near-perfect consistency, with diversity dropping from 0.773 to 0.655; asking only to look like the style image makes the identity follow the style image, and training diverges. Interpolating over time steps gets both, 4.29 percentage points above .
The last row swaps the used by the ID loss for a model trained on WebFace4M (about 200K people and 4.2 million images), and average accuracy rises another 0.85. The generator never sees a single WebFace4M image; it is only supervised by a better recognition model. To keep the comparison with CASIA-WebFace fair, the authors don't use it in later experiments.
The appendix also tried classifier-free guidance, common in diffusion models; with the same patch-wise extractor, adding CFG gives 84.05%, and adding instead gives 89.56%.

Pair the same ID image with the same row of style images, and the differences among the four grid sizes are obvious at a glance. In the row nearly every image is the same smiling frontal face with only the color tone changed; the row follows the style images, getting darker, putting on sunglasses, turning into profile, aging and wearing a hat, while the face shape still reads as the same person; the row is almost identical to the style images at the bottom and is no longer .
In the top two rows, SynFace changes only the expression, and DigiFace's faces look obviously rendered.
The effect of sampling strategy
The sampling ablations all show small differences (10K people, 50 images each). Picking ID and style images at random gives 89.04%; the various combinations of gender-ethnicity balancing and style matching land between 88.77% and 89.12%, with no clear gain; oversampling on top gives 89.56%, and the main results all use this setting.
Against SynFace and DigiFace
First, the same-scale comparison at 500K images, 10K people with 50 each:
| Dataset | LFW | CFP-FP | CPLFW | AgeDB | CALFW |
|---|---|---|---|---|---|
| SynFace | 91.93 | 75.03 | 70.43 | 61.63 | 74.73 |
| DigiFace | 95.40 | 87.40 | 78.87 | 76.97 | 78.62 |
| DCFace | 98.55 | 85.33 | 82.62 | 89.70 | 91.60 |
| CASIA | 99.42 | 96.56 | 89.73 | 94.08 | 93.32 |
Compiled from Table 4 of the paper; verification accuracy (%). The CASIA row is the real CASIA-WebFace data, 0.49M images of about 10.5K people.
DCFace wins four of the five sets, with an average 6.11 percentage points above DigiFace. The biggest gaps are on the two age sets, +12.7 on AgeDB and +13.0 on CALFW; 3D rendering has a hard time producing realistic aging. The only loss is CFP-FP (85.33 vs. 87.40), a test of frontal faces against extreme profiles. A 3D model can turn the head as far as it likes, while DCFace can only borrow poses from CASIA's photos, and the authors also list the lack of 3D consistency among their limitations.
Then scaling up:
| Dataset | Images | Avg. | Gap to real |
|---|---|---|---|
| DigiFace | 1.2M | 86.37 | 9.55% |
| DCFace | 1.0M | 90.86 | 4.14% |
| DCFace | 1.2M | 91.21 | 3.74% |
Compiled from Table 4 of the paper; DigiFace 1.2M is 10K people × 72 images plus 100K people × 5, DCFace 1.0M is 20K people × 50, and 1.2M adds 40K people × 5 on top. The gap is defined as (real − synthetic) / synthetic, with the real data taken as CASIA-WebFace's 94.62.
At 500K images, DCFace's gap is 5.65% and DigiFace's 13.39%, which the authors describe as a 57% reduction. Doubling the data to 1 million images adds 1.3 to the average; adding another 40K identities with 5 images each, up to 1.2 million images, adds only another 0.35. The 1.2M version uses 60K identities in all, more than the 42,763 ID images left after the earlier deduplication, and the paper doesn't explain how the extra identities were chosen.
The appendix also merges DCFace and DigiFace directly into 2.4 million images, averaging 93.06%, higher than either one alone.
Harder tests
The five verification sets are all sharp photos. The appendix includes just one line of harder results. IJB-B mixes still photos and video frames and reports TAR@FAR=, meaning the threshold is set so that only one in ten thousand pairs of different people is falsely accepted, and then the fraction of same-person pairs that pass is measured; DCFace gets 75.12% here, and 41.66% Rank-1 on the low-resolution TinyFace, with no CASIA comparison under the same settings.
More than a year later, Vec2Face (ICLR 2025) reused the DCFace paper's five-set numbers in its comparison table (average 89.56%) and retrained recognition models to add IJB, getting 66.47% on IJB-B and 69.92% on IJB-C. In the same table, the model the Vec2Face authors trained on CASIA-WebFace scores 94.79%, 78.71% and 83.44%. On sharp photos DCFace is about 5 percentage points behind real data; on IJB, with its mix of still photos and video frames, the gap widens to 12 to 14 points.
Do the synthetic people really not exist?
One of DCFace's selling points is sidestepping the privacy problems of real people, and later research has called this into question.
The most direct challenge comes from Hatef Otroshi Shahreza and Sébastien Marcel at the Idiap Research Institute in Switzerland, "Unveiling Synthetic Faces: How Synthetic Datasets Can Expose Real Identities" (arXiv, October 2024; the NeurIPS 2024 workshop on adversarial machine learning). They compared every image of six synthetic datasets, one by one, against the training data of each dataset's generator, and in DCFace-0.5M the top 100 most similar pairs were already enough to find leaked examples. The paper's conclusion calls out DCFace by name, saying the cleaning in its §3.3, which filters out ID images too similar to CASIA with a similarity threshold, isn't enough to prevent identity leakage. An ICML 2025 paper from the Idiap team puts it even more strongly in its appendix, saying DCFace "has almost memorized several samples."
Looking back at DCFace's design, this isn't surprising. The filter only acts on the ID images of stage one, yet every synthetic image is conditioned on a real CASIA photo for its style, and itself was trained on CASIA. In the ablations, the finer the grid, the lower the consistency, and at the person in the style image is copied almost wholesale, which shows the style path can indeed carry identity through; only suppresses it to an acceptable level. The check the authors did in the appendix compares all generated images against CASIA-WebFace at the 0.3 threshold, with a false match rate of 0.0026%; that is an average, while the Idiap paper digs out the handful of most similar pairs.
There are also checks with the opposite result. Vec2Face, using a similarity of 0.7 as the same-person threshold, found no identity leakage in DCFace; but it compared against the identities of WebFace4M, not against CASIA-WebFace, which is what DCFace's generator actually saw.
This also affected DCFace's standing in competitions. FRCSyn at WACV 2024 was the first competition on training face recognition with synthetic data, and entrants could only choose between two datasets, DCFace and GANDiffFace. A few months later, the SDFR competition at FG 2024 set stricter rules, forbidding generators trained on real data with identity labels. Training DCFace's requires two photos of the same person, which means it has to use CASIA-WebFace's identity labels, so it was excluded.
Official code and data
The official repo mk-minchul/dcface releases the generator's training code, the pretrained weights, and two synthetic datasets of 0.5M and 1.2M images (on Google Drive, in rec format, with a script to convert them to png).
The training code for the recognition model hasn't gone so smoothly. The README's "Training Face Recognition Model" section says "to be released soon," and the repo was last updated in May 2023. In issue #31 (April 2025), someone was still asking when it would be released, with no reply. (definitions of "soon" vary) The license is blank as well; the repo has no LICENSE file, issue #27 asked in April 2024 about the license of the models and datasets, people followed up in January 2025 and May 2026, and again there was no reply.
On reproduction, issue #23 (January 2024) came from a user who said they were on the TFace team. Generating data with the official dcface_3x3.ckpt and training a recognition model gave a five-set average of 86.14%, close to the paper's 85.79% for , but only 73.43% on CFP-FP; switching to dcface_5x5.ckpt and changing nothing but the path, the recognition model dropped to 50%, and the generated images didn't keep their identity. A week later the same user reported it solved and fully reproduced, without saying how. Also, the default weights in synthesis.py are dcface_3x3.ckpt, not the the paper settled on. If you generate data straight from the official script, check which one you're using.
Limitations
The authors point out three limitations themselves: trading some label consistency for diversity pays off but isn't ideal; there's no 3D consistency, so large-angle profiles are worse than with 3D rendering methods; and a gap to real data remains. The appendix adds one more, that the generative models themselves are still trained on real images, on FFHQ and on CASIA-WebFace.
Conclusion
DCFace generates a face from two conditions, with an unconditional diffusion model making distinct new identities and real CASIA-WebFace photos supplying the shooting style. The patch-statistics style extractor limits how much identity information can come through the style path, and the ID loss with weights that move over time steps holds on to identity early in denoising and turns toward style later. At 500K images, the average accuracy over the five verification sets rises from DigiFace's 83.45% to 89.56%, and the gap to real CASIA-WebFace shrinks from 13% to under 6%; on mixed-quality tests like IJB, the gap is still more than ten percentage points.
Before using DCFace's datasets for training or research, sort out two things. The license still isn't stated, so assess commercial use or redistribution yourself first; later research has also found identity leakage between it and CASIA-WebFace, so wherever you need to claim "no real people were used," it doesn't qualify. Mixing it with real data as augmentation, or using it as a baseline when comparing synthetic-data methods, is how most later papers use it.
Synthetic data later split into two approaches, one that keeps borrowing real photos for style and one that doesn't even let the generator's training data carry identity labels. SDFR's rules belong to the latter, and DCFace, SFace and GANDiffFace were all knocked out because of them; yet by the Vec2Face generation, the baseline in the comparison tables is still DCFace.