Abstract
Question Answering (QA) over tabular data typically requires complex semantic parsing or extensive table-specific pre-training. This paper introduces Row-Column Intersection (RCI), a method that decomposes table QA into two independent classification tasks: row and column selection. By leveraging standard Transformer architectures like ALBERT with simple text formatting, RCI achieves state-of-the-art performance on benchmarks such as WikiSQL and WikiTableQuestions without the need for massive pre-training on millions of tables. Furthermore, a "representation" variant of the model offers a 50x speedup, making it suitable for real-time applications.
Introduction
Answering natural language questions using data stored in tables is challenging because tables possess a two-dimensional structure where cell meaning is derived from both row context and column headers. Existing approaches generally fall into two categories: semantic parsing, which converts questions into formal queries (e.g., SQL), and specialized pre-training, where models like TAPAS or TaBERT are trained on vast corpora of web tables. While effective, these methods are either computationally expensive or require massive datasets. This research explores whether high accuracy can be achieved using standard language models by simplifying the problem through decomposition.
Methodology: Row-Column Intersection (RCI)
The core innovation of this work is the decomposition of the table QA task. Instead of processing the entire table, the RCI model independently predicts the probability that a specific row contains the answer and the probability that a specific column contains the answer. The final answer is identified as the cell at the intersection of the highest-scoring row and column.
The authors propose two model variants:
- RCI Interaction: This model concatenates the question with a textual representation of a row or column. It utilizes cross-attention, providing high accuracy at the cost of higher latency during inference.
- RCI Representation: A dual-encoder approach that pre-computes embeddings for rows and columns. This allows for rapid vector comparison at query time, resulting in a 50x speedup compared to the interaction model.
To represent tabular data for the Transformer, the authors use a simple serialization format: Header1: Value1 | Header2: Value2. This allows standard models like ALBERT to capture the semantic relationship between headers and cell values effectively.
Experimental Results
The RCI models were evaluated on three major benchmarks: WikiSQL (lookup and aggregation), WikiTableQuestions (WTQ), and TabMCQ.
As shown in the results table, the RCI Interaction model (RCI_xxl) achieved a Hit@1 accuracy of 98.6% on WikiSQL lookup questions. Notably, RCI outperformed TAPAS—which is pre-trained on 6 million tables—by approximately 3.4%, and TaBERT by nearly 18.8%. These results demonstrate that structural understanding can be achieved through formatting and task decomposition rather than specialized pre-training.
Discussion and Limitations
The success of RCI suggests that predicting rows and columns independently is a robust strategy for many table QA tasks. However, the "independence assumption" serves as a limitation for questions requiring global reasoning across multiple rows (e.g., "Which year did a specific event NOT occur?"). Additionally, while RCI can be extended to handle basic aggregations like sums or counts, it remains challenged by complex reasoning where the answer is not a single cell value.
Conclusion
The RCI approach proves that standard Transformer models, when combined with effective task decomposition and simple text formatting, can outperform specialized tabular models. The introduction of the RCI Representation model further bridges the gap between high-accuracy research and practical, low-latency deployment in large-scale search systems.
Summary updated