arXiv:2609.03052cs.CVSep 2026

Manuscript Offprint

arXiv:2609.03052

IDSPACE: A Novel Document Generator for Reliable Evaluation of Digital Identity Verification Systems [Extended Technical Report]

Lulu Xie, Yancheng Wang, Kanchan Chowdhury, Rolando Garcia, Yingzhen Yang, Jia Zou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Lulu Xie, Yancheng Wang

Arizona State University

Kanchan Chowdhury

Marquette University

Rolando Garcia, Yingzhen Yang, Jia Zou

Arizona State University

Abstract—As services move online, trust institutions such as banks, lenders, and governments must verify the identity of remote users. Fraud detection tools are widely available, but evaluating and fine-tuning them remains difficult because identity documents are sensitive and therefore scarce. Synthetic data generation offers a path forward, and demand is clear: our prior work in this area has been downloaded over 11,000 times (aggregated from eight parts). We introduce IDSPACE, extending this line of research in three directions. First, we propose model-guided Bayesian optimization, which tunes generation parameters to maximize both visual similarity and prediction consistency with target-domain models given only a few samples from a target domain. Second, we decouple user-specified metadata (demographics, fraud patterns, capture device) from automatically tuned control parameters (font styles, noise levels, image quality), allowing users to configure evaluations without low-level expertise. Third, we expand beyond template images to support scanned and mobile-captured documents. Experiments show IDSPACE improves evaluation consistency by 15 – 45% over baselines including CycleGAN, diffusion inpainting, and non-guided optimization, using only a few real samples, while improving training accuracy by up to 9% and SSIM similarity with the target domain by 10%. We also released a new dataset consisting of 359,240 high-quality synthetic documents across ten European ID types.

I. INTRODUCTION

The surge in digital platforms offering remote identity verification has raised concerns about forged identity documents, such as passports, driver's licenses, and ID cards. In fiscal year 2023, the Financial Crimes Enforcement Network received approximately 4.6 million Suspicious Activity Reports, with around 1.75 million related to identity fraud [1]. Accurate detection of fraudulent identity documents is crucial for reducing authentication risks across various sectors, including finance, healthcare, travel, retail, government, and gambling [2]. Therefore, it is important to evaluate the accuracy of fraud detection capabilities before deploying digital identity verification services in these application scenarios. However, due to the sensitivity of personal information in these documents, a significant data scarcity challenge arises in assembling comprehensive real-world datasets for flexible and reliable evaluation of identity verification systems.

Motivating Example. Between August 2023 and April 2024, the US General Services Administration conducted a large-scale study evaluating the fairness of commercial remote identity verification services across demographic groups [3]. They recruited 3,991 participants from five racial and ethnic groups, who captured and uploaded images of their identity documents and selfies using mobile devices. This study illustrates the fundamental challenges of evaluating identity verification systems with real data: recruitment costs scale linearly with coverage requirements, making it expensive to achieve statistical significance across demographic subgroups and document types; image quality variance is uncontrolled, as participants use diverse devices under varying conditions; and demographic balance is difficult to achieve, with minority groups, precisely the populations where fairness audits matter most, often underrepresented.

Synthetic data generation offers a path forward. Existing synthetic identity document generation falls into three main categories, and they all suffer from significant limitations: (Category 1) Manual generation of identity document datasets, such as MIDV-500 [4] and MIDV-2020 [5], is expensive and labor-intensive, leading to limited scale. For example, MIDV-2020 [5] contains only 1,000 distinct template images across ten document categories. (Category 2) Training-based approaches [6], including those using GANs [7], differential privacy [8], generative AI [9], and diffusion models [10], can still require large numbers of labeled real documents that are difficult to obtain due to regulatory constraints, and hard to generalize to different countries and regions. (Category 3) Few-shot approaches [11], [12], [13] aim to minimize data requirements by using inpainting techniques to fill in synthetic personal data and face images into a template. Our prior work, IDNET [13], a representative of this category, has been downloaded more than 11,000 times (aggregated from eight parts) on the Zenodo platform since 2024, underscoring both the unmet demand and the practical impact of few-shot approaches on generating large-scale synthetic documents with only one or a few real-world document examples. However, despite of the cost-effectiveness of the few-shot approaches, they often produce content that diverges from the target domain distribution. This domain shift can mislead fraud detection models and result in unreliable evaluation outcomes.

