Skip to main content
QUICK REVIEW

[Paper Review] Table Meets LLM: Can Large Language Models Understand Structured Table Data? A Benchmark and Empirical Study

Yuan Sui, Mengyu Zhou|arXiv (Cornell University)|May 22, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper introduces SUC, a benchmark to evaluate large language models' (LLMs) structural understanding of tabular data through seven diverse tasks. It identifies that input design—such as format, role prompting, and partition marks—significantly impacts performance, and proposes self-augmented prompting using LLMs' internal knowledge to improve reasoning on tabular tasks, achieving up to 5.68% accuracy gain on ToTTo.

ABSTRACT

Large language models (LLMs) are becoming attractive as few-shot reasoners to solve Natural Language (NL)-related tasks. However, the understanding of their capability to process structured data like tables remains an under-explored area. While tables can be serialized as input for LLMs, there is a lack of comprehensive studies on whether LLMs genuinely comprehend this data. In this paper, we try to understand this by designing a benchmark to evaluate the structural understanding capabilities of LLMs through seven distinct tasks, e.g., cell lookup, row retrieval and size detection. Specially, we perform a series of evaluations on the recent most advanced LLM models, GPT-3.5 and GPT-4 and observe that performance varied with different input choices, including table input format, content order, role prompting, and partition marks. Drawing from the insights gained through the benchmark evaluations, we propose $ extit{self-augmentation}$ for effective structural prompting, such as critical value / range identification using internal knowledge of LLMs. When combined with carefully chosen input choices, these structural prompting methods lead to promising improvements in LLM performance on a variety of tabular tasks, e.g., TabFact($\uparrow2.31\%$), HybridQA($\uparrow2.13\%$), SQA($\uparrow2.72\%$), Feverous($\uparrow0.84\%$), and ToTTo($\uparrow5.68\%$). We believe that our open source benchmark and proposed prompting methods can serve as a simple yet generic selection for future research. The code and data of this paper will be temporality released at https://anonymous.4open.science/r/StructuredLLM-76F3/README.md and will be replaced with an official one at https://github.com/microsoft/TableProvider later.

Motivation & Objective

  • To investigate whether LLMs can truly understand structured table data beyond superficial serialization.
  • To identify the most effective input design choices—such as format, role prompting, and partition marks—for enhancing LLM performance on tabular tasks.
  • To develop a standardized benchmark to evaluate structural understanding capabilities (SUC) of LLMs across diverse table-based tasks.
  • To propose and validate a generic, effective prompting strategy—self-augmented prompting—that leverages LLMs' internal knowledge to improve reasoning on tables.
  • To provide open-source tools and insights to guide future research in table-aware LLM applications.

Proposed method

  • Design a comprehensive benchmark named SUC with seven distinct tasks targeting specific structural understanding capabilities: cell lookup, row retrieval, size detection, and more.
  • Systematically evaluate GPT-3.5 and GPT-4 across multiple input variants, including table serialization formats, format explanations, role prompting, and partition marks.
  • Introduce self-augmented prompting, where LLMs generate critical value or range identification cues using their internal knowledge to enhance structural reasoning.
  • Use zero-shot and one-shot prompting strategies to compare performance across different input configurations and identify optimal patterns.
  • Apply the benchmark to real-world datasets such as TabFact, HybridQA, SQA, Feverous, and ToTTo to validate improvements.
  • Implement and release the benchmark and code publicly to support reproducibility and future research.

Experimental results

Research questions

  • RQ1How well do LLMs understand structured table data when provided with different input formats and design choices?
  • RQ2Which input design elements—such as format, role prompting, or partition marks—most significantly improve LLM performance on tabular reasoning tasks?
  • RQ3To what extent can LLMs generate effective structural cues using their internal knowledge, rather than relying on manually crafted explanations?
  • RQ4Can self-augmented prompting, which leverages LLMs’ self-knowledge, consistently improve performance across diverse table-based tasks?
  • RQ5How does the performance of LLMs vary across different types of tables, especially those with irregular structures like in FEVEROUS?

Key findings

  • Performance of LLMs on tabular tasks varies significantly based on input design, with format, content order, role prompting, and partition marks having measurable impacts.
  • Manually crafted format explanations can degrade performance on complex tables, such as those in FEVEROUS, due to structural irregularity and lack of specificity.
  • Self-augmented prompting, which uses LLMs to generate internal knowledge-based cues, outperforms manually labeled explanations and improves performance across all evaluated tasks.
  • The method achieves up to 5.68% absolute accuracy gain on the ToTTo benchmark, with notable improvements on TabFact (+2.31%), HybridQA (+2.13%), and SQA (+2.72%).
  • GPT-4 consistently outperforms GPT-3.5 across all tasks, but the gains from self-augmented prompting are significant even for smaller models.
  • The benchmark reveals that LLMs possess basic structural understanding capabilities but require optimized prompting to unlock their full potential on tabular data.

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.