Skip to main content
QUICK REVIEW

[Paper Review] Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding

Zilong Wang, Hao Zhang|arXiv (Cornell University)|Jan 9, 2024
Topic ModelingComputer Science10 citations
TL;DR

Chain-of-Table introduces iterative, table-evolving reasoning where LLMs generate and execute tabular operations to transform intermediate tables, achieving state-of-the-art on WikiTQ, FeTaQA, and TabFact across multiple LLM backbones.

ABSTRACT

Table-based reasoning with large language models (LLMs) is a promising direction to tackle many table understanding tasks, such as table-based question answering and fact verification. Compared with generic reasoning, table-based reasoning requires the extraction of underlying semantics from both free-form questions and semi-structured tabular data. Chain-of-Thought and its similar approaches incorporate the reasoning chain in the form of textual context, but it is still an open question how to effectively leverage tabular data in the reasoning chain. We propose the Chain-of-Table framework, where tabular data is explicitly used in the reasoning chain as a proxy for intermediate thoughts. Specifically, we guide LLMs using in-context learning to iteratively generate operations and update the table to represent a tabular reasoning chain. LLMs can therefore dynamically plan the next operation based on the results of the previous ones. This continuous evolution of the table forms a chain, showing the reasoning process for a given tabular problem. The chain carries structured information of the intermediate results, enabling more accurate and reliable predictions. Chain-of-Table achieves new state-of-the-art performance on WikiTQ, FeTaQA, and TabFact benchmarks across multiple LLM choices.

Motivation & Objective

  • Motivate improved table understanding with LLMs by leveraging tabular intermediate states in reasoning.
  • Propose a multi-step, table-centric reasoning process that evolves the table via atomic operations.
  • Demonstrate that evolving tables as a reasoning chain yields better accuracy and reliability across benchmarks.

Proposed method

  • Define a set of atomic table operations (e.g., add columns, select rows/columns, group, sort).
  • Prompt LLMs via in-context learning to sample the next operation and generate required arguments.
  • Programmatically execute the operation to produce an updated intermediate table and append to an operation chain.
  • Repeat until an ending tag is produced, then query the final table for the answer.
  • Treat intermediate tables as proxies for intermediate thoughts to guide final predictions.

Experimental results

Research questions

  • RQ1Can evolving intermediate tables through a chain of operations improve table-based reasoning with LLMs?
  • RQ2Do dynamic, table-centric prompts outperform generic reasoning and program-assisted methods on tabular benchmarks?
  • RQ3How does Chain-of-Table perform across different backbones (PaLM 2, GPT-3.5, LLaMA 2) and table sizes?
  • RQ4What is the typical length of the operation chain needed to solve complex table questions?

Key findings

  • Chain-of-Table achieves new state-of-the-art performance on WikiTQ, FeTaQA, and TabFact across multiple LLMs.
  • Dynamic planning and table evolution yield more accurate answers than generic Chain-of-Thought and prior program-aided methods.
  • Most tasks require 2–4 operations in the reasoning chain, with Chain-of-Table outperforming baselines across chain lengths.
  • The method maintains strong performance as table size grows, with graceful degradation compared to rivals.
  • Chain-of-Table uses fewer generated samples than baselines like Binder and Dater, indicating higher efficiency.
  • Across backbones, Chain-of-Table consistently improves over baselines, unlike some methods whose gains decline with smaller models.

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.