Reasoning by Commented Code for Table Question Answering
Table Question Answering (TableQA) poses a significant challenge for large language models (LLMs) because conventional linearization of tables often disrupts the two-dimensional relationships intrinsic to structured data. Existing methods, which depend on end-to-end answer generation or single-line program queries, typically exhibit limited numerical accuracy and reduced interpretability. This work introduces a commented, step-by-step code-generation framework that incorporates explicit reasoning into the Python program-generation process. The approach decomposes TableQA reasoning into multi-line executable programs with concise natural language comments, thereby promoting clearer reasoning and increasing the likelihood of generating correct code. On the WikiTableQuestions benchmark, the proposed method achieves 70.9\% accuracy using Qwen2.5-Coder-7B-Instruct, surpassing the Repanda baseline (67.6\%). Integrating the proposed framework with a robust end-to-end TableQA model via a lightweight answer-selection mechanism yields further improvements. This combined approach achieves up to 84.3\% accuracy on the WikiTableQuestions benchmark.
Code (0)
등록된 구현이 없습니다.
Tasks
Question AnsweringAnswer GenerationResults from the Paper
| Rank | Task | Dataset | Model | Metrics |
|---|---|---|---|---|
| #1 | Question Answering | WikiTableQuestions | Reasoning by Commented Code for Table Qu | Accuracy: 70.9 |
Similar Papers 제목 키워드 기반
Answering Numerical Reasoning Questions in Table-Text Hybrid Contents with Graph-based Encoder and Tree-based Decoder
In the real-world question answering scenarios, hybrid form combining both tabular and textual contents has attracted more and more attention, among which numerical reasoning problem is one of the most typical and challe…
DecoderModels AlignmentQuestion AnsweringDenoising Table-Text Retrieval for Open-Domain Question Answering
In table-text open-domain question answering, a retriever system retrieves relevant evidence from tables and text to answer questions. Previous studies in table-text open-domain question answering have two common challen…
DenoisingOpen-Domain Question AnsweringQuestion AnsweringRetrieval+1General Table Question Answering via Answer-Formula Joint Generation
Advanced table question answering (TableQA) methods prompt large language models (LLMs) to generate answer text, SQL query, Python code, or custom operations, which impressively improve the complex reasoning problems in …
Question AnsweringOpen-WikiTable: Dataset for Open Domain Question Answering with Complex Reasoning over Table
Despite recent interest in open domain question answering (ODQA) over tables, many studies still rely on datasets that are not truly optimal for the task with respect to utilizing structural nature of table. These datase…
Open-Domain Question AnsweringQuestion AnsweringReasoning over Hybrid Chain for Table-and-Text Open Domain Question Answering
Tabular and textual question answering requires systems to perform reasoning over heterogeneous information, considering table structure, and the connections among table and text. In this paper, we propose a ChAin-centri…
Open-Domain Question AnsweringQuestion Answering