Large Language Models are few(1)-shot Table Reasoners

Wenhu Chen
10/13/2022
cs.CL

Official code: TIGER-AI-Lab/TableCoT (47 stars, Python, last commit 2024-04-30).

Abstract

Recent literature has shown that large language models (LLMs) are generally excellent few-shot reasoners to solve text reasoning tasks. However, the capability of LLMs on table reasoning tasks is yet to be explored.

Show full abstract

In this paper, we aim at understanding how well LLMs can perform table-related tasks with few-shot in-context learning. Specifically, we evaluated LLMs on popular table QA and fact verification datasets like WikiTableQuestion, FetaQA, TabFact, and FEVEROUS and found that LLMs are competent at complex reasoning over table structures, though these models are not pre-trained on any table corpus. When combined with `chain of thoughts' prompting, LLMs can achieve very strong performance with only a 1-shot demonstration, even on par with some SoTA models. We show that LLMs are even more competent at generating comprehensive long-form answers on FetaQA than tuned T5-large. We further manually studied the reasoning chains elicited from LLMs and found that these reasoning chains are highly consistent with the underlying semantic form. We believe that LLMs can serve as a simple yet generic baseline for future research. The code and data are released in https://github.com/wenhuchen/TableCoT.

View on arXivView PDF

Code Implementations(1)

The code and data for paper "Large Language Models are few(1)-shot Table Reasoners" [EACL2023]

473PythonOct 22, 20222 years ago
llmreasoningtable

Similar Papers

Cite this paper

@article{chen2022large,
  title  = {Large Language Models are few(1)-shot Table Reasoners},
  author = {Wenhu Chen},
  year   = {2022},
  eprint = {2210.06710},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.06710}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.06710.svg)](https://codeofpaper.com/paper/2210.06710)

Discussion