TabPedia: Towards Comprehensive Visual Table Understanding with Concept Synergy

Weichao Zhao, Hao Feng, Qi Liu, Jingqun Tang, Binghong Wu, Lei Liao, Shu Wei, Yongjie Ye, Hao Liu, Wengang Zhou, Houqiang Li, Can Huang

Abstract

Visual Table Understanding (VTU) traditionally relies on fragmented pipelines for detection, parsing, and reasoning. TabPedia introduces a unified Large Vision-Language Model (LVLM) that leverages concept synergy and dual-resolution vision encoders to perform these tasks within a single framework. By utilizing meditative tokens to bridge high- and low-resolution visual features, TabPedia achieves state-of-the-art results, significantly outperforming general-purpose models like GPT-4V on complex table reasoning tasks.

Introduction: The Challenge of Visual Table Understanding

Visual Table Understanding (VTU) is a cornerstone of document AI, yet it remains notoriously difficult due to the structural complexity and high information density of tables. Tables are hierarchical, dense, and vary wildly in formatting. Traditionally, researchers have treated VTU as a series of isolated problems: one model detects the table, another parses its rows and columns, and a third attempts to answer questions about the data.

Comparison of traditional task-specific pipelines versus the unified TabPedia approach.

This "modal isolation" creates clunky, error-prone pipelines where mistakes in early stages propagate downstream. Furthermore, general Large Language Models (LLMs) often struggle with tables because they cannot easily reconcile 2D spatial layouts with the 1D text sequences they are trained on. There is also a resolution conflict: detecting a table requires a global view, while reading tiny cell values requires high-resolution detail.

Methodology: Dual Encoders and Concept Synergy

TabPedia, built on the Vicuna-7B backbone, addresses these challenges through three key architectural innovations designed to unify VTU tasks.

Dual Vision Encoders

To resolve the resolution conflict, TabPedia employs two distinct vision encoders. A Swin-B encoder processes high-resolution images (2560x1920) to capture fine-grained text and cell boundaries. Simultaneously, a frozen CLIP ViT-L encoder analyzes a low-resolution version (224x224) to maintain an understanding of the global document layout.

The TabPedia architecture featuring dual-resolution vision encoders and meditative tokens.

Concept Synergy and Meditative Tokens

The authors treat every task and visual embedding as a "concept." They introduce 256 learnable meditative tokens that act as a bridge between the LLM and the visual encoders. These tokens "deliberate" over the visual data, adaptively pulling the most relevant information from either the high-res or low-res encoders depending on the specific user instruction. Ablation studies confirmed that without these tokens, performance drops significantly, as they allow the model to focus its attention appropriately for different tasks.

Canonical Structure Representation

Rather than requiring the LLM to output complex HTML or Markdown—which is prone to syntax errors—TabPedia represents table structures using a sequence of coordinate boxes for rows, columns, and headers. This coordinate-based approach makes the output shorter, more precise, and reduces hallucinations regarding table structure.

Datasets and the ComTQA Benchmark

The model was trained on a massive collection of existing datasets, including PubTab1M, FinTabNet, PubTabNet, WikiTableQuestions (WTQ), and TabFact.

Recognizing that existing benchmarks often fail to reflect real-world complexity, the authors introduced ComTQA (Complex Table QA). This new benchmark features approximately 9,000 QA pairs across 1,500 images, requiring multi-step reasoning, mathematical calculations, and logical inference based on visual table data.

Key Results

TabPedia sets a new state-of-the-art across several metrics, demonstrating that a unified model can outperform specialized systems:

  • Table Detection: Achieved a 98.4 F1 score on PubTab1M, matching or beating specialized detectors like TATR.
  • Structure Recognition: On the PubTabNet benchmark, it achieved a 95.41 S-TEDS score, significantly outperforming specialized models like OmniParser (90.45).
  • Question Answering: On the new ComTQA benchmark, TabPedia reached 53.5% accuracy. In contrast, GPT-4V scored 27.2% and Gemini Pro scored 29.3%, highlighting a significant "table blind spot" in general-purpose LLMs that TabPedia successfully fills.

Conclusion and Future Work

TabPedia demonstrates that a unified LLM can excel at specialized document tasks by effectively managing visual granularity. While the model currently faces limitations with non-rectangular table geometries and the speed constraints of autoregressive generation, it provides a powerful new framework for document AI. The open-sourcing of the code, model, and ComTQA benchmark offers a significant resource for future research in comprehensive visual table understanding.

Summary updated

BibTeX
@inproceedings{zhao2024tabpedia,
  author = {Weichao Zhao and Hao Feng and Qi Liu and Jingqun Tang and Binghong Wu and Lei Liao and Shu Wei and Yongjie Ye and Hao Liu and Wengang Zhou and Houqiang Li and Can Huang},
  title = {{TabPedia: Towards Comprehensive Visual Table Understanding with Concept Synergy}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=aou5yrBqKy},
}
Figure