Abstract
Document Layout Analysis (DLA) is a foundational task in document digitization, yet deep learning models for DLA are notoriously data-hungry. This paper presents a Human-In-The-Loop (HITL) framework that leverages a multi-agent "Key Samples Selection" (KSS) strategy to identify the most informative document regions for human annotation. By utilizing synthetic data for initialization and a disagreement-based selection process, the framework achieves state-of-the-art results on benchmarks like DSSE-200 using only 10% of the labeled data.
Introduction
Document Layout Analysis (DLA) involves segmenting document images into semantic regions such as text, tables, and figures. While deep learning has significantly improved DLA accuracy, the requirement for large-scale, pixel-level annotated datasets remains a major bottleneck. Traditional active learning methods often rely on internal model confidence scores, which can be unreliable for complex segmentation tasks. This research proposes a more surgical approach to data selection, focusing on "key samples" that provide maximum knowledge gain with minimal human effort.
The Key Samples Selection (KSS) Framework
The proposed framework, termed Key Samples Selection (KSS), operates in three distinct stages: initialization, collaboration, and update.
Agent Initialization
To overcome the "cold start" problem, the system begins with a "warm-up" phase. A LaTeX-based synthesis engine generates approximately 3,000 synthetic document samples. Two distinct architectural agents are then pre-trained on this data:
- Main Agent: A ResNet18-based encoder-decoder architecture. It incorporates a novel Dynamic Residual Feature fusion (DRF) module designed to integrate high-dimensional semantic information more effectively.
- Cooperative Agent: A different architecture based on FCN8 with a VGG16 backbone.
Agent Collaboration and Disagreement
The core innovation lies in the "collaboration" stage. Instead of relying on a single model's confidence, the framework runs both the Main and Cooperative agents on unlabeled data. If the pixel classification disagreement between the two models exceeds a specific threshold (e.g., 25%), the image is flagged as a "key sample." This disagreement serves as a robust proxy for uncertainty, identifying images that the current models find most challenging. These samples are then sent to a human annotator for precise labeling.
Reinforcement Learning-based Update
After human intervention, the models are updated using Reinforcement Learning-based Sample RE-tuning (RBSRE). This strategy assigns dynamic weights to new human-labeled samples versus the original synthetic data. This prevents "catastrophic forgetting" of general document structures while ensuring the model effectively absorbs the nuances of the new, real-world data.
Experimental Evaluation
The KSS framework was evaluated on two prominent DLA benchmarks: DSSE-200 (diverse magazine and newspaper layouts) and CS-150 (scientific papers).
- Efficiency: On DSSE-200, the F1 score improved from a baseline of 77.1% to 86.3% using only 10% of the available labeled data.
- Accuracy: On CS-150, the framework achieved an F1 score of 95.6%, up from 88.0%.
- Model Complexity: The Main Agent maintains a compact footprint with 15 million parameters, significantly smaller than many state-of-the-art competitors (some reaching 168 million parameters), without sacrificing performance.
Conclusion
The multi-agent HITL approach demonstrates that strategic data selection is more effective than brute-force labeling. By using architectural diversity to identify uncertainty and synthetic data as a foundation, the KSS framework significantly reduces the human labor required for high-performance Document Layout Analysis. Future work will focus on refining the disagreement thresholds and enhancing the complexity of synthetic data generation to further minimize human intervention.
Summary updated