Friday 11 April 2025
A new approach to table question answering has emerged, one that combines the strengths of two existing methods to achieve impressive results. Researchers have developed a framework that leverages both direct prompts and formula generation to tackle complex reasoning tasks on tables.
The challenge of table question answering lies in its ability to reason about data in tables. While simple lookup questions can be answered with ease, more complex queries require deeper understanding of the relationships between different columns and rows. Existing methods have relied either on fine-tuning large language models (LLMs) or generating formulas using Excel-like syntax.
The new framework, dubbed TabAF, takes a hybrid approach by combining both direct prompts and formula generation. The system first generates a set of possible answers for each question using LLMs, then selects the most relevant ones based on their confidence scores. Next, it uses this filtered list to generate formulas that can be used to derive the correct answer.
The results are impressive: TabAF outperforms existing methods on several benchmarks, including the complex reasoning subsets of WTQ and HiTab. The framework’s ability to generate accurate formulas allows it to tackle a wide range of question types, from simple arithmetic operations to more complex date calculations and value aggregations.
One of the key advantages of TabAF is its flexibility. Unlike other methods that rely on a single approach, TabAF can adapt to different table structures and question types by combining the strengths of both direct prompts and formula generation. This makes it well-suited for real-world applications where data tables come in all shapes and sizes.
Another benefit of TabAF is its ability to generate human-readable formulas. Unlike other methods that produce complex, machine-generated code, TabAF’s formulas are designed to be easy to understand and modify by humans. This makes it a valuable tool for data analysts and scientists who need to work with tables on a daily basis.
While there are still challenges ahead in developing more advanced table question answering systems, the results of this study demonstrate significant progress towards achieving human-like understanding of tabular data. As researchers continue to push the boundaries of what is possible, we can expect to see even more innovative applications of TabAF and its successor technologies.
Cite this article: “Unlocking Tabular Data Understanding with Large Language Models”, The Science Archive, 2025.
Table Question Answering, Tabular Data, Direct Prompts, Formula Generation, Large Language Models, Complex Reasoning, Wtq, Hitab, Excel-Like Syntax, Hybrid Approach.







