Neural Collaborative Graph Machines for Table Structure Recognition

Hao Liu, Xin Li, Bing Liu, Deqiang Jiang, Yinsong Liu, Bo Ren

Abstract

Neural Collaborative Graph Machines (NCGM) represent a significant advancement in Table Structure Recognition (TSR) by moving beyond simple feature fusion. Instead of merely concatenating visual, geometric, and textual data, NCGM utilizes a hierarchical graph-based architecture that allows these modalities to collaborate. This enables the system to accurately reconstruct complex and heavily distorted tables. Evaluated against multiple benchmarks, NCGM achieves state-of-the-art results, particularly in challenging real-world scenarios involving perspective warping and physical bending.

Introduction

Converting table images into structured formats like Excel or HTML is a fundamental challenge in document intelligence. This task, known as Table Structure Recognition (TSR), is complicated by internal complexities—such as cells spanning multiple rows or columns—and external distortions common in mobile captures, such as perspective warping.

Existing models typically rely on single-modality features or "early fusion" strategies, where disparate data types are combined into a single vector before reasoning. However, the authors identify this as a "one-size-fits-all" limitation, proposing the Heterogeneous TSR (Hetero-TSR) problem: different table types require different modalities to lead. For instance, while geometry is sufficient for digital tables, visual cues are essential for correcting warped physical documents.

Comparison of fusion methods versus the proposed NCGM collaborative approach.

Methodology: Neural Collaborative Graph Machines

The NCGM framework treats table elements (text boxes) as nodes within a graph. The architecture is composed of stacked Collaborative Blocks that execute two alternating processes to build a hierarchical understanding of table structure.

Intra-modality Reasoning: Ego Context Extractor (ECE)

The ECE handles reasoning within each modality (Appearance, Geometry, and Content) independently. To maintain computational efficiency, NCGM utilizes Compressed Multi-head Attention (CMHA). This mechanism reduces the complexity of a fully connected graph from $O(N^2)$ to a manageable scale, allowing the model to process large tables without excessive memory overhead.

Inter-modality Reasoning: Cross Context Synthesizer (CCS)

The CCS facilitates "collaboration" between modalities. It allows one modality to query others for supporting information. For example, the Content modality can leverage Geometry and Appearance features to resolve ambiguities in row or column alignment. By stacking these blocks, the model iteratively refines its predictions for row, column, and cell relationships.

The NCGM architecture featuring Inter-modality and Intra-modality streams through stacked Collaborative Blocks.

Experimental Evaluation

The authors evaluated NCGM on a comprehensive suite of benchmarks:

  • Physical Structure: ICDAR-2013, ICDAR-2019, WTW, UNLV, and SciTSR.
  • Logical Structure: TableBank and PubTabNet.
  • Robustness Testing: A new dataset, SciTSR-COMP-A, was introduced. This dataset augments SciTSR-COMP with synthetic distortions (perspective transforms and quadratic Bezier curves) to simulate real-world mobile photography.

Key Results

NCGM achieved state-of-the-art (SOTA) performance across nearly all benchmarks. The most significant gains were observed in distorted scenarios:

  • Distortion Robustness: On the SciTSR-COMP-A dataset, NCGM outperformed the previous leading model, FLAG-Net, by 11-12% in F1-score.
  • General Performance: The model consistently surpassed contemporary methods on standard datasets like ICDAR and TableBank by 2-3%.
  • Efficiency: Despite its sophisticated collaborative mechanism, NCGM remains computationally competitive. For a standard table of 42 elements, it requires significantly fewer FLOPs than previous graph-based models like TabStruct-Net.

Discussion and Conclusion

The research highlights that Collaboration > Fusion. Simply concatenating features loses the nuanced interactions between modalities. Ablation studies revealed that the "Appearance" modality acts as a versatile "glue," showing the strongest collaborative relationships.

However, limitations remain. The model faces "training collapse" when exceeding a depth of seven blocks. Additionally, "nested tables" (tables within tables) continue to pose a challenge due to ambiguous alignments. Future work may involve moving toward tree-structured representations to address these complex hierarchical structures.

Summary updated

BibTeX
@inproceedings{liu2021neural,
  author = {Hao Liu and Xin Li and Bing Liu and Deqiang Jiang and Yinsong Liu and Bo Ren},
  title = {{Neural Collaborative Graph Machines for Table Structure Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.00449},
}
Figure