Skip to main content
QUICK REVIEW

[Paper Review] WeLayout: WeChat Layout Analysis System for the ICDAR 2023 Competition on Robust Layout Segmentation in Corporate Documents

Mingliang Zhang, Zhenfu Cao|arXiv (Cornell University)|May 11, 2023
Handwritten Text Recognition TechniquesComputer Science3 citations
TL;DR

WeLayout proposes an ensemble of DINO and YOLO models with advanced post-processing and Bayesian optimization for robust layout segmentation in corporate documents. By leveraging category-specific training, data augmentation, cell matching, and Weighted Box Fusion with Tree-Structured Parzen Estimator optimization, the system achieved a 70.0 mAP on the ICDAR 2023 competition, securing first place on the leaderboard.

ABSTRACT

In this paper, we introduce WeLayout, a novel system for segmenting the layout of corporate documents, which stands for WeChat Layout Analysis System. Our approach utilizes a sophisticated ensemble of DINO and YOLO models, specifically developed for the ICDAR 2023 Competition on Robust Layout Segmentation. Our method significantly surpasses the baseline, securing a top position on the leaderboard with a mAP of 70.0. To achieve this performance, we concentrated on enhancing various aspects of the task, such as dataset augmentation, model architecture, bounding box refinement, and model ensemble techniques. Additionally, we trained the data separately for each document category to ensure a higher mean submission score. We also developed an algorithm for cell matching to further improve our performance. To identify the optimal weights and IoU thresholds for our model ensemble, we employed a Bayesian optimization algorithm called the Tree-Structured Parzen Estimator. Our approach effectively demonstrates the benefits of combining query-based and anchor-free models for achieving robust layout segmentation in corporate documents.

Motivation & Objective

  • To address the challenge of robust layout segmentation in complex corporate documents with diverse and intricate layouts.
  • To improve model generalization and performance through category-specific training and data augmentation.
  • To enhance prediction accuracy via post-processing techniques such as text-cell-based bounding box refinement and cell matching.
  • To optimize model ensemble performance using Bayesian hyperparameter tuning for Weighted Box Fusion.
  • To achieve state-of-the-art results on the ICDAR 2023 Robust Layout Segmentation in Corporate Documents competition.

Proposed method

  • The system employs a two-stage data synthesis pipeline: cropping objects from IIIT-AR-13K and TNCR datasets, then composing them into synthetic document images with 1–5 columns.
  • Synthetic data generation includes probabilistic placement of headers, footers, and other layout elements, resulting in 300,000 synthetic images.
  • A ViT-based classifier is trained to predict document categories (reports, manuals, patents, others), with label mapping to align with leaderboard scoring.
  • The model ensemble combines query-based DINO and anchor-free YOLOv8 models, with predictions fused using Weighted Box Fusion (WBF).
  • Bayesian optimization via Tree-Structured Parzen Estimator (TPE) is used to search for optimal WBF hyperparameters (weights and IoU thresholds) across 64 parallel processes.
  • A post-processing step refines bounding boxes using text-cell alignment, improving localization accuracy without affecting images or tables.

Experimental results

Research questions

  • RQ1Can a hybrid ensemble of query-based and anchor-free models improve layout segmentation accuracy in complex corporate documents?
  • RQ2To what extent does category-specific training and data augmentation enhance model generalization on diverse document layouts?
  • RQ3How effective is text-cell-based post-processing in refining bounding box predictions for layout segmentation?
  • RQ4Can Bayesian optimization efficiently navigate the large hyperparameter space of model ensembles to achieve superior performance?
  • RQ5What is the impact of Weighted Box Fusion with optimized hyperparameters on final mAP in layout segmentation?

Key findings

  • The final ensemble model achieved a mAP of 91.0 on the combined validation and test sets, significantly outperforming the baseline of 76.8.
  • Post-processing increased DINO’s mAP from 80.7 to 89.9 and YOLO’s from 79.9 to 88.5, demonstrating a 9.2 and 8.6 absolute improvement, respectively.
  • The cell matching algorithm significantly improved performance, indicating that raw model predictions were close but imprecise, requiring refinement.
  • Weighted Box Fusion with optimized hyperparameters achieved the highest mAP of 91.0, validating its effectiveness in ensemble learning.
  • The Bayesian optimization with TPE found near-optimal weights and IoU thresholds within a day using 64 parallel processes, making hyperparameter search practical.
  • The system secured first place on the ICDAR 2023 leaderboard with a final mAP of 70.0 on the official test set, significantly outperforming the baseline.

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.