ProgramTab: Boosting Table Reasoning of LLMs via Programmatic Paradigm

Pei Guo, Enjie Liu, Yunzhi Tan, Mochi Gao, Jianxin Zhang +4 more
7/13/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Table-based reasoning with large language models (LLMs), which requires reasoning based on natural language questions and structured tabular data, has gained widespread attention. However, a series of issues still constrain the application of this task. The previous approaches suffered from significant performance degradation when faced with large tables due to the difficulty of long text modeling and the limitation of input length for LLMs. The text-to-SQL approach is used to efficiently extract key information from tables and generate smaller sub-tables. However, tabular data, especially web tables, often lack the necessary structure and consistency, making them unsuitable for performing mathematical logic operations using SQL queries. We propose the ProgramTab framework, which guides LLMs employing in-context learning to perform tabular data preprocessing with Python code, as well as the momentous contents extraction with row and column extraction and SQL generation. The experiment results on table reasoning datasets demonstrate that the ProgramTab framework effectively deals with table-based reasoning tasks and outperforms all LLM-based baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guo2026programtab,
  title  = {ProgramTab: Boosting Table Reasoning of LLMs via Programmatic Paradigm},
  author = {Pei Guo and Enjie Liu and Yunzhi Tan and Mochi Gao and Jianxin Zhang and Ruichao Zhong and Juntao Li and Bo Hu and Zang Li},
  year   = {2026},
  eprint = {2607.11207},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.11207v1}
}

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/2607.11207.svg)](https://codeofpaper.com/paper/2607.11207)

Discussion