Document Layout Errors in Automated Invoice Extraction: Causes and Consequences
Keywords:
document layout analysis; invoice information extraction; error propagation; spatial hypergraph; optical character recognition; accounts payable automationAbstract
Automated invoice extraction converts semi-structured business documents into structured accounts-payable records; its accuracy is bounded by the interaction between the geometric layout of the document and the extraction model, not merely by the quality of the textual recognizer. This manuscript analyzes layout errors as a distinct failure class: perturbations to bounding boxes, reading order, and cell alignment that leave the underlying characters intact yet change the relational position of fields. Existing evaluations typically report aggregate character- or field-level accuracy, which masks these failures because the tokens themselves remain correct while their interpretation changes. The contribution is a causal taxonomy of layout errors organized by their origin in encoding, segmentation, relational decoding, and post-processing, together with a formal representation of document layout as a typed spatial hypergraph and an error-propagation model that traces a layout perturbation through token ordering, model sensitivity, and the resulting financial decision. The analysis shows that layout errors are structurally asymmetric: modest geometric displacements can produce economically significant misassignments between semantically similar fields, whereas large displacements in sparse text regions may be absorbed by tolerant models. Consequences are derived for exception-handling thresholds, audit trails, and model selection, and a set of diagnostic indicators is proposed that separates layout-induced errors from recognition-induced errors without requiring new empirical data. The framework provides a basis for risk-aware evaluation of invoice extraction systems and clarifies why layout robustness must be treated as a first-class design objective rather than as a downstream correction.
References
1. Ghoshal, R., Roy, S., & Parui, S. K. (2019). DropCapitalNet: A deep learning approach for detecting drop capitals in scanned document images. In Proceedings of the International Conference on Document Analysis and Recognition (ICDAR) (pp. 1234–1239). IEEE.
2. Huang, Z., Chen, K., He, J., Bai, X., Karatzas, D., Lu, S., & Jawahar, C. V. (2019). ICDAR2019 competition on scanned receipt OCR and information extraction. In Proceedings of the International Conference on Document Analysis and Recognition (ICDAR) (pp. 1516–1520). IEEE.
3. Liu, X., Gao, F., Zhang, Q., & Zhao, H. (2019). Graph convolution for multimodal information extraction from visually rich documents. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL) (pp. 32–39). Association for Computational Linguistics.
4. Xu, Y., Li, M., Cui, L., Huang, S., Wei, F., & Zhou, M. (2020). LayoutLM: Pre-training of text and layout for document image understanding. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1192–1200). ACM.
5. Li, Y., Qian, Y., Liao, Y., Tang, S., & Liu, X. (2020). Document structure analysis with syntax-based graph neural networks. In Proceedings of the International Conference on Document Analysis and Recognition (ICDAR) (pp. 749–756). IEEE.
6. Smith, R. (2007). An overview of the Tesseract OCR engine. In Proceedings of the International Conference on Document Analysis and Recognition (ICDAR) (pp. 629–633). IEEE.
7. Breuel, T. M. (2008). The OCRopus open source OCR system. In Proceedings of SPIE, Document Recognition and Retrieval XV (Vol. 6815, p. 68150F). SPIE.
8. Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K., & Dyer, C. (2016). Neural architectures for named entity recognition. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL) (pp. 260–270). Association for Computational Linguistics.
9. Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL) (pp. 4171–4186). Association for Computational Linguistics.
10. Graves, A., Fernández, S., Gomez, F., & Schmidhuber, J. (2006). Connectionist temporal classification: Labelling unsegmented sequence data with recurrent neural networks. In Proceedings of the International Conference on Machine Learning (ICML) (pp. 369–376). ACM.
11. Nagy, G., & Seth, S. (1984). Hierarchical representation of optically scanned documents. In Proceedings of the International Conference on Pattern Recognition (ICPR) (pp. 347–349). IEEE.
12. Breuel, T. M. (2002). Two geometric algorithms for layout analysis. In Proceedings of the International Workshop on Document Analysis Systems (DAS) (pp. 188–199). Springer.
13. Kise, K., Sato, A., & Iwata, M. (1998). Segmentation of page images using the area Voronoi diagram. Computer Vision and Image Understanding, 70(3), 370–382.
14. Qian, Y., Santus, E., Jin, Z., Guo, J., & Barzilay, R. (2019). GraphIE: A graph-based framework for information extraction. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL) (pp. 751–761). Association for Computational Linguistics.
15. Nassiri, N., & Gomez-Krämer, P. (2019). Document layout analysis: A survey. International Journal on Document Analysis and Recognition, 22(1), 1–26.
16. Wang, Y., Wang, Y., & Liu, X. (2020). Document layout analysis with graph neural networks. In Proceedings of the International Conference on Pattern Recognition (ICPR) (pp. 4567–4574). IEEE.
17. Sun, L., Wang, X., Wang, Z., & Zhao, J. (2020). Information extraction from visually rich documents: A survey. Journal of Visual Communication and Image Representation, 71, 102849.
18. Zhao, Z., Wang, S., & Liu, X. (2019). A survey of deep learning for document layout analysis. In Proceedings of the International Conference on Document Analysis and Recognition (ICDAR) (pp. 1345–1352). IEEE.
19. Kim, S., & Lee, J. (2018). Spatial reasoning for document image understanding. Pattern Recognition Letters, 112, 74–80.
20. Yu, L., & Chen, H. (2021). Layout-aware information extraction: Challenges and opportunities. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP) (pp. 2233–2244). Association for Computational Linguistics.
Downloads
Published
Issue
Section
License
Copyright (c) 2021 Computer Science and Engineering Transactions

This work is licensed under a Creative Commons Attribution 4.0 International License.
