Nothing Special   »   [go: up one dir, main page]

Skip to main content

GriTS: Grid Table Similarity Metric for Table Structure Recognition

  • Conference paper
  • First Online:
Document Analysis and Recognition - ICDAR 2023 (ICDAR 2023)

Abstract

In this paper, we propose a new class of metric for table structure recognition (TSR) evaluation, called grid table similarity (GriTS). Unlike prior metrics, GriTS evaluates the correctness of a predicted table directly in its natural form as a matrix. To create a similarity measure between matrices, we generalize the two-dimensional largest common substructure (2D-LCS) problem, which is NP-hard, to the 2D most similar substructures (2D-MSS) problem and propose a polynomial-time heuristic for solving it. This algorithm produces both an upper and a lower bound on the true similarity between matrices. We show using evaluation on a large real-world dataset that in practice there is almost no difference between these bounds. We compare GriTS to other metrics and empirically validate that matrix similarity exhibits more desirable behavior than alternatives for TSR performance evaluation. Finally, GriTS unifies all three subtasks of cell topology recognition, cell location recognition, and cell content recognition within the same framework, which simplifies the evaluation and enables more meaningful comparisons across different types of TSR approaches. Code will be released at https://github.com/microsoft/table-transformer.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Amir, A., Hartman, T., Kapah, O., Shalom, B.R., Tsur, D.: Generalized LCS. Theor. Comput. Sci. 409(3), 438–449 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  2. Chambers, C., Erwig, M., Luckey, M.: SheetDiff: a tool for identifying changes in spreadsheets. In: 2010 IEEE Symposium on Visual Languages and Human-Centric Computing, pp. 85–92. IEEE (2010)

    Google Scholar 

  3. Corrêa, A.S., Zander, P.O.: Unleashing tabular content to open data: a survey on pdf table extraction methods and tools. In: Proceedings of the 18th Annual International Conference on Digital Government Research, pp. 54–63 (2017)

    Google Scholar 

  4. Gao, L., et al.: ICDAR 2019 competition on table detection and recognition (cTDaR). In: 2019 International Conference on Document Analysis and Recognition (ICDAR), pp. 1510–1515. IEEE (2019)

    Google Scholar 

  5. Gatterbauer, W., Bohunsky, P., Herzog, M., Krüpl, B., Pollak, B.: Towards domain-independent information extraction from web tables. In: Proceedings of the 16th International Conference on World Wide Web, pp. 71–80 (2007)

    Google Scholar 

  6. Göbel, M., Hassan, T., Oro, E., Orsi, G.: A methodology for evaluating algorithms for table understanding in PDF documents. In: Proceedings of the 2012 ACM Symposium on Document Engineering, pp. 45–48 (2012)

    Google Scholar 

  7. Göbel, M., Hassan, T., Oro, E., Orsi, G.: ICDAR 2013 table competition. In: 2013 12th International Conference on Document Analysis and Recognition, pp. 1449–1453. IEEE (2013)

    Google Scholar 

  8. Harutyunyan, A., Borradaile, G., Chambers, C., Scaffidi, C.: Planted-model evaluation of algorithms for identifying differences between spreadsheets. In: 2012 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC), pp. 7–14. IEEE (2012)

    Google Scholar 

  9. Hassan, T.: Towards a common evaluation strategy for table structure recognition algorithms. In: Proceedings of the 10th ACM Symposium on Document Engineering, pp. 255–258 (2010)

    Google Scholar 

  10. Hu, J., Kashi, R., Lopresti, D., Nagy, G., Wilfong, G.: Why table ground-truthing is hard. In: Proceedings of Sixth International Conference on Document Analysis and Recognition, pp. 129–133. IEEE (2001)

    Google Scholar 

  11. Jaffar, J., Santosa, A.E., Voicu, R.: Efficient memoization for dynamic programming with ad-hoc constraints. In: AAAI, vol. 8, pp. 297–303 (2008)

    Google Scholar 

  12. Li, M., Cui, L., Huang, S., Wei, F., Zhou, M., Li, Z.: Tablebank: table benchmark for image-based table detection and recognition. In: Proceedings of The 12th Language Resources and Evaluation Conference, pp. 1918–1925 (2020)

    Google Scholar 

  13. Oro, E., Ruffolo, M.: TREX: an approach for recognizing and extracting tables from PDF documents. In: 2009 10th International Conference on Document Analysis and Recognition, pp. 906–910. IEEE (2009)

    Google Scholar 

  14. Pinto, D., McCallum, A., Wei, X., Croft, W.B.: Table extraction using conditional random fields. In: Proceedings of the 26th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 235–242 (2003)

    Google Scholar 

  15. Smock, B., Pesala, R., Abraham, R.: PubTables-1M: towards comprehensive table extraction from unstructured documents. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4634–4642 (2022)

    Google Scholar 

  16. Wang, X.: Tabular abstraction, editing, and formatting (1996)

    Google Scholar 

  17. Yildiz, B., Kaiser, K., Miksch, S.: pdf2table: a method to extract table information from pdf files. In: IICAI, pp. 1773–1785. Citeseer (2005)

    Google Scholar 

  18. Zhong, X., ShafieiBavani, E., Yepes, A.J.: Image-based table recognition: data, model, and evaluation. arXiv preprint arXiv:1911.10683 (2019)

Download references

Acknowledgements

We would like to thank Pramod Sharma, Natalia Larios Delgado, Joseph N. Wilson, Mandar Dixit, John Corring, Ching Pui WAN, and the anonymous reviewers for helpful discussions and feedback while preparing this manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rohith Pesala .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Smock, B., Pesala, R., Abraham, R. (2023). GriTS: Grid Table Similarity Metric for Table Structure Recognition. In: Fink, G.A., Jain, R., Kise, K., Zanibbi, R. (eds) Document Analysis and Recognition - ICDAR 2023. ICDAR 2023. Lecture Notes in Computer Science, vol 14191. Springer, Cham. https://doi.org/10.1007/978-3-031-41734-4_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-41734-4_33

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-41733-7

  • Online ISBN: 978-3-031-41734-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics