[Paper Review] Adversarial TableQA: Attention Supervision for Question Answering on Tables
This paper proposes Neural Operator (NeOp), a novel neural network architecture for table question answering that uses operand information—specifically, the correct cells and operations involved in deriving answers—as attention supervision to improve model performance, robustness, and interpretability. By incorporating cell-level attention supervision, NeOp significantly outperforms prior models, achieving 80.3% final accuracy on the MLB dataset and demonstrating strong resilience to adversarial perturbations.
The task of answering a question given a text passage has shown great developments on model performance thanks to community efforts in building useful datasets. Recently, there have been doubts whether such rapid progress has been based on truly understanding language. The same question has not been asked in the table question answering (TableQA) task, where we are tasked to answer a query given a table. We show that existing efforts, of using "answers" for both evaluation and supervision for TableQA, show deteriorating performances in adversarial settings of perturbations that do not affect the answer. This insight naturally motivates to develop new models that understand question and table more precisely. For this goal, we propose Neural Operator (NeOp), a multi-layer sequential network with attention supervision to answer the query given a table. NeOp uses multiple Selective Recurrent Units (SelRUs) to further help the interpretability of the answers of the model. Experiments show that the use of operand information to train the model significantly improves the performance and interpretability of TableQA models. NeOp outperforms all the previous models by a big margin.
Motivation & Objective
- To address the lack of interpretability and robustness in existing TableQA models that rely solely on answer supervision.
- To investigate whether answer-only supervision leads to models that make 'lucky guesses' via spurious reasoning paths.
- To propose a new supervision signal—operand information (correct cells and operations)—that enables more precise and interpretable learning.
- To develop a neural model, NeOp, that leverages this operand information through a layered, attention-based architecture for improved performance and interpretability.
- To evaluate the model's robustness against adversarial perturbations that preserve the answer but alter input cells or operations.
Proposed method
- Neural Operator (NeOp) is a multi-layer sequential network composed of Selective Recurrent Units (SelRUs) for column, pivot, parameter, and operation selection.
- Each SelRU layer attends to specific components of the question and table: columns, pivot words (e.g., 'equal'), parameters (e.g., '0'), and final operations (e.g., 'max').
- Attention weights from each SelRU are used to guide the selection of relevant table cells and operations, with the final operation solver selecting the output operation.
- The model is trained with a novel loss term, $L_{cell}$, that encourages correct cell selection during training, improving attention supervision.
- Operand information is used as supervision: instead of only the final answer, the model is trained to identify the correct cells and operations used to derive it.
- The architecture enables step-by-step interpretation of predictions, with attention weights visualized to show which cells and operations are selected at each timestep.
Experimental results
Research questions
- RQ1Can TableQA models trained only on answer supervision be misled by spurious reasoning paths that still yield the correct answer?
- RQ2Does incorporating operand information—i.e., the specific cells and operations used to compute the answer—improve model performance and interpretability?
- RQ3How does attention supervision using operand information compare to answer-only or SQL-based supervision in terms of robustness to adversarial inputs?
- RQ4Can a neural model with a layered, attention-based architecture achieve higher accuracy and better interpretability than existing models in TableQA?
- RQ5To what extent does attention supervision via operand information enhance model robustness against value and operation perturbations?
Key findings
- NeOp achieves 80.3% final accuracy on the MLB dataset, significantly outperforming previous models such as Sempre (64.4%) and NePR (32.4%).
- When trained with $L_{cell}$ loss, NeOp's performance increases by 17.6% on the MLB dataset, demonstrating the effectiveness of cell-level attention supervision.
- On adversarial examples with value perturbations (V-P), NeOp degrades by only 0.25%, showing high robustness compared to Sempre (-2.80%) and NePR (-3.70%).
- On adversarial examples with operation perturbations (O-P), NeOp maintains 80.1% accuracy, indicating strong resilience to changes in operation type.
- The model’s interpretability is enhanced by layer-wise attention: each timestep selects a column, pivot, and parameter, with the final operation solver selecting the correct operation, enabling step-by-step reasoning visualization.
- The use of operand information as supervision allows for scalable, non-technical labeling, as annotators only need to identify relevant cells and operations, not write SQL or complex logic.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.