Rethinking the Pointer Loss in Table Structure Recognition: Geometry-Aware Pointer Loss for Spatial Locality
Not on the map. Why?
Abstract (arXiv)
Table Structure Recognition (TSR) using a pointer network achieves impressive results by predicting HTML sequences while aligning tags to detected text (or cell) regions. However, our analysis reveals that when pointer networks fail, 79.6% of errors occur between spatially adjacent cells (Manhattan distance <= 2). Despite this, standard cross-entropy loss weights all negative candidates equally. In this work, we propose Geometry-Aware Pointer (GAP) Loss, which reweights the cross-entropy objective based on spatial proximity to ground truth. By applying inverse distance weighting, GAP focuses gradient flow where the model struggles most: immediate neighbors receive stronger gradients than distant cells. Our approach requires only a straightforward modification to the loss computation, maintaining the same model architecture with zero additional inference cost. Extensive experiments on PubTabNet and SynthTabNet demonstrate that GAP consistently reduces adjacent-cell errors, achieving new state-of-the-art performance. Our findings suggest that incorporating geometric inductive biases at the loss level provides a simple yet effective approach to robust TSR. Our code is available at https://github.com/teamreboott/GAP
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 23 references that are in the map. First posted on arXiv 17 Jun 2026.
Builds on
16 of 23 references.
References · 16
- 2017Mask R-CNNcited by 7,259
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2015Pointer Networkscited by 882
- 2019Image-based table recognition: data, model, and evaluationcited by 233
- 2022TableFormer: Table Structure Understanding with Transformerscited by 93
- 2019Complicated Table Structure Recognitioncited by 91
- 2021Split, embed and merge: An accurate table structure recognizercited by 42
- 2023Improving Table Structure Recognition with Visual-Alignment Sequential Coordinate Modelingcited by 41
- 2021PingAn-VCGroup's Solution for ICDAR 2021 Competition on Scientific Literature Parsing Task B: Table Recognition to HTMLcited by 39
- 2023Optimized Table Tokenization for Table Structure Recognitioncited by 34
- 2022Robust Table Detection and Structure Recognition from Heterogeneous Document Imagescited by 30
- 2021TGRNet: A Table Graph Reconstruction Network for Table Structure Recognitioncited by 27
4 more
- 2022GriTS: Grid table similarity metric for table structure recognitioncited by 27
- 2023Robust Table Structure Recognition with Dynamic Queries Enhanced Detection Transformercited by 12
- 2025TFLOP: Table Structure Recognition Framework with Layout Pointer Mechanismcited by 9
- 2025SPRINT: Script-agnostic Structure Recognition in Tablescited by 6
Built on by
Not cited yet.