DocDjinn: controllable synthetic document generation with VLMs and handwriting diffusion

Abstract Effective document intelligence models rely on large amounts of annotated training data. However, procuring sufficient and high-quality data poses significant challenges due to the labor-intensive and costly nature of data acquisition. Additionally, leveraging language models to annotate real documents raises concerns about data privacy. In this context, synthetic document generation has emerged as a promising, privacy-preserving alternative. We propose DocDjinn, a novel framework for controllable synthetic document generation using Vision-Language Models (VLMs) that produces annotated documents from unlabeled seed samples. Our approach generates visually plausible and semantically consistent synthetic documents that follow the distribution of an existing source dataset through clustering-based seed selection with parameterized sampling. By enriching documents with realistic diffusion-based handwriting and contextual visual elements via semantic-visual decoupling, we generate diverse, high-quality annotated synthetic documents. We evaluate DocDjinn as a source of training data across eleven benchmarks spanning key information extraction, question answering, document classification, and document layout analysis. Our experiments show that with only 100 real training samples, our framework achieves on average $$87\%$$ 87 % of the performance of the full real-world dataset. To our knowledge, this is the first work demonstrating that VLMs can generate faithful annotated document datasets at scale from unlabeled seeds that can effectively enrich or approximate real, manually annotated data for diverse document understanding tasks. We publicly release our code and 140k+ synthetic document samples.

Authors

Institutions

Publication Details

Journal
International Journal on Document Analysis and Recognition (IJDAR)
Published
2026-08-25
DOI
https://doi.org/10.1007/s10032-026-00604-7
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DocDjinn: controllable synthetic document generation with VLMs and handwriting diffusion

Ulrich Schwanecke, Faisal Shafait, Ahmad Ali, Nauman Riaz et al.
International Journal on Document Analysis and Recognition (IJDAR)
Multimodal Machine Learning Applications
article

DocDjinn: controllable synthetic document generation with VLMs and handwriting diffusion

Ulrich Schwanecke, Faisal Shafait, Ahmad Ali, Nauman Riaz, Momina Moetesum, Ahmed Sheraz, Marcel Lamott, Yves-Noel Weweler, Muhammad Armaghan Shakir, Saifullah Saifullah, Adrian Ulges, Adrian Kalwa, Tobias Alt-Veit, Andreas Dengel
article en

Abstract

Abstract Effective document intelligence models rely on large amounts of annotated training data. However, procuring sufficient and high-quality data poses significant challenges due to the labor-intensive and costly nature of data acquisition. Additionally, leveraging language models to annotate real documents raises concerns about data privacy. In this context, synthetic document generation has emerged as a promising, privacy-preserving alternative. We propose DocDjinn, a novel framework for controllable synthetic document generation using Vision-Language Models (VLMs) that produces annotated documents from unlabeled seed samples. Our approach generates visually plausible and semantically consistent synthetic documents that follow the distribution of an existing source dataset through clustering-based seed selection with parameterized sampling. By enriching documents with realistic diffusion-based handwriting and contextual visual elements via semantic-visual decoupling, we generate diverse, high-quality annotated synthetic documents. We evaluate DocDjinn as a source of training data across eleven benchmarks spanning key information extraction, question answering, document classification, and document layout analysis. Our experiments show that with only 100 real training samples, our framework achieves on average $$87\%$$ 87 % of the performance of the full real-world dataset. To our knowledge, this is the first work demonstrating that VLMs can generate faithful annotated document datasets at scale from unlabeled seeds that can effectively enrich or approximate real, manually annotated data for diverse document understanding tasks. We publicly release our code and 140k+ synthetic document samples.

International Journal on Document Analysis and Recognition (IJDAR)
University of Kaiserslautern (DE), German Research Centre for Artificial Intelligence (DE), Insiders Technologies (Germany) (DE), RheinMain University of Applied Sciences (DE), National University of Sciences and Technology (PK)
Decent work and economic growth
Openalex Percentile: Top 85%
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.