Improving Document Layout Analysis Using Synthetic Data Generation and Convolutional Models
Featured Application
Abstract
1. Introduction
2. Materials and Methods
2.1. Data and Tools
- –
- formalization of a mathematical layout generation model;
- –
- synthetic dataset construction under controlled parameter configurations;
- –
- spatial diagnostic analysis of generated layouts;
- –
- pre-training of a YOLO11m detector on synthetic data;
- –
- comparative evaluation of generation strategies;
- –
- fine-tuning on a reduced real-world dataset for an example of practical integration.
2.2. Mathematical Model of Data Generation
- –
- the sets of rectangular elements Esmall and Elarge;
- –
- the number of candidate fragments Nc;
- –
- a set of read elements e∈E, each characterized by width w(e) and height h(e) parameters normalized relative to the pages on which they were found.
- The list of placed elements is supplemented with randomly selected elements having the bounding box [x1, y1, x2, y2] from the set of read elements E after applying the functions f(e) and g(e) such as Equation (5):
- 2.
- Coordinate lists are compiled to determine the intersection points for a new grid, with cells generated via their Cartesian product. The intersection between the newly formed cells and existing elements is then calculated, retaining only those with zero overlap (IoU = 0);
- 3.
- The candidate maximizing the occupied site metric (F) is selected, accounting for the element area Ae and cell area Ac, as defined in Equation (6):
- 4
- A decision regarding the next action is made. The algorithm terminates if no valid cells remain for placement, no further elements can be fitted onto the grid, or the predefined limit for small elements has been reached. Otherwise, the selected element is added to the list (P) and removed from the set (E), after which the algorithm returns to step 1.
- –
- choice of organization method: threshold-based vs. shuffling pool;
- –
- element classification: dividing blocks into “large” and “small” using median values or constant thresholds;
- –
- placement process: combinatorial block arrangement, starting with large elements and filling voids with small ones, while maintaining the no-overlap condition.
2.3. Generating Synthetic Datasets Based on the Proposed Model
- –
- constant division with threshold-based extraction;
- –
- constant division with sampling from a shuffled pool;
- –
- median-based division with threshold-based extraction;
- –
- median-based division with sampling from a shuffled pool.
2.4. Model Architecture and Training Protocol
2.5. Evaluation Metrics
2.6. Comparative Experiments and Practical Integration
3. Results
3.1. Spatial Distribution Analysis
3.2. Comparative Evaluation of Generation Strategies
3.3. Domain Adaptation and MinerU Validation
- –
- loading the pre-trained YOLO weight file into the MinerU YOLO module;
- –
- automatically redefining the detection head to match the target class configuration;
- –
- performing fine-tuning on the target dataset, allowing the backbone weights to adapt further while learning new output layer parameters.
4. Discussion
- –
- using an optimized YOLO11m framework to maintain a balance between accuracy and computational efficiency;
- –
- implementing a mathematical model for supervised synthetic layout generation and a greedy density-controlled placement algorithm to increase structural variability;
- –
- integrating synthetic pre-training into a practical pipeline (including MinerU) to accelerate adaptation to real documents and reduce reliance on manual annotation.
- –
- Taken together, these improvements result in a more robust and computationally efficient DLA strategy focused on scalability and domain portability.
5. Conclusions
- A mathematical model for synthetic layout synthesis was developed, that formalizes data synthesis as a controllable probabilistic process. By utilizing a greedy placement algorithm to manage block density and spatial distribution, the model effectively eliminates positional priors and “central concentration” bias, improving generalization performance within the specific scope of the structured scientific and technical layouts addressed in this study.
- A data preparation strategy is optimized, experimentally proving that median-based element splitting combined with shuffled pool sampling is the most effective approach. This configuration yields a 2–4% metric improvement (precision 0.8429, mAP@50 0.8836), confirming that structural quality and statistical balance are more critical for convergence than raw data volume.
- Domain adaptation is accelerated, reducing the dependency on manual annotation. Pre-training on optimized synthetic layouts enables the YOLO11m model to successfully specialize using as few as 83 real-world images, demonstrating the method’s efficiency for document segments with scarce labeled data.
- Practical significance of the findings is validated through seamless integration into the MinerU system. The proposed methodology allows for the dynamic adaptation of the detector to new target classes without architectural changes or weight conversion, providing a scalable solution for industrial-grade document analysis.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| CNN | Convolutional Neural Networks |
| DiT | Document Image Transformer |
| DIR | Document Image Retrieval |
| DLA | Document Layout Analysis |
| DocBank | Document Bank Dataset |
| FN | False Negatives |
| FP | False Positives |
| GiT | Graph Transformer |
| IoU | Intersection Over Union |
| JSON | JavaScript Object Notation |
| LLM | large language Model |
| mAP | Mean Average Precision |
| OCR | Optical Character Recognition |
| R-CNN | Region-based Convolutional Neural Networks |
| SDLA | Semantic Document Layout Analysis |
| TN | True Negatives |
| TP | True Positives |
| ViT | Vision Transformer |
| VGT | Vision-and-Graph Transformer |
Appendix A








