Skip to main content
QUICK REVIEW

[Paper Review] TRUST: An Accurate and End-to-End Table structure Recognizer Using Splitting-based Transformers

Zeng-Yuan Guo, Yuechen Yu|arXiv (Cornell University)|Aug 31, 2022
Handwritten Text Recognition TechniquesComputer Science10 citations
TL;DR

TRUST proposes an end-to-end, transformer-based table structure recognition method that decouples table parsing into multi-oriented splitting and vertex-guided merging using Query-based Splitting and Vertex-based Merging Modules. It achieves state-of-the-art performance on PubTabNet and SynthTable, with 97.1% Structure TEDS and 96.2% TEDs on PubTabNet, while running at 10 FPS—significantly faster than prior methods.

ABSTRACT

Table structure recognition is a crucial part of document image analysis domain. Its difficulty lies in the need to parse the physical coordinates and logical indices of each cell at the same time. However, the existing methods are difficult to achieve both these goals, especially when the table splitting lines are blurred or tilted. In this paper, we propose an accurate and end-to-end transformer-based table structure recognition method, referred to as TRUST. Transformers are suitable for table structure recognition because of their global computations, perfect memory, and parallel computation. By introducing novel Transformer-based Query-based Splitting Module and Vertex-based Merging Module, the table structure recognition problem is decoupled into two joint optimization sub-tasks: multi-oriented table row/column splitting and table grid merging. The Query-based Splitting Module learns strong context information from long dependencies via Transformer networks, accurately predicts the multi-oriented table row/column separators, and obtains the basic grids of the table accordingly. The Vertex-based Merging Module is capable of aggregating local contextual information between adjacent basic grids, providing the ability to merge basic girds that belong to the same spanning cell accurately. We conduct experiments on several popular benchmarks including PubTabNet and SynthTable, our method achieves new state-of-the-art results. In particular, TRUST runs at 10 FPS on PubTabNet, surpassing the previous methods by a large margin.

Motivation & Objective

  • To address the challenge of accurately recognizing table structures in complex scenarios such as rotated, perspective-distorted, unlined, or empty-cell tables.
  • To overcome limitations of existing component-based and sequence-based methods, which struggle with boundary ambiguity, poor generalization, or inaccurate cell regression.
  • To design an end-to-end framework that jointly optimizes row/column splitting and grid merging for improved structural accuracy.
  • To achieve high-speed inference while maintaining high accuracy, especially in real-world document image scenarios.

Proposed method

  • Uses a convolutional backbone with FPN for feature extraction, followed by a transformer-based encoder-decoder architecture.
  • Introduces a Query-based Splitting Module that predicts multi-oriented row and column separators using angle classification and starting point regression via self- and cross-attention.
  • Employs a Vertex-based Merging Module that computes features at intersection points (vertices) of predicted separators and uses self-attention to predict merging decisions in four directions.
  • Applies cross-feature enhancement between row and column features in the merging module to improve contextual modeling and merging accuracy.
  • Trains the entire model end-to-end, enabling joint optimization of splitting and merging tasks.
  • Leverages multi-head self- and cross-attention mechanisms to model long-range dependencies across visual and structural features.

Experimental results

Research questions

  • RQ1Can a unified, end-to-end transformer-based framework outperform existing splitting-based methods in accuracy and speed for table structure recognition?
  • RQ2How effective is the Query-based Splitting Module in handling multi-oriented, blurred, or tilted table separators compared to prior splitting models?
  • RQ3To what extent does the Vertex-based Merging Module improve merging accuracy for spanning cells and empty cells compared to heuristic or separate merge models?
  • RQ4Does cross-feature enhancement in the merging module significantly improve performance on complex tables with perspective distortion or missing lines?
  • RQ5Can the proposed method maintain high accuracy while achieving real-time inference (10 FPS) on challenging benchmarks like PubTabNet and SynthTable?

Key findings

  • TRUST achieves 97.1% Structure TEDS and 96.2% TEDs on PubTabNet, outperforming previous state-of-the-art methods by a significant margin.
  • The Query-based Splitting Module improves performance by 2.3% in Structure TEDS and 2.8% in TEDs compared to the SPLERGE split model, due to better long-range context modeling.
  • Replacing the Vertex-based Merging Module with heuristic post-processing reduces performance to 88.3% Structure TEDS and 85.4% TEDs, proving its critical role in accurate merging.
  • Removing cross-feature enhancement in the merging module causes a drop from 97.1% to 90.6% in Structure TEDS, demonstrating its importance for performance.
  • TRUST runs at 10 FPS on PubTabNet, making it the fastest table structure recognition method to date, surpassing SEM (1.94 FPS) and EDD (1 FPS).
  • On the SynthTable dataset, TRUST achieves 92.4% TEDs on the most challenging category (C4: rotated and perspective-transformed tables), significantly outperforming EDD and SPLERGE.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.