Grab What You Need: Rethinking Complex Table Structure Recognition with Flexible Components Deliberation

Hao Liu, Xin Li, Mingming Gong, Bing Liu, Yunfei Wu, Deqiang Jiang, Yinsong Liu, Xing Sun

Abstract Recently, the Table Structure Recognition (TSR) task, aiming at identifying table structures into machine-readable formats, has received increasing interest. While achieving impressive success, most single table component-based methods perform poorly on unregularized table cases distracted by complicated inner structures and exterior capture distortions. In this paper, we define this as the Complex TSR problem, where performance degeneration is attributable to inefficient component usage and redundant post-processing. To mitigate this, we propose GrabTab, a seminal method equipped with a newly proposed Component Deliberator. Thanks to its progressive deliberation mechanism, GrabTab flexibly accommodates complex tables by selecting reasonable components without complicated post-processing. Quantitative results on public benchmarks demonstrate that our method significantly outperforms state-of-the-art approaches, especially in challenging scenes.

The Complex TSR Challenge

Standard table recognition often assumes a clean, grid-like structure. However, real-world tables—found in mobile-captured documents or complex financial reports—frequently suffer from perspective distortion, curved surfaces, and missing grid lines (implicit separators).

Existing TSR methods typically fall into two categories: boundary extraction-based or element relationship-based. Boundary-based methods struggle when lines are missing or the image is tilted. Relationship-based methods, which predict if text snippets belong to the same row or column, often suffer from "over-prediction," creating false boundaries. These "single-component" specialists require heavy, hand-crafted post-processing to fix errors, which often fails in complex scenarios.

Comparison of traditional single-component methods vs. the proposed GrabTab deliberation approach.

The GrabTab Framework

GrabTab shifts the perspective from simple component extraction to efficient multiple-component leverage. It mimics human deliberation—the process of identifying obvious clues and then filling in gaps using context. The framework operates through a four-stage pipeline:

  1. Candidate Components Extraction: The model identifies "element tokens" (text/cells) and "relation tokens" (initial row/column associations).
  2. Separator Proposals Generation (Separator Perceiver): To handle distortion, GrabTab represents separators as cubic Bezier curves rather than straight lines. This allows the model to "bend" boundaries to match the physical warping of a camera-captured page.
  3. Multiple Components Correlation (Components Correlator): This is the heart of the deliberation process. A decoupled transformer architecture allows separator proposals to interact with element and relation tokens. If a boundary is ambiguous, the model uses text relationships to confirm its existence.
  4. Table Structure Composing (Structure Composer): Instead of rigid rule-based snapping, GrabTab uses a generative sequence-to-sequence (seq2seq) approach. It treats table construction as a language task, predicting a sequence of separator indices that logically define each cell.
The four-stage GrabTab pipeline including the Components Deliberator.

Key Insights

  • Bezier Curves for Robustness: By using curves, the model naturally accommodates the warping effects common in mobile photography.
  • Decoupled Correlation: The researchers found that treating elements and relations in separate streams before merging prevents "interference" and helps the model better filter out noise.
  • Generative Logic: Moving to a generative composer allows the model to learn the underlying logic of a table—understanding how four lines should come together to form a valid cell rather than just finding disconnected lines.

Experimental Results

GrabTab was evaluated against a battery of benchmarks, showing significant improvements in complex scenarios:

  • SciTSR-COMP-A: Achieved a 94.0% F1-score, surpassing the previous state-of-the-art (NCGM) by 4.5%.
  • WTW (Wild Table Website): Reached a 95.1% F1-score, proving robustness in real-world, "wild" scenarios.
  • PubTabNet: Achieved a 97.2 TEDS score, demonstrating that its physical structure predictions translate accurately into machine-readable HTML.

Conclusion

GrabTab represents a significant step forward in TSR by replacing rigid, single-strategy approaches with a flexible deliberation mechanism. By "grabbing" exactly the clues it needs—whether they are explicit lines or implicit text relationships—it handles the most challenging distorted and complex tables with unprecedented accuracy. Future work will focus on making the entire pipeline end-to-end trainable and optimizing inference speed for mobile deployment.

Summary updated

BibTeX
@inproceedings{liu2024grab,
  author = {Hao Liu and Xin Li and Mingming Gong and Bing Liu and Yunfei Wu and Deqiang Jiang and Yinsong Liu and Xing Sun},
  title = {{Grab What You Need: Rethinking Complex Table Structure Recognition with Flexible Components Deliberation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i4.28149},
}
Figure