Paper Reading AI Learner

Generating Synthetic Invoices via Layout-Preserving Content Replacement

2025-08-04 06:19:34
Bevin V, Ananthakrishnan P V, Ragesh KR, Sanjay M, Vineeth S, Bibin Wilson

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 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.

Abstract (translated)

机器学习模型在自动化发票处理中的性能严重依赖于大规模、多样化的数据集。然而,由于隐私法规的限制和人工标注高昂的成本,获取这样的数据集变得非常困难。为了解决这个问题,我们提出了一种新颖的数据生成流程,用于创建高保真度的合成发票文档及其对应的结构化数据。 我们的方法首先利用光学字符识别(OCR)技术从原始发票中提取文本内容和精确的空间布局信息。然后,选择性地用大型语言模型(LLM)生成的情境真实性的合成内容替换部分数据字段。最后,我们使用一种图像修复技术去除原图中的文字,并在相同的位置渲染新的合成文字,保留了原有的版式和字体特征。 这一过程会产生一对输出:一张视觉上逼真的新发票图片以及一个与其合成内容完全对齐的结构化数据文件(JSON)。我们的方法提供了一种可扩展且自动化的解决方案来放大小规模、私有的数据集,从而能够创建大规模、多样化的语料库,用于训练更加强大和准确的文档智能模型。

URL

https://arxiv.org/abs/2508.03754

PDF

https://arxiv.org/pdf/2508.03754.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot