Large Language Models are Versatile Decomposers: Decomposing Evidence and Questions for Table-based Reasoning

Yunhu Ye, Binyuan Hui, Min Yang, Binhua Li, Fei Huang, Yongbin Li

Abstract

Table-based reasoning requires models to navigate large datasets and perform complex logical operations. We present DATER (Decompose evidence And questions for Table-basEd Reasoning), a framework that leverages Large Language Models (LLMs) to decompose both massive tables and intricate questions into manageable components. By integrating neural reasoning with symbolic SQL execution, DATER achieves state-of-the-art performance, notably surpassing human accuracy on the TabFact benchmark.

Introduction

Answering questions or verifying facts based on structured data—table-based reasoning—presents a significant "needle in a haystack" challenge. Existing approaches often struggle with two main issues: the Evidence Gap, where large tables exceed token limits and introduce noise, and the Reasoning Gap, where complex multi-step logic leads to LLM hallucinations or arithmetic errors. DATER addresses these by breaking down the problem into sub-tasks that are easier for both models and deterministic tools to handle.

The DATER Framework

The DATER framework employs LLMs as "versatile decomposers" through a structured three-stage pipeline: Evidence Decomposition, Question Decomposition, and Joint Reasoning.

The DATER framework pipeline, illustrating how evidence and questions are decomposed into sub-tables and reliable sub-questions before final reasoning.

Evidence Decomposer

To bridge the Evidence Gap, the LLM acts as a filter. Instead of processing an entire large table, the model identifies the specific rows and columns relevant to the query. This results in a "sub-table" that is significantly smaller (often by 3x), reducing noise and staying well within the model's context window.

Question Decomposer

The Question Decomposer addresses the Reasoning Gap through a "Parsing-Execution-Filling" strategy.

  1. Parsing: The LLM generates "cloze-style" sub-questions and corresponding SQL queries.
  2. Execution: A standard SQL interpreter executes these queries against the table to obtain precise numerical or categorical results.
  3. Filling: These results are plugged back into the sub-questions to create "reliable" intermediate facts.
Example of Prompt 4.4 showing how DATER generates SQL queries to answer specific sub-questions derived from the original query.

Joint Reasoning

In the final stage, the LLM receives the distilled sub-table and the reliable intermediate facts. This combination allows the model to perform high-level reasoning without being bogged down by raw data retrieval or complex arithmetic, which have already been handled by the decomposition and SQL execution steps.

Experimental Evaluation

DATER was evaluated on three major benchmarks: TabFact (fact verification), WikiTableQuestion (WTQ) (complex QA), and FetaQA (free-form answers).

Key Results

  • Human-Level Performance: On TabFact, DATER achieved 93.0% accuracy, surpassing the human baseline of 92.1%.
  • Significant Accuracy Gains: Using Codex as a backbone, DATER improved performance on WTQ from 47.6% to 65.9%, an absolute gain of over 18%.
  • Efficiency: Evidence decomposition reduced the average number of cells processed on WTQ from 164 to 56, demonstrating that "less is more" when it comes to model input.

Discussion and Insights

DATER's success highlights the value of using SQL as a "logical anchor." While LLMs excel at understanding natural language intent, they are prone to errors in counting and basic math. Offloading these tasks to a deterministic system ensures accuracy. Furthermore, the framework provides interpretability; humans can inspect the intermediate sub-tables and SQL results to understand the model's logic.

Limitations and Future Directions

Current limitations include the "coarse" nature of evidence extraction (row/column blocks rather than cell-level alignment) and the computational cost of multiple LLM calls. Future work may explore iterative reasoning loops and more fine-grained alignment to further enhance precision and efficiency.

Summary updated

BibTeX
@inproceedings{ye2023large,
  author = {Yunhu Ye and Binyuan Hui and Min Yang and Binhua Li and Fei Huang and Yongbin Li},
  title = {{Large Language Models are Versatile Decomposers: Decomposing Evidence and Questions for Table-based Reasoning}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2023},
  doi = {10.1145/3539618.3591708},
}
Figure