DocDjinn: 基于VLMs和手写扩散的可控合成文档生成
DocDjinn: Controllable Synthetic Document Generation with VLMs and Handwriting Diffusion
AI总结:
DocDjinn利用VLMs和手写扩散生成可控合成文档,通过聚类和参数化采样从未标注种子生成高质量标注文档,实现隐私保护和高效数据生成。
摘要:
有效的文档智能模型依赖于大量标注的训练数据。然而,由于数据获取过程劳动密集且成本高昂,获取足够且高质量的数据带来了重大挑战。此外,利用语言模型对真实文档进行标注会引发数据隐私问题。合成文档生成作为一种有前景的隐私保护替代方案已经出现。我们提出DocDjinn,一种新的基于视觉-语言模型(VLMs)的可控合成文档生成框架,能够从未标注的种子样本中生成标注文档。我们的方法通过基于聚类的种子选择与参数化采样,生成在现有源数据集分布上具有视觉合理性和语义一致性的合成文档。通过利用语义-视觉解耦,我们用现实的扩散基手写和上下文视觉元素丰富文档,生成多样且高质量的标注合成文档。我们在十一项基准测试中进行了评估,涵盖关键信息提取、问答、文档分类和文档布局分析。据我们所知,这是首次证明VLMs能够从未标注的种子中生成大规模的忠实标注文档数据集,能够有效丰富或近似真实的手动标注数据,以服务于多样化的文档理解任务。我们证明,仅使用100个真实训练样本,我们的框架在平均上可达到完整真实世界数据集性能的87%。我们公开发布了我们的代码和140k+合成文档样本。
英文摘要:
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. 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 parametrized 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 across eleven benchmarks spanning key information extraction, question answering, document classification, and document layout analysis. 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 show that with only 100 real training samples, our framework achieves on average $87\%$ of the performance of the full real-world dataset. We publicly release our code and 140k+ synthetic document samples.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。