Manuscript Offprint

arXiv:2609.08705

Enhancing Table Structure Recognition via Bounding Box Guidance

Lei Hu, Shuangping Huang

Lei Hu and Shuangping Huang ∗^{*}

South China University of Technology, Guangzhou, China

eehulei@mail.scut.edu.cn, eehsp@scut.edu.cn

Abstract. Table Structure Recognition (TSR) aims to extract the bounding boxes of cells and table structure (e.g., HTML) from table images. Although current approaches have made significant progress, the latest image-to-sequence methods overlook the explicit utilization of the bounding box information when predicting HTML sequences, leading to error predictions in complex scenes. In this paper, we introduce a novel framework BGTR (Bounding Box-Guided Table Recognizer). To more effectively utilize bounding box information, we first predict the bounding boxes of cells and then use this information to guide the generation of HTML sequences. While utilizing bounding box information can enhance the accuracy of HTML sequences, for natural scene tables, the data volume is too small to allow for sufficient training of bbox-guided HTML generation. In response, we adopt a progressive training method for natural scene tables and introduce SNSTab, a synthetically generated natural scene table dataset. Our experiments on five benchmark datasets demonstrate SOTA performance.

Keywords: Table structure recognition · Image-to-sequence · Bounding box guidance · Dataset.

1 Introduction

Tables are a crucial medium for structured information dissemination. Table detection (TD) aims to extract the position of tables from document images, and many methods [1,8,22] have shown excellent results. Table Structure Recognition (TSR) aims to transform images containing tables into structured data, which is both crucial and challenging. Leveraging the advancements of transformer [25], which have proven highly effective in various fields [7], image-to-sequence methods [20,13,29,3] have demonstrated promising results in TSR. These methods employ an encoder-decoder architecture to simultaneously predict the HTML (Hyper Text Markup Language) sequence and the bounding box (bbox) of table cells. In predicting HTML sequences, they rely solely on image information and overlook the explicit utilization of bbox information. However, table structure and formatting can be highly complex, and bbox information is essential for parsing the structure of tables. Therefore, exclusive reliance on image information

∗^{*} Corresponding author.

L. Hu et al.

Figure

(a)

Digital Document Tables
DatasetSamplesDatasetsSamples
PubTabNet [33]500KFinTabNet [32]100K
SynthTabNet [20]600KPubTables-1M [23]758K
Natural Scene Tables
TabRecSet [28]38KWTW [17]14K
iFLYTAB [30]17KTAL [5]15K

(b)

Fig. 1: The motivation behind the proposed method. (a) Comparison of HTML visualization with and without bbox-guided generation on TabRecSet [28], the red dotted boxes indicate error results, the blue dotted boxes indicate spanning cells. The results indicate that using bboxes for guidance achieves better performance in spanning cells. (b) A comparison between two types of datasets reveals that the sample size of the digital document table dataset is significantly larger than that of the natural scene table dataset.

may lead to error predictions in complex scenes, like spanning cells (Fig. 1 (a)). In this paper, we introduce a novel framework BGTR (Bounding Box-Guided Table Recognizer). Unlike previous image-to-sequence methods [20,13,29,3], we explicitly utilize bbox information to obtain accurate HTML sequences. We first use a Bbox Predictor to predict bboxes. Then, during HTML sequence decoding, we enable the Bbox-Guided Structure Decoder to perceive both the image and bbox information of the table, resulting in accurate HTML sequences.

Although utilizing bbox information can improve the accuracy of the HTML sequence, for natural scene tables, as shown in Fig. 1 (b), the data volume is small, and the structure and style of tables in natural scenes are complex, making it insufficient for adequate training of bbox-guided HTML generation. In response, we adopt a progressive training method for natural scene tables and introduce SNSTab. Progressive training method includes a foundation training stage and a advancement training stage. In the foundation training stage, we aim to train the model with a large number of tables from natural scenes, thereby enabling it to learn how to more effectively utilize bbox information for guiding the generation of HTML sequences, this approach leads to improve the model's foundational understanding of tables. In the advancement training stage, training is conducted on a specific natural scene table dataset (e.g., TabRecSet [28] and iFLYTAB [30]). SNSTab is a synthetically generated natural scene table dataset containing 500k table images for the foundation training stage. It includes wired tables, wireless tables, inclined tables, and curved tables, featuring diverse table structures and backgrounds. This variety enables the model to comprehensively learn various aspects of table knowledge during the foundation training stage, thereby achieving better results in complex scenes like spanning cells and deformed tables, as shown in Fig. 7.

Extensive experiments demonstrate the effectiveness of our proposed BGTR and the progressive training method, achieving state-of-the-art performance on five public benchmarks.

To sum up, our contributions are as follows:

– We propose BGTR, a novel framework that explicitly utilizes bbox information for guiding HTML sequence generation, which aims at enhancing structural recognition accuracy in challenging table scenes.

– To ensure that bbox-guided HTML generation is adequately trained in natural scenes, we adopt a progressive training method and introduce SNSTab, a synthetically generated natural scene table dataset for the foundation training stage.

– Our experiments on five benchmark datasets demonstrate state-of-the-art performance.

References (32)