Skip to main content
QUICK REVIEW

[Paper Review] PP-StructureV2: A Stronger Document Analysis System

Chenxia Li, Ruoyu Guo|arXiv (Cornell University)|Oct 11, 2022
Handwritten Text Recognition TechniquesComputer Science13 citations
TL;DR

PP-StructureV2 is an enhanced document analysis system that improves layout analysis, table recognition, and key information extraction through optimized models and new modules. It achieves 11x faster inference with comparable mAP, 6% higher table accuracy, and 9.1% improved relation extraction via lightweighting, knowledge distillation, and a visual-feature independent LayoutXLM variant.

ABSTRACT

A large amount of document data exists in unstructured form such as raw images without any text information. Designing a practical document image analysis system is a meaningful but challenging task. In previous work, we proposed an intelligent document analysis system PP-Structure. In order to further upgrade the function and performance of PP-Structure, we propose PP-StructureV2 in this work, which contains two subsystems: Layout Information Extraction and Key Information Extraction. Firstly, we integrate Image Direction Correction module and Layout Restoration module to enhance the functionality of the system. Secondly, 8 practical strategies are utilized in PP-StructureV2 for better performance. For Layout Analysis model, we introduce ultra light-weight detector PP-PicoDet and knowledge distillation algorithm FGD for model lightweighting, which increased the inference speed by 11 times with comparable mAP. For Table Recognition model, we utilize PP-LCNet, CSP-PAN and SLAHead to optimize the backbone module, feature fusion module and decoding module, respectively, which improved the table structure accuracy by 6\% with comparable inference speed. For Key Information Extraction model, we introduce VI-LayoutXLM which is a visual-feature independent LayoutXLM architecture, TB-YX sorting algorithm and U-DML knowledge distillation algorithm, which brought 2.8\% and 9.1\% improvement respectively on the Hmean of Semantic Entity Recognition and Relation Extraction tasks. All the above mentioned models and code are open-sourced in the GitHub repository PaddleOCR.

Motivation & Objective

  • To develop a more robust and efficient document analysis system that supports practical deployment on CPUs and mobile devices.
  • To address the limitations of PP-Structure, such as poor CPU efficiency and limited functionality for rotated or complex-layout documents.
  • To enhance performance in layout analysis, table recognition, and key information extraction without sacrificing inference speed.
  • To integrate image direction correction and layout recovery for end-to-end editable document output.
  • To improve model efficiency and accuracy through knowledge distillation and lightweight architecture design.

Proposed method

  • Introduces an Image Direction Correction module to handle rotated document images before analysis.
  • Employs a Layout Restoration module to reconstruct the original layout into an editable Word file after analysis.
  • Uses PP-PicoDet, a lightweight YOLO-based detector, combined with FGD knowledge distillation to accelerate layout analysis by 11x with comparable mAP.
  • Optimizes the table recognition model with PP-LCNet (backbone), CSP-PAN (feature fusion), and SLAHead (structure-aware decoding), improving accuracy by 6%.
  • Proposes VI-LayoutXLM, a visual-feature independent LayoutXLM variant, to improve generalization and inference speed in key information extraction.
  • Applies TB-YX sorting for reading-order alignment and U-DML knowledge distillation to further boost SER and RE performance.

Experimental results

Research questions

  • RQ1How can document analysis systems be made significantly faster while maintaining or improving accuracy?
  • RQ2What improvements can be achieved in layout analysis, table recognition, and key information extraction through model lightweighting and knowledge distillation?
  • RQ3Can a visual-feature independent LayoutXLM variant improve performance and inference speed in key information extraction tasks?
  • RQ4How effective are the new modules—Image Direction Correction and Layout Restoration—in enhancing system robustness and usability?
  • RQ5To what extent do optimized components like SLAHead and TB-YX sorting improve structural accuracy and relation extraction in document understanding?

Key findings

  • PP-StructureV2 achieves 11x faster inference speed in layout analysis compared to the previous version, with comparable mAP, using PP-PicoDet and FGD knowledge distillation.
  • Table recognition accuracy improves by 6% on PubTabNet using PP-LCNet, CSP-PAN, and SLAHead, with inference time remaining comparable.
  • The VI-LayoutXLM model achieves a 0.96% higher Hmean on SER and a 9.1% improvement in RE Hmean on XFUND-zh compared to LayoutXLM, with reduced model size and faster inference.
  • The TB-YX sorting algorithm increases RE Hmean from 71.87% to 78.81% on XFUND-zh, demonstrating the importance of reading order in KIE.
  • U-DML knowledge distillation boosts RE Hmean to 83.92% on XFUND-zh, with minimal speed penalty, showing strong generalization and efficiency.
  • The system outperforms PP-Structure across all subtasks—layout analysis, table recognition, and key information extraction—while being more suitable for CPU and mobile deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.