References
- Soto, C.; Yoo, S. Visual Detection with Context for Document Layout Analysis. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP); Association for Computational Linguistics: Hong Kong, China, 2019; pp. 3464–3470. [Google Scholar] [CrossRef]
- Oliaee, A.H.; Tripp, A.R. Layout Analysis of Historic Architectural Program Documents. In Proceedings of the ACM Symposium on Document Engineering 2023 (DocEng ’23); Association for Computing Machinery: New York, NY, USA, 2023; pp. 1–4. [Google Scholar] [CrossRef]
- Baloun, J.; Honzík, V.; Lenc, L.; Martínek, J.; Král, P. Heimatkunde: Dataset for Multi-Modal Historical Document Analysis; ScitePress: Setúbal, Portugal, 2024. [Google Scholar] [CrossRef]
- Sheikh, T.U.; Shehzadi, T.; Hashmi, K.A.; Stricker, D.; Afzal, M.Z. UnSupDLA: Towards Unsupervised Document Layout Analysis. In Document Analysis Systems (DAS 2024); Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2024; Volume 14994. [Google Scholar] [CrossRef]
- Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.-T.; Rocktäschel, T.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Proceedings of the 34th International Conference on Neural Information Processing Systems (NeurIPS 2020); Curran Associates, Inc.: Red Hook, NY, USA, 2020; pp. 9459–9474. [Google Scholar]
- Rajan, R.; Devasena, M.S.G. Deep Learning-Based Optimization Model for Document Layout and Text Recognition. Ain Shams Eng. J. 2025, 16, 103587. [Google Scholar] [CrossRef]
- Gao, Z.; Li, S. YOLOLayout: Multi-Scale Cross Fusion Former for Document Layout Analysis. Int. J. Emerg. Technol. Adv. Appl. 2024, 1, 8–15. [Google Scholar] [CrossRef]
- Akanda, M.M.B.A.N.; Ahmed, M.; Rabby, A.K.M.S.A.; Rahman, F. Optimum Deep Learning Method for Document Layout Analysis in Low Resource Languages. In Proceedings of the 2024 ACM Southeast Conference (ACMSE ’24); ACM: New York, NY, USA, 2024; pp. 199–204. [Google Scholar] [CrossRef]
- Qiao, M.; Li, L.; Chu, X.; Shang, Z.; Zhang, W.; Luo, Z. Synthetic Dataset and Enhanced YOLOv11 for Robust Financial Document Layout Analysis. In Proceedings of the 2025 International Conference on Artificial Intelligence and Digital Finance (AIDF 2025); Association for Computing Machinery: New York, NY, USA, 2025; pp. 99–104. [Google Scholar] [CrossRef]
- Tu, H.-J.; Hsu, J.-L. Enhancing Medical Diagnosis Document Analysis with Layout-Aware Multitask Models. Diagnostics 2025, 15, 3039. [Google Scholar] [CrossRef]
- Zhou, C.; Ha, M.; Wu, L. Direction-Aware Lightweight Framework for Traditional Mongolian Document Layout Analysis. Appl. Sci. 2025, 15, 4594. [Google Scholar] [CrossRef]
- Wang, T.W. Document Layout Classification and Analysis Using YOLOv8. In Proceedings of the 3rd IEEE International Conference on Image Processing and Computer Applications (ICIPCA 2025); IEEE: Shenyang, China, 2025; pp. 630–635. [Google Scholar] [CrossRef]
- Li, D.L.; Lee, S.K.; Liu, Y.T. Printed Document Layout Analysis and Optical Character Recognition System Based on Deep Learning. Sci. Rep. 2025, 15, 23761. [Google Scholar] [CrossRef]
- Da, C.; Luo, C.; Zheng, Q.; Yao, C. Vision Grid Transformer for Document Layout Analysis. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV 2023); IEEE: New York, NY, USA, 2023. [Google Scholar] [CrossRef]
- Binmakhashen, G.M.; Mahmoud, S.A. Document Layout Analysis: A Comprehensive Survey. ACM Comput. Surv. 2020, 52, 109. [Google Scholar] [CrossRef]
- Ke, W.; Zheng, Y.; Li, Y.; Xu, H.; Nie, D.; Wang, P.; He, Y. Large Language Models in Document Intelligence: A Comprehensive Survey, Recent Advances, Challenges, and Future Trends. ACM Trans. Inf. Syst. 2026, 44, 18. [Google Scholar] [CrossRef]
- Yes, E. Comparative Semantic Document Layout Analysis for Enhanced Document Image Retrieval. IEEE Access 2024, 12, 150451–150467. [Google Scholar] [CrossRef]
- Pronina, O.; Piatykop, O.; Levytska, T.; Fedosova, I. Research on the Use of the Convolutional Neural Network for Speech Impairment Detection. In Digitalisation and Digital Transformation; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2026; Volume 2647. [Google Scholar] [CrossRef]
- Rahal, R.; Habash, I.; Slimani, I.; Kessentini, Y.; Alimi, A.M. Historical Document Image Analysis Using Controlled Data for Pre-Training Neural Networks. Int. J. Doc. Anal. Recognit. 2023, 26, 241–254. [Google Scholar] [CrossRef]
- De Nardin, A.; Zottin, S.; Piciarelli, C.; Foresti, G.L.; Colombi, E. In-Domain versus Out-of-Domain Transfer Learning for Document Segmentation in the Wild. Int. J. Doc. Anal. Recognit. 2024, 28, 161–175. [Google Scholar] [CrossRef]
- Júnior, E.S.d.S.; Paixão, T.; Alvarez, A.B. Comparative Performance of YOLOv8, YOLOv9, YOLOv10, and YOLOv11 for Layout Analysis of Historical Document Images. Appl. Sci. 2025, 15, 3164. [Google Scholar] [CrossRef]
- Krichen, M. Convolutional Neural Networks: A Survey. Computers 2023, 12, 151. [Google Scholar] [CrossRef]
- Pronina, O.; Piatykop, O. Recognition of Violations of Individual Labor Protection Rules Using a Convolutional Neural Network. In Proceedings of the International Scientific and Technical Conference on Computer Sciences and Information Technologies (CSIT 2022); IEEE: New York, NY, USA, 2022; pp. 69–72. [Google Scholar] [CrossRef]
- Mukovoz, V.; Vakaliuk, T.; Semerikov, S. Road Sign Recognition Using Convolutional Neural Networks. In Information Technology for Education, Science, and Technics; Lecture Notes on Data Engineering and Communications Technologies; Springer: Cham, Switzerland, 2024; Volume 222. [Google Scholar] [CrossRef]
- Pronina, O.; Levytska, T.; Fedosova, I.; Piatykop, O. Analysis of X-Ray Images of the Lungs Using a Neural Network. In New Technologies, Development and Application IV; Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2021; Volume 233. [Google Scholar] [CrossRef]
- Hou, L.; Pan, Z.; Li, Y.; Zhang, X.; Zheng, X.; Wang, Y. An Efficient Deep Learning Approach for Document Layout Extraction and Semantic Recognition. Math. Probl. Eng. 2024, 2024, 2797320. [Google Scholar] [CrossRef]
- Bharati, P.; Pramanik, A. Deep Learning Techniques—R-CNN to Mask R-CNN: A Survey. In Computational Intelligence in Pattern Recognition; Advances in Intelligent Systems and Computing; Das, A., Nayak, J., Naik, B., Pati, S., Pelusi, D., Eds.; Springer: Singapore, 2020; Volume 999, pp. 657–668. [Google Scholar] [CrossRef]
- Droby, A.; Kurar Barakat, B.; Alaasam, R.; Madi, B.; Rabaev, I.; El-Sana, J. Text Line Extraction in Historical Documents Using Mask R-CNN. Signals 2022, 3, 535–549. [Google Scholar] [CrossRef]
- Aljiffry, L.; Al-Barhamtoshy, H.; Abukhodair, F.; Jamal, A. Arabic Historical Documents Layout Analysis Using Mask R-CNN. Procedia Comput. Sci. 2024, 244, 453–460. [Google Scholar] [CrossRef]
- Yeerjiang, A.; Wang, Z.; Huang, X.; Zhang, J.; Chen, Q.; Qin, Y.; He, J. YOLOv1 to YOLOv10: A Comprehensive Review of YOLO Variants and Their Application in Medical Image Detection. J. Artif. Intell. Pract. 2024, 7, 112–122. [Google Scholar] [CrossRef]
- Carta, S.; Giuliani, A.; Piano, L.; Tiddia, S.G. An End-to-End OCR-Free Solution for Identity Document Information Extraction. Procedia Comput. Sci. 2024, 246, 453–462. [Google Scholar] [CrossRef]
- Kumar, A.; Lehal, G.S. Faster CNN-Based Layout Analysis of Punjabi Newspapers Using the Custom Dataset. In Human-Centric Smart Computing; Springer: Singapore, 2024; Volume 376, pp. 117–127. [Google Scholar] [CrossRef]
- Kim, G.; Hong, T.; Yim, M.; Nam, J.; Park, J.; Yim, J.; Hwang, W.; Yun, S.; Han, D.; Park, S. OCR-Free Document Understanding Transformer. In Computer Vision—ECCV 2022; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2022; Volume 13688. [Google Scholar] [CrossRef]
- Li, J.; Xu, Y.; Lv, T.; Cui, L.; Zhang, C.; Wei, F. DiT: Self-Supervised Pre-Training for Document Image Transformer. In Proceedings of the 30th ACM International Conference on Multimedia (MM ’22); Association for Computing Machinery: New York, NY, USA, 2022; pp. 3530–3539. [Google Scholar] [CrossRef]
- Huang, Y.; Lv, T.; Cui, L.; Lu, Y.; Wei, F. LayoutLMv3: Pre-Training for Document AI with Unified Text and Image Masking. In Proceedings of the ACM International Conference on Multimedia; Association for Computing Machinery: New York, NY, USA, 2022; pp. 4083–4091. [Google Scholar] [CrossRef]
- Wang, J.; Hu, K.; Huo, Q. DLAFormer: An End-to-End Transformer for Document Layout Analysis. In Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2024. [Google Scholar] [CrossRef]
- Li, S.; Ma, X.; Pan, S.; Hu, J.; Shi, L.; Wang, Q. VTLayout: Fusion of Visual and Text Features for Document Layout Analysis. In Trends in Artificial Intelligence; PRICAI 2021; Pham, D.N., Theeramunkong, T., Governatori, G., Liu, F., Eds.; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2021; Volume 13031, pp. 308–322. [Google Scholar] [CrossRef]
- Xu, Y.; Li, M.; Cui, L.; Huang, S.; Wei, F.; Zhou, M. LayoutLM: Pre-Training of Text and Layout for Document Image Understanding. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD ’20); ACM: New York, NY, USA, 2020; pp. 1192–1200. [Google Scholar] [CrossRef]
- Nguyen, H.G.; Bründl, P.; Franke, J. Synthetic Image Data Generation for Wiring Harness Component Detection Using Machine Learning. Eng. Proc. 2025, 89, 30. [Google Scholar] [CrossRef]
- Miletic, M.; Sariyar, M. Challenges of Using Synthetic Data Generation Methods for Tabular Microdata. Appl. Sci. 2024, 14, 5975. [Google Scholar] [CrossRef]
- Mumuni, A.; Mumuni, F.; Gerrar, N.K. A Survey of Synthetic Data Augmentation Methods in Machine Vision. Mach. Intell. Res. 2024, 21, 831–869. [Google Scholar] [CrossRef]
- Silva, K.; Can, B.; Sarwar, R.; Blain, F.; Mitkov, R. Text Data Augmentation Using Generative Adversarial Networks—A Systematic Review. J. Comput. Appl. Linguist. 2023, 1, 6–38. [Google Scholar] [CrossRef]
- Qi, H.; Meng, X.; Du, Z. YOLO-DLA: A YOLO-Based Unified Framework for Multi-Scale Document Layout Analysis. Expert Syst. Appl. 2026, 299, 129981. [Google Scholar] [CrossRef]
- Deng, Q.; Ibrayim, M.; Hamdulla, A.; Zhang, C. The YOLO Model That Still Excels in Document Layout Analysis. Signal Image Video Process. 2024, 18, 1539–1548. [Google Scholar] [CrossRef]
- Xu, K.; Xiao, L.; Shi, C.; Zhang, Y. YOLOv8’s Layout Analysis Algorithm Integrates Multiscale Features. In Proceedings of SPIE 13521, International Conference on Computer Vision and Image Processing (CVIP 2024); SPIE: Bellingham, WA, USA, 2025; p. 1352103. [Google Scholar] [CrossRef]
- Ultralytics. YOLO11: State-of-the-Art Object Detection Model. GitHub Repository. Available online: https://github.com/ultralytics/ultralytics (accessed on 11 December 2025).
- Li, M.; Xu, Y.; Cui, L.; Huang, S.; Wei, F.; Li, Z.; Zhou, M. DocBank: A Benchmark Dataset for Document Layout Analysis. arXiv 2020, arXiv:2006.01038. [Google Scholar] [CrossRef]
- Wang, B.; Xu, C.; Zhao, X.; Ouyang, L.; Wu, F.; Zhao, Z.; Xu, R.; Liu, K.; Qu, Y.; Shang, F.; et al. MinerU: An Open-Source Solution for Precise Document Content Extraction. arXiv 2024, arXiv:2409.18839. [Google Scholar]
- OpenDataLab. PDF-Extract-Kit: A Powerful Open-Source Toolkit Designed to Efficiently Extract High-Quality Content from Complex and Diverse PDF Documents. Available online: https://github.com/opendatalab/PDF-Extract-Kit (accessed on 17 December 2025).















