TL;DR
This paper introduces two novel Transformer-based models, RCI Interaction and RCI Representation, for answering questions over tables. These models achieve state-of-the-art performance without requiring specialized pre-training on massive table corpora, offering a more efficient and accurate approach to table question answering.
What Problem Does This Paper Address?
Answering natural language questions over tabular data (Table QA) is a challenging task. While Transformer models have shown promise, existing methods often rely on extensive pre-training on millions of web tables, which can be computationally expensive and may not always generalize perfectly. The authors aim to improve Table QA accuracy and efficiency by proposing methods that can achieve superior performance without this heavy pre-training, focusing on capturing the inherent row and column semantics within tables.
Methods
The paper proposes two main approaches under the umbrella of the Row-Column Intersection (RCI) model:
- RCI Interaction: This model treats Table QA as a sequence-pair classification problem. It concatenates the question with a textual representation of each row (or column) and uses a Transformer encoder to classify whether that row/column contains the answer. This approach is designed for high accuracy.
- RCI Representation: This model focuses on efficiency. It learns vector representations for both the question and each row/column independently. By comparing these vectors, it determines the likelihood of a row/column containing the answer. The key advantage here is that table embeddings can be pre-computed and stored, significantly speeding up online query processing.
Both models leverage a Transformer architecture (specifically ALBERT) and are fine-tuned on question-answering datasets. They also introduce a weakly supervised Machine Reading Comprehension (MRC) model as a strong baseline.
Datasets
The authors evaluate their models on three standard Table QA datasets:
- WikiSQL: A large dataset with SQL queries, allowing for easy exclusion of aggregation questions.
- WikiTableQuestions: Contains natural language questions over tables, requiring manual filtering to isolate lookup questions.
- TabMCQ: A multiple-choice dataset focused on general science tables, which the authors adapt to an open-ended QA task and down-sample large tables.
Key Insights and Ideas
- Row and Column Semantics are Key: The core idea is that by independently understanding the semantic contribution of rows and columns to answering a question, one can achieve high accuracy without complex parsing or massive pre-training.
- Efficiency vs. Accuracy Trade-off: The paper presents two models that highlight this trade-off. RCI Interaction prioritizes accuracy, while RCI Representation offers significant efficiency gains for online systems by pre-computing embeddings.
- No Need for Specialized Pre-training: A significant finding is that strong performance can be achieved by fine-tuning existing language models on Table QA tasks, rather than relying on models pre-trained on millions of web tables. This makes the approach more accessible.
- Heatmap for User Guidance: The RCI model can also generate a heatmap over tables, visually highlighting potential answer locations, which aids users in quickly finding information.
Key Results
- State-of-the-Art Performance: The RCI Interaction model outperforms existing state-of-the-art Transformer-based approaches like TAPAS and TABERT on the WikiSQL benchmark, achieving ~3.4% and ~18.86% higher precision, respectively.
- High Accuracy on Lookup Questions: The models achieve up to ~98% Hit@1 accuracy on WikiSQL lookup questions.
- Efficiency Gains: The RCI Representation model significantly reduces computation time for online queries, dropping from 40 seconds to 0.8 seconds for ten batched queries on a K80 GPU.
- Robustness Across Datasets: The proposed methods show strong performance across all three evaluated datasets (WikiSQL, TabMCQ, and WikiTableQuestions).
Limitations and Future Work
- Independent Row Examination: A limitation noted is that the RCI models examine rows independently. For questions requiring the aggregation or comparison of multiple rows, this assumption can lead to errors.
- Header vs. Cell Answers: The models currently assume answers are in cells, not headers, which can be an issue for some questions.
- Future Work: The authors plan to explore domain-specific taxonomies and embeddings to further improve performance on specialized corpora (e.g., finance, aviation, healthcare). They also aim to investigate ways to handle questions that require more complex reasoning beyond simple row/column intersection.
Summary updated