Toward Semi-Supervised Graphical Object Detection in Document Images

Goutham Kallempudi, Khurram Azeem Hashmi, Alain Pagani, Marcus Liwicki, Didier Stricker, Muhammad Zeshan AfzalFuture Internet 2022 · DOI

TL;DR

This paper introduces a novel end-to-end semi-supervised framework for detecting graphical objects like tables and figures in document images. By leveraging the "Soft Teacher" mechanism, it significantly improves detection accuracy with very little labeled data, outperforming traditional supervised methods.

What Problem Does This Paper Address?

Document analysis often requires identifying and localizing visual elements such as tables, figures, and images. While deep learning has revolutionized object detection, these methods typically demand vast amounts of meticulously labeled data for training. This is a significant bottleneck, as manual annotation is time-consuming and error-prone. The paper addresses this by proposing a semi-supervised approach that effectively utilizes unlabeled data to train robust graphical object detectors, thereby reducing the reliance on extensive manual labeling.

Methods

The core of the proposed method is an end-to-end semi-supervised framework based on the "Soft Teacher" mechanism. This approach trains two models simultaneously: a "student" model for detection and a "teacher" model for generating pseudo-labels. The teacher model is an Exponential Moving Average (EMA) of the student model, ensuring that the pseudo-labeling process is continuously refined.

The framework employs two key techniques to improve the quality of pseudo-labels and the overall detection:

  • Soft Teacher: This technique helps reduce the misassignment of foreground boxes to background. It assesses the reliability of student-generated boxes to be background, which is then used to calculate a background loss.
  • Box Jittering: This technique addresses inaccuracies in box localization by refining predicted bounding boxes multiple times using the teacher model. It then calculates a regression variance to identify boxes with high localization accuracy.

The overall loss function is a weighted sum of supervised and unsupervised losses, allowing the model to learn from both labeled and unlabeled data.

Datasets

The experiments were conducted on three primary datasets:

  • PubLayNet: A large dataset derived from over a million documents, containing annotations for tables, figures, text, titles, and lists. A subset, sub-PubLayNet, was created with only "Figure" and "Table" labels for cross-validation.
  • IIIT-AR-13K: A dataset of business documents, primarily annual reports, with annotations for tables, figures, natural images, logos, and signatures. A subset, sub-IIIT-AR-13K, was created with "Figure" and "Table" labels.
  • DocBank: A dataset with 16 classes. A subset, sub-DocBank, was created with "Table" and "Figure" labels.

The paper also introduces a strategy for creating partially labeled training data by using 1%, 5%, and 10% of the available annotations, with the remaining data treated as unlabeled.

Key Insights and Ideas

  • Leveraging the "Flywheel Effect": The simultaneous training of student and teacher models creates a "flywheel effect," where each model continuously refines the other's predictions, leading to improved performance even with limited labeled data.
  • End-to-End Semi-Supervision: Unlike previous multi-stage semi-supervised methods, this approach integrates pseudo-labeling and training into a single, end-to-end pipeline, simplifying the process and potentially improving efficiency.
  • Cross-Dataset Similarity: The cross-validation experiments suggest that PubLayNet and DocBank datasets are more similar in terms of graphical objects than IIIT-AR-13K, which is primarily composed of business reports. This highlights the importance of domain similarity for effective model transfer.
  • Effectiveness of Soft Teacher and Box Jittering: These specific techniques within the Soft Teacher framework are crucial for improving both classification and localization accuracy in the semi-supervised setting.

Key Results

  • Outperforms Supervised Methods: The proposed semi-supervised framework consistently outperforms supervised models across all labeling ratios (1%, 5%, and 10%) on both PubLayNet and IIIT-AR-13K datasets.
  • Significant Improvement on PubLayNet: On the PubLayNet dataset with 10% labeled data, the model improved the average precision for Table, Figure, and List by +5.4, +1.2, and +3.2 points, respectively, achieving a total mAP comparable to the Faster-RCNN baseline.
  • Competitive Performance on IIIT-AR-13K: The model trained on 10% of the IIIT-AR-13K dataset beat a previous fully supervised method by 4.5 points in mAP.
  • Efficiency: The semi-supervised models achieved higher FPS (Frames Per Second) compared to some supervised baselines, indicating better inference speed.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while the framework performs well, the performance on the IIIT-AR-13K dataset is not as strong when cross-validated on other datasets, likely due to domain differences.
  • The current work primarily focuses on Faster R-CNN. The paper suggests showing that the statement holds for multiple backbones.
  • Future Work:
    • Investigate the use of more powerful two-stage detectors like Cascade-RCNN for potentially better detection results.
  • Further analyze the impact of the percentage of labeled data on the final performance.
  • Explore and compare various other semi-supervised frameworks, including consistency-based methods, to establish a comprehensive baseline for semi-supervised graphical page object detection.
  • Design more robust models that can effectively learn from minimal annotated data.

Summary updated

BibTeX
@article{kallempudi2022toward,
  author = {Goutham Kallempudi and Khurram Azeem Hashmi and Alain Pagani and Marcus Liwicki and Didier Stricker and Muhammad Zeshan Afzal},
  title = {{Toward Semi-Supervised Graphical Object Detection in Document Images}},
  journal = {Future Internet},
  year = {2022},
  doi = {10.3390/fi14060176},
}
Figure