Abstract: Jonathan Herzig, Thomas Müller, Syrine Krichene, Julian Eisenschlos. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
2021.
The Challenge of Open-Domain Table QA
Most research in Table Question Answering (Table QA) assumes the relevant table is already provided to the model. However, in real-world applications like virtual assistants or web search, the answer could be hidden in any one of millions of tables across the web.
While "Dense Retrieval"—using neural networks to map questions and documents into a shared vector space—has revolutionized Open Domain Question Answering (ODQA) for text passages, its application to tables has been limited. Tables are semi-structured; they rely on row and column relationships that standard text encoders like BERT often ignore. This paper introduces the first dedicated approach to ODQA over tables using dense retrieval, bridging the gap by creating a retriever that "understands" table structure.
Methodology: Dense Table Retrieval (DTR)
The authors propose a two-stage framework consisting of a retriever to find the top $K$ candidate tables and a reader to extract the specific answer.
1. Dense Table Retriever (DTR)
Unlike standard retrievers that use BERT, DTR utilizes TAPAS, a model specifically designed with table-aware embeddings (such as row and column IDs). It employs a dual-encoder architecture where the question and the table are encoded separately, and their similarity is calculated via a simple dot product.
2. Table-Specific Pre-training
To teach the model how questions relate to tables, the authors use a "text-to-table" alignment task. They mined 21.3 million pairs from Wikipedia where a table appears near a specific text span (like a caption or section title), training the model to match the text to its corresponding table.
3. Hard Negative Mining
To make the retriever more robust, the model was trained to distinguish correct tables from "hard negatives"—tables that look similar to the correct one but do not contain the answer. This forces the model to learn finer distinctions in tabular data.
4. The Reader
Once the top tables are retrieved, a TAPAS-based reader model examines them to extract the exact answer span or perform necessary cell selection.
Datasets: NQ-TABLES
Identifying a lack of benchmarks for this specific task, the authors created NQ-TABLES, derived from the NATURAL QUESTIONS (NQ) dataset. It contains 12,000 question-answer pairs where the answer resides within a table, set against a corpus of 169,898 unique tables extracted from Wikipedia. This provides a realistic open-domain challenge where the model must search a large corpus rather than a single document.
Key Results and Insights
The DTR model showed substantial improvements over traditional and text-centric baselines on the NQ-TABLES test set. The paper demonstrates that structure is a "first-class citizen" in retrieval; using a table-aware encoder (TAPAS) instead of a general text encoder (BERT) provided a significant performance boost.
- Retrieval Performance: DTR achieved a Recall@10 of 81.1, compared to 40.1 for the classic BM25 algorithm and 72.0 for a BERT-based dense retriever.
- End-to-End QA: The full pipeline achieved an Exact Match (EM) score of 37.7, outperforming the BERT-based retriever pipeline (33.8) and the BM25 pipeline (21.5).
- Ablation Study: Removing the table-specific pre-training caused Recall@10 to plummet from 76.0 to 47.8, proving that the text-table alignment task is critical to the model's success.
Limitations and Future Work
Analysis revealed that 44% of incorrect answers occurred because the question required complex reasoning (like calculating a maximum or sum) which the current span-extraction reader cannot perform. Additionally, about 14% of questions required a list of answers, whereas the current model is optimized for single-span extraction. Future work may focus on combining text passages and tables into a single retrieval space, as many real-world questions require information from both sources simultaneously.
Summary updated