TL;DR
This paper introduces a novel approach to conversational question answering over tables that completely bypasses the need for intermediate logical forms (like SQL). By representing tables and questions as a unified graph and using a Transformer-based Graph Neural Network, the model learns to "point" directly to answer cells, achieving a new state-of-the-art on the Sequential Question Answering (SQA) benchmark.
What Problem Does This Paper Address?
Answering questions about structured data, such as tables or knowledge bases, is traditionally treated as a semantic parsing task. In this paradigm, a model translates a natural language question into a logical form (e.g., SQL) which is then executed to retrieve an answer.
However, this approach faces two major hurdles:
- Data Scarcity: Training these models often requires expensive, manually annotated logical forms. While "weak supervision" (training only on question-answer pairs) exists, it is notoriously difficult to optimize.
- Conversational Context: In a dialogue, follow-up questions often rely on previous turns (e.g., "Which of those won more than one?"). Mapping these shifting references to rigid logical forms is complex and error-prone.
The authors propose a "logical-form-free" alternative that treats the problem as a direct selection task from a graph representation of the table.
Methods
The core of the approach is a Graph Formulation that encodes the table, the current question, and the conversational history into a single structure.
1. Graph Construction
As shown in Figure 1, the model represents columns, rows, and cells as nodes.
- Structural Edges: Connect rows and columns to their respective cells.
- Alignment Edges: Use Levenshtein edit distance to link question tokens to relevant table headers or cell text.
- Numeric Edges: To handle math, the model identifies numbers in the question and table, creating edges that represent comparison relations (greater than, less than, equal to).
- Contextual Features: Answers from previous questions in the sequence are "marked" on the graph nodes using special nominal features (e.g.,
ANSWER_ROW).
2. The Model Architecture
The architecture, visualized in Figure 2, consists of:
- Encoder: A Graph Neural Network (GNN) based on the Transformer. The standard self-attention mechanism is modified to incorporate edge labels, allowing the model to understand the specific relationship between any two nodes (e.g., "this cell is in this row").
- Decoder: A pointer network that selects a sequence of nodes from the graph to serve as the final answer.
Datasets
The model was evaluated on the Sequential Question Answering (SQA) dataset.
- SQA: Contains 6,066 sequences of questions (17,553 questions total) asked about tables. It is specifically designed to test how well models handle conversational context across multiple turns.
Key Insights and Ideas
- Bypassing Formalisms: By avoiding logical forms, the model doesn't need a predefined vocabulary of operations. It learns the "logic" of table navigation implicitly through the GNN's attention layers.
- Context as Features: Simply marking previous answers as features on the graph nodes proved highly effective for resolving conversational references.
- Numeric Priors: Adding explicit features for numerical rank (e.g., "this is the 2nd highest value in the column") significantly boosted performance on superlative questions like "Which building is the tallest?".
- Robustness to Scale: Unlike some semantic parsers that struggle with large schemas, this model's accuracy remains relatively stable regardless of the table size (number of cells).
Key Results
The model achieved significant improvements over previous state-of-the-art (SOTA) methods, as detailed in the results table below:
- Overall Accuracy: The model reached 55.1% average question accuracy, an 18% relative error reduction over the previous SOTA (CAMP at 45.6%).
- Follow-up Mastery: The most dramatic gains were seen in follow-up questions. For the third question in a sequence (POS3), accuracy jumped from 24.8% (CAMP) to 46.8%.
- Oracle Potential: When provided with the correct previous answers (the "RA" oracle model), accuracy rose to 61.7%, suggesting that error propagation is a primary bottleneck.
Limitations and Future Work
Despite the gains, the authors identified several areas for improvement:
- Complex Reasoning: The model still struggles with "2-hop" reasoning (e.g., "Who scored more than Earnie Stewart?") and explicit negation.
- Table Semantics: It sometimes fails to distinguish between data rows and "total" or summary rows.
- Future Directions: The authors plan to integrate pre-trained language models like BERT to improve initial query understanding and explore table sharding techniques to handle extremely large datasets that exceed memory limits.
Summary updated