Generating Synthetic Invoices via Layout-Preserving Content Replacement
Bevin V, Ananthakrishnan P V, Ragesh KR, Sanjay M, Vineeth S, Bibin Wilson

TL;DR
This paper introduces a pipeline that creates realistic synthetic invoices by replacing text content while preserving layout, aiding in training data generation for invoice processing models.
Contribution
It presents a novel method combining OCR, language models, and inpainting to generate high-fidelity synthetic invoices with preserved layout and accurate structured data.
Findings
Generates visually realistic synthetic invoices.
Preserves layout and font characteristics.
Produces aligned structured data files.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
