TABLET introduces a novel "Split-Merge" framework for table structure recognition that replaces slow autoregressive decoders with highly efficient, encoder-only Transformers. By reframing row and column splitting as a sequence labeling task and cell merging as a grid classification task, it achieves state-of-the-art accuracy on dense financial tables while operating up to 30x faster than existing generative methods.
The Challenge of Table Structure Recognition
Extracting structured data from tables in PDFs or images remains a significant hurdle in document intelligence. Tables exhibit immense variety: some are bordered, others are borderless, and many—particularly in financial reports—are densely packed with small text and complex multi-row or multi-column spans.
Existing solutions typically fall into three categories:
- Bottom-up: These detect individual cells and group them, but often struggle with borderless layouts or empty cells.
- End-to-end (Generative): These use Large Vision-Language Models (LVLMs) to generate table HTML. While popular, they are computationally expensive and prone to "hallucinations," where a single early error can misalign the entire table.
- Top-down (Split-Merge): These split the table into a grid and then merge cells.
TABLET revitalizes the top-down approach, modernizing its architecture to handle high complexity without sacrificing industrial-scale processing speeds.
Methodology: The Split-Merge Pipeline
TABLET utilizes a two-stage pipeline designed for both precision and speed:
1. The Split Model
Rather than using traditional object detection to locate rows and columns, TABLET treats splitting as a sequence labeling task. It employs a modified ResNet-18 + FPN backbone. Crucially, the authors remove the Max Pooling layer to maintain high resolution, which is vital for recognizing the tiny fonts in dense financial tables. Two separate Transformer encoders then process horizontal and vertical feature sequences simultaneously to determine split lines.
2. The Merge Model
Once the grid is established, the model identifies which cells belong together (e.g., headers spanning multiple columns). Features for each grid cell are extracted via RoIAlign, and a third Transformer encoder models interactions across the 2D grid. To describe the structure, the authors use Optimised Table-Structure Language (OTSL), a minimized vocabulary (using tokens like C for new cell, L for merge left, and U for merge up) that significantly reduces token count compared to verbose HTML.
Key Insights and Results
Resolution and Metrics
In dense tables, the difference between a split line and a character stroke is often just a few pixels. By doubling the resolution through the removal of Max Pooling, TABLET significantly improves splitting accuracy. Furthermore, the authors advocate for a strict Accuracy metric—the percentage of tables where every single cell is correctly identified—rather than the more lenient Tree-Edit-Distance-based Similarity (TEDS). TABLET excels under this stricter standard.
Performance Benchmarks
Evaluated on heavyweights like FinTabNet and PubTabNet, TABLET demonstrated superior performance:
- Superior Accuracy: On the FinTabNet test set, TABLET achieved 88.18% accuracy, a notable jump over the previous state-of-the-art, TableMaster (~82%).
- Blazing Speed: Clocking in at 18.01 FPS on an NVIDIA A100, TABLET is roughly 2.5x faster than RobusTabNet and 30x faster than DTSM.
- Robustness: The model is more reliable at maintaining row-column alignment than image-to-sequence models, which often suffer from "coordinate shift" in longer tables.
Limitations and Future Work
While highly effective, TABLET is a structure recognition model and depends on external OCR tools for text content. If the OCR fails, the final output is compromised. Additionally, while it handles clean digital scans perfectly, it is not currently designed for extreme geometric distortions (like photos of crumpled paper), which may require a dewarping preprocessing step. Future iterations may also integrate tighter text-level features to resolve rare errors where adjacent column text physically overlaps vertical projections.
Summary updated