Furthermore, existing methods lack flexible, declarative specificity over what documents to generate, yet comprehensive benchmarking requires testing under a wide range of conditions, such as documents from specific demographic groups, or scanned documents at particular rotation angles.

This paper introduces IDSPACE, a model-guided few-shot framework for generating high-quality synthetic identity documents with a flexible declarative task-specification interface, while enabling reliable and reproducible evaluation and training of identity verification systems, as illustrated in Fig. 1. First, IDSPACE introduces model-guided Bayesian optimization, which automatically tunes the generation parameters that control the filling of user-specified metadata, such as age, gender, ethnicity, and fraud patterns, into a user-specified template image as illustrated in Fig. 2 to maximize both visual similarity and prediction consistency with the target domain, using only a few real samples. Second, it decouples user-specified metadata from automatically tuned control parameters that govern low-level rendering details, such as font styles, font sizes, font colors, noise levels, brightness, and sharpness. This separation allows users to configure evaluations without low-level expertise. Third, IDSPACE expands beyond template images to support scanned and mobile-captured documents, enabling more realistic and diverse benchmarking settings.

Onfido's survey of recent ID frauds [2] showed that an attacker can produce a convincing forged physical document, printed or digitally composited, and then capture it through a legitimate app on a real device. The resulting image has clean metadata and passes pipeline integrity checks, yet the underlying document may be fraudulent. IDSPACE is designed to support evaluation under such document-level forgery scenarios: detecting manipulated text fields and photos, inconsistent fonts, inconsistent fields, and other artifacts that distinguish forged documents from genuine ones, regardless of how the image was captured.

Concretely, we make the following contributions:

  • Reliable evaluation of identity verification systems under data scarcity. IDSPACE reframes synthetic identity document generation from a data augmentation problem to a benchmarking and evaluation problem under severe data scarcity. While it builds on IDNET [13], which focuses on visual realism for training, IDSPACE is designed to ensure evaluation validity by preserving model behavior between real and synthetic documents. Rather than optimizing solely for perceptual similarity, IDSPACE introduces prediction consistency metric and user-provided target models that are trained on the target domain of documents, and it uses model-guided Bayesian optimization to auto-tune rendering (or "control") parameters that preserve prediction consistency between the documents in the target domain and the generated synthetic documents. Therefore, it can reliably serve as a proxy for real data in downstream evaluation, a capability not supported by any prior synthetic datasets.

  • Specification-driven generation with decoupled user intent and rendering control. Different from existing document generation frameworks, IDSPACE separates user-specified domain parameters (or "metadata"; the what to evaluate) from automatically tuned rendering parameters (the how to generate). Users specify metadata declaratively via YAML/JSON/CSV, while rendering parameters are optimized internally to support reproducible and controlled benchmarking. Table I formalizes this separation across template, scanned, and mobile formats.

  • A large-scale, multi-modal dataset for benchmarking identity verification systems. We release a dataset of 359,240 synthetic documents across ten European ID types, spanning templated, scanned, and mobile-captured modalities, publicly available under CC-BY 4.0 1^{1} with source code available under Apache 2.0 license 2^{2}.

Experiments show that with as few as two real samples, IDSPACE improves evaluation consistency by 15–45% over CycleGAN [14], diffusion inpainting [15], and non-guided optimization [13], enabling reliable evaluation and benchmarks. The evaluation results also showed that the documents generated by IDSPACE have consistently better SSIM similarity with the documents in the target domain than IDNET. In addition, the accuracy of the models trained on IDSPACE outperformed IDNET by up to 9%.

References (44)