Saved in:
Bibliographic Details
Main Authors: V, Bevin, P V, Ananthakrishnan, KR, Ragesh, M, Sanjay, S, Vineeth, Wilson, Bibin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.03754
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918115693035520
author V, Bevin
P V, Ananthakrishnan
KR, Ragesh
M, Sanjay
S, Vineeth
Wilson, Bibin
author_facet V, Bevin
P V, Ananthakrishnan
KR, Ragesh
M, Sanjay
S, Vineeth
Wilson, Bibin
contents The performance of machine learning models for automated invoice processing is critically dependent on large-scale, diverse datasets. However, the acquisition of such datasets is often constrained by privacy regulations and the high cost of manual annotation. To address this, we present a novel pipeline for generating high-fidelity, synthetic invoice documents and their corresponding structured data. Our method first utilizes Optical Character Recognition (OCR) to extract the text content and precise spatial layout from a source invoice. Select data fields are then replaced with contextually realistic, synthetic content generated by a large language model (LLM). Finally, we employ an inpainting technique to erase the original text from the image and render the new, synthetic text in its place, preserving the exact layout and font characteristics. This process yields a pair of outputs: a visually realistic new invoice image and a perfectly aligned structured data file (JSON) reflecting the synthetic content. Our approach provides a scalable and automated solution to amplify small, private datasets, enabling the creation of large, varied corpora for training more robust and accurate document intelligence models.
format Preprint
id arxiv_https___arxiv_org_abs_2508_03754
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Generating Synthetic Invoices via Layout-Preserving Content Replacement
V, Bevin
P V, Ananthakrishnan
KR, Ragesh
M, Sanjay
S, Vineeth
Wilson, Bibin
Computer Vision and Pattern Recognition
The performance of machine learning models for automated invoice processing is critically dependent on large-scale, diverse datasets. However, the acquisition of such datasets is often constrained by privacy regulations and the high cost of manual annotation. To address this, we present a novel pipeline for generating high-fidelity, synthetic invoice documents and their corresponding structured data. Our method first utilizes Optical Character Recognition (OCR) to extract the text content and precise spatial layout from a source invoice. Select data fields are then replaced with contextually realistic, synthetic content generated by a large language model (LLM). Finally, we employ an inpainting technique to erase the original text from the image and render the new, synthetic text in its place, preserving the exact layout and font characteristics. This process yields a pair of outputs: a visually realistic new invoice image and a perfectly aligned structured data file (JSON) reflecting the synthetic content. Our approach provides a scalable and automated solution to amplify small, private datasets, enabling the creation of large, varied corpora for training more robust and accurate document intelligence models.
title Generating Synthetic Invoices via Layout-Preserving Content Replacement
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.03754