Abstract
Extracting semantic structure from document images is a critical step for modern digital workflows. Adobe researchers have introduced a novel hierarchical semantic segmentation network designed to handle the unique complexities of document forms. By processing images at a high resolution ($1800 \times 1000$) using a strip-based approach with prior-based continuity, the model effectively captures dense, small-scale elements like checkboxes and text fields. This method significantly outperforms standard segmentation baselines and is currently deployed in Adobe AEM Forms.
The Challenge of Form Extraction
Standard document structure extraction often fails when applied to forms. Unlike academic papers or news articles, forms are characterized by extreme density and complex hierarchical relationships. A single "Text Field," for instance, is a composite of a "Caption" (text) and a "Widget" (the fillable area).
Furthermore, traditional models often downscale images to save memory, which causes small, distinct elements to merge into indistinguishable "blobs." To preserve these structures, high-resolution processing is non-negotiable for accurate extraction.
Methodology: The Highresnet Architecture
The proposed model, Highresnet, introduces three key innovations to address these challenges:
1. Prior-Based Strip Segmentation
To process high-resolution images without exceeding GPU memory limits, the model divides the document into overlapping horizontal strips. To maintain structural continuity, the prediction mask from the previous strip is used as a "prior" for the current strip. This ensures that elements spanning multiple strips, such as tables or long text blocks, are not logically fragmented.
2. Bi-directional 1D Dilated Convolutions
Document elements are typically aligned along horizontal and vertical axes. Highresnet utilizes 1D dilated convolutions that scan the entire width and height of the document independently. This allows the model to capture long-range spatial dependencies, such as a label on the left side of a page corresponding to a checkbox on the far right.
3. Hierarchical Output Heads
The network employs multiple output heads to predict different levels of the document hierarchy simultaneously. By learning low-level "TextRuns" and high-level "Choice Groups" in parallel, the shared encoder features become more robust, satisfying multiple structural constraints at once.
Data and Results
The researchers introduced a new, massive dataset of 52,490 human-annotated form images spanning medical, governmental, and financial domains. This dataset provides a rigorous benchmark for hierarchical structure extraction.
In comparative evaluations, Highresnet significantly outperformed state-of-the-art models like DeepLabV3+. On the new Forms dataset, Highresnet achieved a 92.7 Mean IoU for TextRuns, a substantial improvement over the 81.63 achieved by the best baseline.
Real-World Impact and Future Directions
The effectiveness of this approach is demonstrated by its integration into Adobe AEM Forms, where it powers the automated conversion of legacy PDF and paper forms into responsive, mobile-friendly HTML.
While highly effective for axis-aligned professional forms, future work may explore integrating OCR features to better disambiguate complex labels and optimizing the strip-based processing for real-time performance on mobile devices.
Summary updated