Abstract
This paper introduces a hybrid framework for Table Question Answering (Table QA) that bridges the gap between semantic parsing and direct answer generation. By decomposing SQL queries into a computational graph of "tabular algebra" operators, the model can perform partial execution—generating intermediate results for simple operations while maintaining symbolic logic for complex ones. This approach achieves state-of-the-art performance on the WikiTableQuestions benchmark and demonstrates significantly higher robustness to data perturbations compared to end-to-end generative models.
Introduction
Table Question Answering (Table QA) requires a model to perform both linguistic interpretation of a natural language query and structural reasoning over tabular data. Traditionally, researchers have relied on two distinct strategies: Semantic Parsing (SP), which translates questions into formal languages like SQL, and Direct Answer Generation, which uses Transformer-based models to predict answers directly.
While SP is precise, it is often fragile when faced with "messy" real-world data where cell values do not perfectly match schema types. Conversely, direct generation is flexible but often fails at complex numerical reasoning and multi-step logic. This paper proposes a middle ground: a framework that uses the flexibility of Transformers to handle data cleaning and basic filtering while delegating complex structural logic to a symbolic executor.
The Partial Execution Framework
The authors define a Tabular Algebra consisting of operators such as Projection, Comparison, Selection, and Aggregation. Instead of generating a full SQL string or a final answer, the model generates a computational graph.
The core innovation is Partial Execution. The model is trained to "execute" certain operators (like selecting a column or filtering rows) during the decoding process, outputting the cleaned intermediate data. More complex operations, such as aggregations (SUM, AVG), are left as logical operators to be handled by an external symbolic engine. This allows the model to handle messy strings (e.g., extracting "20" from "20 years") before passing them to a mathematical function.
Performance and Robustness
The framework was evaluated on the WikiTableQuestions (WTQ) benchmark using supervision from the SQuALL dataset. The researchers identified a "sweet spot" in granularity known as +P+C+S (Projection, Comparison, and Selection). In this mode, the model handles basic table manipulation directly but maintains structural logic for heavy lifting.
As shown in the results, the +P+C+S model achieved a 61.4% Flexible Denotation Accuracy (FDA), which is competitive with leading models like OmniTab. Furthermore, an ensemble of models at different granularity levels reached 66.3% FDA, outperforming many larger systems.
Crucially, the model demonstrated superior robustness. In stress tests involving row shuffling, direct-generation models saw performance drops of over 13 points, while the proposed partial execution model only dropped by 5 points. This suggests that the model learns the underlying structural logic of the table rather than just memorizing row-order patterns.
Conclusion
By decomposing SQL queries into a tree of tabular operators, this work provides a robust and accurate method for Table QA. While the current implementation relies on SQL-labeled data for training, the approach is orthogonal to the development of Large Language Models (LLMs) and offers a path toward more interpretable and reliable table reasoning. Future work may involve scaling this decomposition supervision to larger models and exploring sparse attention to handle longer tables.
Summary updated