| Problem Group | Key Challenges |
|---|---|
| Data and markup (labeling) | Lack of labeled datasets [3,4,9,19,20,39,41] High cost and significant time required for manual annotation [4,19,34,35,39,41] Strong dependence of model performance on annotation quality [4,16,19,20,33,34,35] Limitations of standard augmentation techniques [9,19,39,41,42] Slow convergence when training on small datasets [4,8,16,19,20,34,35] |
| Computational complexity and model efficiency | High computing power requirements for heavy architectures [11,12,14,33,35,36,44] Necessity for optimization and development of lightweight architectures [7,11,12,43,45] |
| Structural limitations of models | Low structural variability in existing training layouts [7,14,17,26,36,43] Typical patterns of “central concentration” of blocks leading to spatial bias [7,14,36,43] Difficulty in adapting models to new document types [2,8,10,11,13,19,20,29,32] |
| Constructs | Previous Research | Limitations | Contributions |
|---|---|---|---|
| Recognition architectures | YOLO and modifications [7,8,9,12,21,30,44,45,46,47] CNN/R-CNN/Mask R-CNN [1,17,22,23,24,27,28,29,32] Transformer architectures [14,33,34,35,36] OCR-Free/End-to-End [13,31] Complex DL models (DLA) [4,6,11,26,37] | Heavy models require significant computing power; difficulty adapting to new document types | Using efficient YOLO11m with input data optimization to achieve mAP 0.85–0.90 |
| Training data preparation | Datasets and benchmarks [3,39,46] Controlled/Pre-training [19] Transfer learning methods [47,48] | Lack of labeled data; high cost and time of manual annotation | Mathematical model of controlled generation of synthetic layouts |
| Synthetic model quality | “Naive” methods for augmentation and removal of frequent classes [9] Synthetic data generation [40,43] Synthetic data problems [41,42] | Low structural variability; typical “central concentration” patterns of blocks | A greedy placement algorithm with density control and dynamic median splitting of elements |
| Practical adaptation | Low-Resource Languages [8,11] Domain Adaptation [20] Application Systems [2,6,10,13] LLM Integration [5,16] | Slow convergence of models on small samples of new domains | MinerU Integration: Accelerating Weight Correction for Real Documents via Synthetic Pre-training |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Pronina, O.; Xia, T.; Sheliah, K.; Piatykop, O.; Efremenko, V.; Balalayeva, E. Improving Document Layout Analysis Using Synthetic Data Generation and Convolutional Models. Appl. Sci. 2026, 16, 3089. https://doi.org/10.3390/app16063089
Pronina O, Xia T, Sheliah K, Piatykop O, Efremenko V, Balalayeva E. Improving Document Layout Analysis Using Synthetic Data Generation and Convolutional Models. Applied Sciences. 2026; 16(6):3089. https://doi.org/10.3390/app16063089
Chicago/Turabian StylePronina, Olha, Tao Xia, Kyrylo Sheliah, Olena Piatykop, Vasily Efremenko, and Elena Balalayeva. 2026. "Improving Document Layout Analysis Using Synthetic Data Generation and Convolutional Models" Applied Sciences 16, no. 6: 3089. https://doi.org/10.3390/app16063089
APA StylePronina, O., Xia, T., Sheliah, K., Piatykop, O., Efremenko, V., & Balalayeva, E. (2026). Improving Document Layout Analysis Using Synthetic Data Generation and Convolutional Models. Applied Sciences, 16(6), 3089. https://doi.org/10.3390/app16063089

