Full text
FLUXSynID: A Framework for Identity-Controlled Synthetic Face Generation with Document and Live Images Raul Ismayilov Dzemila Sero Luuk Spreeuwers University of Twente Enschede, Netherlands {raul.ismayilov, d.sero, l.j.spreeuwers}@utwente.nl Abstract Synthetic face datasets are increasingly used to overcome the limitations of real-world biometric data, including privacy concerns, demographic imbalance, and high collection costs. However, many existing methods lack finegrained control over identity attributes and fail to produce paired, identity-consistent images under structured capture conditions. We introduce FLUXSynID, a framework for generating high-resolution synthetic face datasets along with a dataset of 14,889 synthetic identities. We generate synthetic faces with user-defined identity attribute distributions, offering both document-style and trusted live capture images. The dataset generated using the FLUXSynID framework shows improved alignment with real-world identity distributions and greater inter-class diversity compared to prior work. Our work is publicly released1to support biometric research, including face recognition and morphing attack detection. 1. Introduction Large-scale, diverse, and well-annotated face datasets are crucial for training and evaluating biometric systems. In addition to face recognition [38,42,47] and emotion analysis [15,49], recent work on Morphing Attack Detection (MAD) [2,7,32] and face demorphing [33,51] relies significantly on such datasets. However, collecting real-world facial data presents substantial challenges. Privacy regulations restrict access and usage, while the high financial cost of acquiring and annotating large volumes of data can be prohibitive. Moreover, demographic imbalances and the need for operationally relevant conditions, e.g., capturing both document-style and trusted live capture images for the same subject, further complicate data collection efforts. In particular, applications such as Differential ImageBased MAD (D-MAD) [54] require datasets containing 1https://github.com/Raul2718/FLUXSynID paired, identity-consistent document-style and live capture images. In typical scenarios, such as border control, the document image may be a bona fide or morphed photo, while the live capture serves as a trusted reference. These tasks also require demographically diverse identities to ensure fairness and robustness. Yet, existing datasets are often limited in scale, and collecting real data with such properties raises legal, ethical, and logistical challenges. While recent advances in generative models have facilitated the creation of synthetic datasets [4,5,26,37,43], most focus on in-the-wild imagery and lack support for structured capture conditions or fine-grained control over identity attributes (e.g., age, ethnicity). Moreover, generated faces often diverge from the distributional characteristics of real data [24]. The ONOT dataset [14] addresses some of these issues but remains limited in scale, control, and inter-class diversity. In this work, we introduce FLUXSynID, a framework for generating synthetic face datasets with controllable identity attributes and paired document-style and live capture images. Built on the FLUX.1 [dev] [3] diffusion model and enhanced via LoRA-based fine-tuning [23], FLUXSynID produces high-quality, identity-consistent images guided by natural language prompts. It employs a two-stage pipeline: generating document-style images first, then corresponding live capture variants using three complementary methods. These are based on LivePortrait [20], Arc2Face [40], and PuLID [21], each introducing different levels of variation in pose, expression, lighting, and background. The contributions of this work are as follows: • A method for generating high-quality document-style face images with user-defined identity attribute distributions, enabling direct demographic control. • A novel live image generation approach that adapts the FLUX.1 [dev] and PuLID frameworks with new conditioning strategies for identity and structure preservation. Two complementary methods, LivePortrait and Arc2Face, are also integrated to generate multiple, diverse face images per identity, supporting downstream
tasks such as D-MAD. • A comparative evaluation against real and synthetic face datasets, demonstrating closer alignment of FLUXSynID with real data in both visual appearance and embeddingspace distributions. The demographic bias of the generative model is also investigated and reported. • The public release of the FLUXSynID framework and a dataset of 14,889 synthetic identities to support biometric research. 2. Related Work Synthetic face datasets are increasingly used in biometric research due to the limitations of real facial data, such as privacy concerns, high costs, and demographic imbalances [4,14,24,37]. SynFace [43] and DigiFace-1M [1] showed promise but offered limited variation, realism, and identity control, restricting their applicability to tasks such as Morphing Attack Detection (MAD) [54]. GANDiffFace [37] combines StyleGAN3 [27] with linear SVMs to control demographic attributes in synthetic face generation, and introduces intra-class variation via peridentity diffusion model fine-tuning [50]. While this allows for more controlled sampling, the method is computationally expensive and requires a separate SVM for each attribute. GANDiffFace, similar to SFace [4], primarily targets unconstrained images and lacks support for document-style outputs. Despite offering attribute control, GANDiffFace lacks scalability and alignment with structured document-style generation needs. Recent studies have leveraged diffusion models for identity-consistent face generation, achieving high realism and intra-class variation. DCFace [29] combines identity and style embeddings to synthesize diverse images of the same person, while IDiff-Face [6] conditions a latent diffusion model on feature representations, achieving similar identity consistency. While effective, both methods focus on unconstrained synthesis and offer limited control over document-style formatting or demographic attributes. The ONOT dataset [14] represents a pioneering effort in document-style face synthesis for biometric use, employing a fine-tuned Stable Diffusion [48] model and prompt engineering to generate ICAO-compliant [25] ID images. It sampled 64 images per identity across 15k identities, retaining only those with at least one compliant image, yielding usable samples for just 27% of identities. Further intraand inter-class filtering reduced the final dataset to 255 identities. Our analysis shows that retained identities were highly similar and poorly aligned with the real identity embedding space. ONOT’s document-style control relies solely on prompts, lacking the fine-tuning needed for consistent formatting. Its demographic attribute control is rigid and not easily extensible. While ONOT shares our high-level goals, it falls short in flexibility, scalability, and diversity. 3. FLUXSynID: Document Images Frontal, standardized face images, such as those found in passports, are essential for biometric tasks such as MAD [54]. Unlike unconstrained imagery, these images must meet strict format standards: frontal pose, neutral expression, consistent lighting, and plain backgrounds. Generating such images synthetically is challenging because most diffusion or GAN-based models are trained on in-thewild datasets. Moreover, existing methods often lack the control needed to ensure demographic diversity, leading to biased or unrealistic datasets. Figure 1presents an overview of the FLUXSynID pipeline for synthetic document image generation, which centers around the FLUX.1 [dev] [3] diffusion model. The process begins with user-defined identity attributes, which are used to generate natural language prompts via a large language model. These prompts guide FLUX.1 [dev], finetuned with a LoRA adapter [23], to produce realistic, highresolution document-style images. 3.1. Identity Attributes Existing face image datasets often exhibit imbalances in key identity attributes such as gender, age, and ethnicity [24]. To address this, the FLUXSynID framework allows userdefined attribute classes, each with a set of attributes with associated selection probabilities. Additionally, each class can be assigned an inclusion probability during sample generation. In Fig. 1, the gender class is always included (100%), with the Female identity attribute selected 49% of the time. Other classes, such as body type, may be included in only a portion of samples (e.g., 50%), enabling fine-grained control over attribute distributions. To maintain semantic consistency in attribute combinations, FLUXSynID implements user-defined attribute clash detection. For example, selecting Bald as a hairstyle attribute would automatically exclude hair color attributes, as they are semantically incompatible. This system ensures the generated identity attributes remain logically coherent. Once attributes are selected, they are stored and passed to a Large Language Model (LLM). We use Qwen2.5 [55] to generate natural language prompts that integrate all attributes in a semantically rich format. This approach aligns with FLUX.1 [dev]’s architecture, which leverages a T5 [45] text encoder to process detailed prompts effectively. 3.2. Document Image LoRA Adapter Low-Rank Adaptation (LoRA) [23] enables efficient finetuning of large pre-trained models by introducing a small set of trainable parameters. Instead of updating the full model weight matrix W0∈Rd×k, the LoRA adapter keeps W0fixed and learns a low-rank update ∆W=BA, where A∈Rd×rand B∈Rr×k, with r≪min(d, k). The
Figure 1. Overview of the FLUXSynID pipeline for synthetic document image generation. Given user-defined identity attributes and constraints, descriptive prompts are generated and used to guide FLUX.1 [dev] [3] diffusion model enhanced with LoRA adapter [23] for producing realistic frontal document-style images. Please refer to Sec. 3for details. Figure 2. (Top row): Synthetic document images generated without LoRA [23], exhibiting inconsistent head poses, facial expressions, and lighting. (Bottom row): Images generated with LoRA fine-tuning, showing more uniform, document-style outputs with neutral expressions and consistent photographic conditions. adapted weights become W=W0+ ∆W. This approach significantly reduces trainable parameters compared to methods such as DreamBooth [50]. We fine-tune the FLUX.1 [dev] diffusion model using a LoRA adapter to ensure stylistic consistency in generating high-resolution, vivid frontal face images with neutral expressions and a uniform white background. The adapter is trained to capture the visual style of images from the Chicago Face Database (CFD) [31,35,36]. Figure 2compares results with and without LoRA, showing improvements in pose, lighting, and expression consistency. 3.3. Image Generation Once trained, the LoRA adapter updates the weights of the pre-trained and frozen FLUX.1 [dev] model, which generates images from prompts produced by Qwen2.5. FLUX.1 [dev] [3] is a latent diffusion model based on a rectified flow transformer [16], designed for text-to-image synthesis. It integrates Classifier-Free Guidance [22] directly into the transformer via a single modulation parameter, the guidance scale, eliminating the need for negative prompts and dual-pass inference (i.e., conditional and unconditional passes). This halves inference time and enables direct control over prompt adherence: lower guidance yields more diverse outputs, while higher guidance increases prompt adherence at the cost of variation. As shown in Fig. 1, the generated prompt Pis encoded using the pre-trained and frozen CLIP-L [44] and T5XXL [45] models. FLUX.1 [dev] combines these encoders in a complementary way. CLIP’s global embedding is fused with the timestep embedding to modulate the transformer layers. Meanwhile, T5-XXL’s token embeddings are concatenated with latent image tokens to form a unified input sequence, which is processed via self-attention. This design mimics cross-attention, enabling the text tokens to influence specific regions in the image [19]. After encoding the text prompt Pusing both encoders (ECLIP-L & T5-XXL), the resulting textual conditioning cPis used as conditional input to FLUX.1 [dev] alongside a 16channel Gaussian noise latent image ztsampled from a random seed. Through latent diffusion, FLUX.1 [dev] iteratively denoises ztover tsteps to produce the final latent image. The conditional denoising process is defined as: zt−1=DPM++ 2M (zt, t, ϵθCF D (zt, t, cP)) ,(1) where DPM++ 2M [34] is used as the sampling algorithm in diffusion probabilistic modeling, and ϵθCF D represents the FLUX.1 [dev] model with the LoRA adapter trained on CFD images (see Sec. 3.2). The final denoised latent image, z0, is then passed to the pre-trained FLUX.1 [dev] Variational Autoencoder (VAE) decoder network [3], DVAE, which generates the synthetic document image, ID, based on the textual prompt.
Figure 3. Overview of the FLUXSynID live capture image generation pipeline. Starting from a synthetic document image, three methods are used to produce identity-consistent live images: LivePortrait [20] enables controlled variations in pose and expression; Arc2Face [40] introduces natural diversity via identity embeddings; and the PuLID-based approach [21,52] is integrated with FLUX.1 [dev] [3] via identity and edge-based conditioning, guided by modified image prompts. Please refer to Sec. 4for details. 4. FLUXSynID: Trusted Live Capture Images To reflect real-world identity verification scenarios (e.g., airport gates) in the FLUXSynID framework, we incorporate three complementary generative approaches: LivePortrait [20], Arc2Face [40], and PuLID [21]. As illustrated in Fig. 3, LivePortrait and Arc2Face are applied in their original forms, providing precise control and natural variability, respectively. In contrast, our primary contribution lies in the extensive adaptation of PuLID through novel conditioning strategies that enhance pose and expression diversity while preserving identity. Together, these methods generate live-style variants ILL,ILA, and ILP , respectively, from the original synthetic document images ID. 4.1. LivePortrait-based Image Generation LivePortrait [20] is a facial animation method that leverages implicit 3D keypoints to control expression and head pose from a single image. In FLUXSynID, it is applied to each synthetic document image IDto generate identitypreserving live capture variants ILL by applying subtle, randomly sampled changes in pose and expression. 4.2. Arc2Face-based Image Generation Arc2Face [40] generates identity-preserving facial images via ArcFace [12] identity embeddings, which condition the Stable Diffusion [48] model. The authors report superior identity similarity compared to other generative models, underscoring its effectiveness. Notably, Arc2Face requires no textual prompts, relying entirely on image-based identity embeddings. In FLUXSynID, Arc2Face is applied to the synthetic document images IDto produce live-style variants ILA, complementing LivePortrait by contributing unstructured variability. This variability is driven solely by identity conditioning and helps balance LivePortrait’s more controlled outputs. 4.3. PuLID-based Image Generation PuLID (Pure and Lightning ID Customization) [21] personalizes text-to-image diffusion models using identity-specific embeddings derived from reference images. Similar to Arc2Face, PuLID enables rapid identity injection without requiring network retraining for each subject. In FLUXSynID, we employ PuLID-FLUX-v0.9.1 [52], an adaptation of PuLID integrated with the pre-trained and frozen FLUX.1 [dev] [3] diffusion model. As shown in Fig. 3, synthetic document images (ID) and LivePortraitmodified images (ILL) are passed through PuLID’s identity encoder to extract static and dynamic identity features, which are averaged into a conditioning signal cID. PuLID introduces dedicated cross-attention layers into FLUX.1 [dev]’s transformer blocks to integrate cID. These cross-attention layers inject identity information directly into the model by enabling focused interactions between the identity representation and the image tokens. This contrasts with the integration of text embeddings, which are incorporated via global modulation and token concatenation. Simultaneously, the original identity prompt Pis transformed into a contextual prompt P′, describing the same individual in an airport setting, and encoded via CLIP-L [44] and T5-XXL [45] to produce the textual condition cP′. To enhance structural fidelity, edges are extracted from ILL to provide spatial guidance. These edges are encoded into a latent image zt,edges using FLUX.1 [dev] VAE encoder [3] and are then concatenated along the channel dimension with a Gaussian noise latent image zt,noise to form z∗ t.
The concatenated latent image z∗ tserves as the input for the FLUX.1 [dev] diffusion model equipped with a specialized FLUX.1 [dev] Canny LoRA adapter [3]. This LoRA adapter modifies the input layer of FLUX.1 [dev] and is trained for edge-based image-to-image conditioning. The final generation is conditioned on three signals: identity embedding (cID), modified text embedding (cP′), and latent edge representation (zt,edges). This ensures identity consistency while introducing natural pose and expression variations. The denoising process is defined as: z∗ t−1=DPM++ 2M (z∗ t, t, ϵθCanny (z∗ t, t, cP′, cID)) ,(2) where ϵθCanny represents FLUX.1 [dev] model combined with the FLUX.1 [dev] Canny LoRA adapter. 5. Experiments 5.1. Implementation Details Prompt Generation. Identity prompts were generated using the Qwen2.5 [55] LLM, based on sampled identity attributes. Attribute inclusion probabilities and conflict rules were applied to generate semantically rich prompts optimized for conditioning FLUX.1 [dev] [3]. LoRA Training for Document Image Generation. A LoRA adapter was trained using FluxGym [9] on 830 images from the Chicago Face Database (CFD) [31,35,36], which provides high-resolution, front-facing portraits with neutral expressions and consistent lighting. The adapter was trained with rank r= 16, learning rate 0.0002, and 18 training epochs. Image captions were generated using the InternVL2.5 [8] vision-language model. The LoRA module was activated during inference via a unique token (“s7ll2f4h”), and additional parameters in the CLIP-L [44] encoder were also fine-tuned. Document Image Generation. Document images were synthesized through the ComfyUI-based [10] implementation of FLUX.1 [dev] [3], conditioned on Qwen2.5 prompts. Guidance scales were sampled randomly between 1.7 and 2.5 to balance fidelity with identity diversity. Each image was generated using t= 20 diffusion steps. Live Image Generation. LivePortrait [20] and PuLIDFLUX-v0.9.1 [52] were used via modified ComfyUIbased [10] implementations. A fixed guidance scale of 4 and t= 20 steps were used with PuLID, as recommended by the authors. Arc2Face [40] was run via the official implementation with default hyperparameters. Dataset Composition. A total of 15,000 synthetic identities were generated across 14 attribute classes: gender,age,region of origin,body type,eye shape,lip shape,nose shape, face shape,hairstyle,hair color,eyewear,facial hair,skin type, and ICAO-compliant headwear [25]. The gender,age, and region of origin attributes were included in 100% of prompts to ensure consistent representation. The distributions for age,region of origin, and body type were uniform. The remaining attributes were given heuristic probabilities based on rough estimates of broad, plausible trends (e.g., certain facial hair styles are naturally less common than a clean-shaven look). In the absence of comprehensive demographic data, these estimates were used to illustrate the dataset generation process. Researchers are encouraged to define custom distributions for their specific needs. Of the 15,000 identities, 111 were excluded due to Arc2Face [40] failing to extract identity embeddings. All images were generated at a resolution of 1024 ×1024, except for Arc2Face-based live images, which were constrained to 512 ×512 due to implementation limitations. 5.2. Similarity-based Identity Filtering Due to prompt similarity and inherent biases in the FLUX.1 [dev] [3] model, some synthetic identities may appear overly similar. Unlike ONOT [14], which enforces strict identity separation by removing all similar identities detected by a Face Recognition System (FRS), FLUXSynID allows a small degree of similarity, reflecting real-world datasets where a limited False Match Rate (FMR) is acceptable. For instance, FRONTEX guidelines [18] permit an FMR of 0.1%. As the dataset size grows, the probability that a randomly selected identity ifalsely matches at least one other identity in the dataset increases, and is defined as: PFalse Match(i)=1−(1 −FMR)N−1,(3) where Nrepresents the total number of identities. To manage this behavior, FLUXSynID employs iterative filtering based on FRS similarity scores. Starting from an initial set of document images Do, we identify inter-identity pairs that are falsely matched. The filtering process iteratively removes identities involved in the highest number of such matches. This continues until the dataset-wide FMR reaches or falls below a predefined static FMR target: FMRDf≤FMRtarget.(4) Here, dataset-wide FMR is calculated as the ratio of the number of pairs exceeding the threshold to the total number of possible comparisons. This method ensures the final subset Df⊆Domaintains a practical and acceptable FMR. Experiments in this study leverage two open-source face recognition models: ArcFace [12] and AdaFace [28]. For each, two decision thresholds are selected, corresponding to FMR targets of 0.1% and 0.01%. These thresholds are derived from 340k impostor verification attempts on identities from the CFD dataset, yielding values of 0.423 and 0.497 for ArcFace, and 0.253 and 0.334 for AdaFace, respectively. Accordingly, the FMRtarget in Equation (4) is set to 0.1% or 0.01%, depending on the chosen threshold.
The number of identities remaining after filtering varies significantly depending on the FRS used and the FMR target. Table 1summarizes the results across both ArcFace and AdaFace for target FMRs of 0.1% and 0.01%. FRS FMR Target Remaining Identities (%) ArcFace 0.01% 9,358 (62.9%) ArcFace 0.1% 6,641 (44.6%) AdaFace 0.01% 6,074 (40.8%) AdaFace 0.1% 2,389 (16.0%) Table 1. Remaining identities after similarity-based filtering at different FMR targets using ArcFace [12] and AdaFace [28]. Percentages are relative to the initial 14,889 identities. Note: lower FMR targets require higher FRS decision thresholds, reducing the number of identity pairs flagged as false matches. Thus, fewer identities are removed and a larger portion of the dataset is retained. For comparison, we also applied ONOT’s [14] stricter identity filtering, which removes all identity pairs exceeding the threshold, effectively enforcing a dataset-wide FMR of zero. Using ArcFace with ONOT’s specified thresholds, FLUXSynID retained 51.0% of identities at FMR 0.1% and 87.1% at FMR 0.01%. In contrast, ONOT reports retaining only 3.1% and 6.3%, respectively. Although the comparison is not exact due to ONOT’s use of additional intra-class filtering, these results suggest that FLUXSynID identities exhibit substantially greater feature-level diversity. Finally, to ensure there is no identity leakage from LoRA fine-tuning on CFD images, we compared all 14,889 FLUXSynID identities against the 830 CFD subjects used for training. Using AdaFace and a threshold of 0.539, corresponding to the minimum similarity score among mated pairs in the FRGC [41] dataset, no matches were found. This confirms that no identity leakage occurred. 5.3. Evaluation Visual Results. Figure 4shows sample identities from FLUXSynID, each consisting of a document image (ID) and live capture images generated by LivePortrait (ILL), PuLID (ILP ), and Arc2Face (ILA). Document images are frontal, display neutral expressions, and have uniform white backgrounds, reflecting stylistic control via CFDbased LoRA fine-tuning. Each live image generation method introduces different levels of variation. LivePortrait introduces subtle, controlled changes in pose and expression while maintaining consistent lighting and background, although minor blurring is often evident. PuLID leverages text, edge maps, and identity embeddings to alter both background and pose, although it may occasionally cause identity drift. Arc2Face generates the most diverse outputs, introducing substantial changes in setting, lighting, and expression that closely mimic in-the-wild photographs. Prompt-Image Consistency. Figure 5shows synthetic document images generated from randomly sampled identity attributes. Generally, the images align well with the specified attributes, although some limitations are evident. Age estimation occasionally deviates, producing individuals who appear significantly younger or older than intended, consistent with findings in [39], which highlight FLUX.1 [dev]’s difficulty in accurately representing age. Subtle facial features, such as nose shape, are also inconsistently realized. This may stem from limitations in automated image captioning, which often omits fine-grained details when annotating datasets for training text-conditioned diffusion models [13,17,30]. Empirically, guidance scales between 1.7 and 2.5 yielded the best trade-off between fidelity and prompt consistency. Below 1.7, images often exhibited artifacts and poor prompt adherence, while scales above 2.5 produced overly saturated and visually similar faces, increasing removals during similarity-based filtering. Impact of Similarity-based Filtering on Attribute Distributions. To evaluate the potential bias introduced by similarity-based filtering (Sec. 5.2), Fig. 6compares the distributions of gender,age, and region of origin attributes before and after filtering. Female identities were observed to be removed more frequently, reducing their overall representation. This indicates that FLUX.1 [dev] generates less diverse female faces, leading to higher similarity scores and more frequent exclusion. Conversely, male and non-binary identities increased proportionally, indicating greater variability. In the age category, younger individuals were more frequently filtered out, reflecting reduced variation among these groups. Attribute distributions for region of origin remained largely stable, although some shifts were observed. For example, there was a decline in Central American identities and an increase in East African ones, highlighting uneven feature diversity across regions that may stem from biases in the generative model. Distribution of Identity Embeddings. Figure 7visualizes identity embeddings extracted by ArcFace [12] and AdaFace [28] across real and synthetic datasets. Synthetic StyleGAN2 [26] images were generated using the pSp [46] encoder, producing random identities in frontal poses. For ONOT [14], ICAO-compliant images from Subset 1 (the largest identity set) were used. FLUXSynID identities were filtered using FMR of 0.01% thresholds (Sec. 5.2) to remove highly similar identities. Only document images were considered to maintain consistency across datasets, all of which contain document-like image types. The results show that StyleGAN2 and ONOT identities form distinct clusters that do not overlap well with realworld identity distributions from CFD [31,35,36] and FRLL [11]. In contrast, FLUXSynID embeddings demon-
Figure 4. Examples of synthetic identities from FLUXSynID, each shown with a document image (ID) and corresponding live capture images generated using LivePortrait (ILL) [20], PuLID (ILP ) [21], and Arc2Face (ILA) [40]. Figure 5. Examples of randomly sampled identity attributes and their corresponding synthetic document images (ID) generated using the FLUXSynID framework. strate greater overlap with real data, suggesting closer alignment with real-world identity variability. Imperfect overlap may reflect FLUXSynID’s broader demographic range, particularly in age and region of origin, compared to the more limited scope of CFD and FRLL. Moreover, ONOT identities form tight clusters, indicating low inter-class diversity. In contrast, FLUXSynID embeddings are more evenly distributed, capturing a broader and more realistic spectrum of identity features. Similarity Score Distributions. To further evaluate FLUXSynID, cosine similarity scores for mated (document and corresponding live images) and non-mated pairs (document images compared to live images from 100 other identities) are visualized as histograms in Fig. 8, with comparisons to real-world FRLL [11] and FRGC [41] datasets. Dataset Mated Non-Mated FRLL FRGC FRLL FRGC ONOT 23.793 6.770 5.202 4.715 FLUXSynID-LL 1.047 15.512 0.248 0.375 FLUXSynID-LP 23.992 1.655 0.332 0.477 FLUXSynID-LA 19.225 0.145 0.038 0.101 Table 2. KL divergence between similarity score distributions of synthetic and real datasets for mated and non-mated identity pairs. Lower values indicate greater distributional similarity. FLUXSynID-LL, -LP, and -LA refer to live images generated using LivePortrait, PuLID, and Arc2Face, respectively. Results indicate that FLUXSynID-LL (LivePortrait) closely matches FRLL, reflecting high identity consistency with minimal appearance variation. FLUXSynIDLP (PuLID) and FLUXSynID-LA (Arc2Face) better align with FRGC, reflecting broader visual diversity. ONOT exhibits overlapping mated and non-mated distributions that are skewed relative to real data, indicating limited identity separation and low inter-class variability. These observations are quantified in Tab. 2, which reports KL divergence between synthetic and real datasets. FLUXSynID-LL yields the lowest mated-pair divergence from FRLL, supporting its close visual match and controlled variation. For non-mated pairs, FLUXSynID-LA achieves the lowest divergence, though its mated-pair scores are higher. Overall, FLUXSynID-LL offers the most balanced similarity to FRLL across both pair types. For FRGC, FLUXSynID-LA records the lowest matedpair KL divergence, although FLUXSynID-LP visually resembles FRGC images more closely. While its KL values are slightly higher than Arc2Face’s, they still indicate strong distributional similarity. In contrast, ONOT exhibits high KL divergence across
Figure 6. Distribution of identity attributes in the dataset before and after filtering based on identity similarity. Each bar plot shows the percentage of images with a given attribute. Blue bars represent the original dataset, and orange bars represent the dataset after filtering. (a) ArcFace [12] (b) AdaFace [28] Figure 7. t-SNE [53] visualization of FRS embeddings derived from real and synthetic identity images. (a) FLUXSynID-LL (b) FLUXSynID-LA (c) FLUXSynID-LP (d) FRLL [11] (e) FRGC [41] (f) ONOT [14] Figure 8. Distribution of cosine similarity scores for mated (blue) and non-mated (orange) identity pairs across real and synthetic datasets, using the AdaFace [28] FRS with an FMR of 0.01% threshold. FLUXSynID-LL, -LP, and -LA refer to live images generated using LivePortrait, PuLID, and Arc2Face, respectively. all comparisons, indicating that its similarity score distributions differ substantially from real datasets. This aligns with Fig. 8, where ONOT’s mated and non-mated distributions are clearly shifted relative to real data. 6. Conclusion We present FLUXSynID, a synthetic face dataset generation framework capable of producing high-resolution, identityconsistent document and live capture images with control over identity attributes. Combining prompt-driven diffusion synthesis with LoRA fine-tuning [23] and three complementary live image generation methods, FLUXSynID facilitates both controlled and natural variations across identity instances. Experimental results show that FLUXSynID aligns more closely with real-world data distributions than existing synthetic alternatives, while its controlled diversity supports realistic biometric evaluation. These results indicate that FLUXSynID can support biometric tasks requiring structured, identity-consistent image pairs, such as DMAD, face recognition, and emotion recognition. Despite its strengths, FLUXSynID has some limitations. Attributes such as age and subtle facial features are not always represented reliably, and similarity-based filtering may unintentionally skew demographic distributions. In contrast to ONOT [14], which enforces strict ICAO compliance [25] at the cost of a 73% reduction in dataset size, FLUXSynID does not perform explicit ICAO filtering. While document-style images are generated to generally align with ICAO standards (e.g., frontal pose, neutral expression), we prioritize dataset size and embedding space diversity over strict adherence, enhancing flexibility for a broader range of biometric research applications. 7. Acknowledgments This research was funded by the European Union under the Horizon Europe programme, Grant Agreement No. 101121280. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect the views of the EU/Executive Agency. Neither the EU nor the granting authority can be held responsible for them.
References [1] Gwangbin Bae, Martin de La Gorce, Tadas Baltruˇ saitis, Charlie Hewitt, Dong Chen, Julien Valentin, Roberto Cipolla, and JingJing Shen. Digiface-1m: 1 million digital face images for face recognition. 2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pages 3515–3524, 2022. 2 [2] Sudipta Banerjee and Arun Ross. Conditional identity disentanglement for differential face morph detection. 2021 IEEE International Joint Conference on Biometrics (IJCB), pages 1–8, 2021. 1 [3] Black Forest Labs. FLUX. https://github.com/ black-forest-labs/flux, 2024. Accessed: 202505-02. 1,2,3,4,5 [4] Fadi Boutros, Marco Huber, Patrick Siebke, Tim Rieber, and Naser Damer. Sface: Privacy-friendly and accurate face recognition using synthetic data. 2022 IEEE International Joint Conference on Biometrics (IJCB), pages 1–11, 2022. 1,2 [5] Fadi Boutros, Marcel Klemt, Meiling Fang, Arjan Kuijper, and Naser Damer. Unsupervised face recognition using unlabeled synthetic data. 2023 IEEE 17th International Conference on Automatic Face and Gesture Recognition (FG), pages 1–8, 2022. 1 [6] Fadi Boutros, Jonas Henry Grebe, Arjan Kuijper, and Naser Damer. Idiff-face: Synthetic-based face recognition through fizzy identity-conditioned diffusion models. 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 19593–19604, 2023. 2 [7] Baaria Chaudhary, Poorya Aghdaie, Sobhan Soleymani, Jeremy Dawson, and Nasser Nasrabadi. Differential morph face detection using discriminative wavelet sub-bands. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1425–1434, 2021. 1 [8] Zhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, et al. Expanding performance boundaries of open-source multimodal models with model, data, and test-time scaling. ArXiv, abs/2412.05271, 2024. 5 [9] cocktailpeanut. FluxGym. https://github.com/ cocktailpeanut/fluxgym, 2025. Accessed: 202505-02. 5 [10] comfyanonymous. Comfyui: The most powerful and modular diffusion model gui, api, and backend with a graph/nodes interface. https : / / github . com / comfyanonymous/ComfyUI, 2023. Accessed: 202505-02. 5 [11] Lisa DeBruine and Benedict Jones. Face research lab london set. https://figshare.com/articles/ dataset / Face _ Research _ Lab _ London _ Set / 5047666/3, 2017. 6,7,8 [12] Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019. 4,5,6,8 [13] Roberto Dess` ı, Michele Bevilacqua, Eleonora Gualdoni, Nathana¨ el Carraz Rakotonirina, Francesca Franzon, and Marco Baroni. Cross-domain image captioning with discriminative finetuning. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6935–6944, 2023. 6 [14] Nicol` o Di Domenico, Guido Borghi, Annalisa Franco, and Davide Maltoni. Onot: a high-quality icao-compliant synthetic mugshot dataset. 2024 IEEE 18th International Conference on Automatic Face and Gesture Recognition (FG), pages 1–10, 2024. 1,2,5,6,8 [15] Reham A. Elsheikh, M. A. Mohamed, Ahmed Mohamed Abou-Taleb, and Mohamed Maher Ata. Improved facial emotion recognition model based on a novel deep convolutional structure. Scientific Reports, 14, 2024. 1 [16] Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas M¨ uller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis. In Proceedings of the 41st International Conference on Machine Learning, pages 12606–12633. PMLR, 2024. 3 [17] Adam Fisch, Kenton Lee, Ming-Wei Chang, Jonathan Clark, and Regina Barzilay. Capwap: Image captioning with a purpose. In Conference on Empirical Methods in Natural Language Processing, 2020. 6 [18] Frontex. Best practice operational guidelines for Automated Border Control (ABC) systems – Research and development unit. Publications Office of the European Union, Warsaw, Poland, 2012. 5 [19] Daiheng Gao, Shilin Lu, Shaw Walters, Wenbo Zhou, Jiaming Chu, Jie Zhang, Bang Zhang, Mengxi Jia, Jian Zhao, Zhaoxin Fan, and Weiming Zhang. Eraseanything: Enabling concept erasure in rectified flow transformers, 2025. 3 [20] Jianzhu Guo, Dingyun Zhang, Xiaoqiang Liu, Zhizhou Zhong, Yuan Zhang, Pengfei Wan, and Di Zhang. Liveportrait: Efficient portrait animation with stitching and retargeting control, 2025. 1,4,5,7 [21] Zinan Guo, Yanze Wu, Zhuowei Chen, Lang Chen, Peng Zhang, and Qian He. Pulid: Pure and lightning id customization via contrastive alignment. In Advances in Neural Information Processing Systems, 2024. 1,4,7 [22] Jonathan Ho. Classifier-free diffusion guidance. ArXiv, abs/2207.12598, 2022. 3 [23] Edward Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models, 2021. 1,2, 3,8 [24] Marco Huber, An Luu, Fadi Boutros, Arjan Kuijper, and Naser Damer. Bias and diversity in synthetic-based face recognition. 2024 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pages 6203–6214, 2023. 1,2 [25] ISO/IEC JTC1 SC17 WG3. Portrait quality (reference facial images for mrtd), version 1.0. Technical report, International Civil Aviation Organization, 2018. 2,5,8 [26] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving