Abstract
Machine Reading Comprehension (MRC) models often rely on "shortcuts" rather than true reasoning when dealing with complex tables. This paper introduces Hypothetical Training (HTF), a framework that uses hypothetical questions (e.g., "What if revenue were $X?") to teach models the causal relationship between data changes and answer changes. This approach significantly improves model robustness without the high cost of manually editing complex, interdependent table entries.
1. Introduction
In Tabular MRC, models answer questions based on structured data. However, deep learning models frequently pick up on spurious correlations—such as associating specific years with certain answer types—instead of performing actual numerical reasoning.
The standard mitigation, counterfactual training, involves showing the model "factual" examples alongside "counterfactual" versions where a data point is modified to change the answer. While effective for text, this is challenging for tables: changing one cell (e.g., Revenue) often requires recalculating several dependent cells (e.g., Net Profit) to maintain logical consistency. Research shows that "unfaithful" tables with mathematical inconsistencies can confuse models and degrade performance.
2. Methodology: The Hypothetical Training Framework (HTF)
The authors propose HTF to sidestep the cost of table editing by intervening in the question rather than the context.
2.1 Hypothetical Questions (HQs)
Instead of creating a new table with modified revenue, HTF asks: "In which year would the net profit be larger if the revenue in 2019 were $38,298 instead?" This achieves semantic intervention at a fraction of the annotation cost—roughly 45% faster than editing consistent counterfactual tables.
2.2 Technical Approach: Gradient Alignment
HTF uses these HQs to guide the model's internal representations through two main steps:
- Representation Difference: The model calculates the latent space difference between two hypothetical questions—one that changes the answer and one that does not. This difference captures the "semantic intervention."
- Gradient Regulation: The framework forces the model’s gradient for the factual example to align with this representation difference. This teaches the model the causal link: "When the input changes in this specific way, the answer should change accordingly."
3. Experimental Evaluation
The framework was evaluated on several benchmarks:
- TAT-QA & TAT-HQA: Hybrid text-table datasets in the financial domain.
- MultiHiertt: A complex numerical MRC dataset for testing generalization.
- Stress Test: A manually curated set of 921 factual tables from TAT-QA edited to break common shortcuts, forcing models to rely on true reasoning.
4. Results and Discussion
HTF demonstrated superior robustness and generalization compared to vanilla training and other debiasing methods.
4.1 Performance and Robustness
On the Stress Test, HTF achieved an F1 score of 46.0, significantly outperforming the vanilla baseline (40.0) and simple data augmentation (43.4). It also showed strong generalization on MultiHiertt, reaching 18.5 F1 compared to the baseline's 12.8.
4.2 Shortcut Blocking
In tests involving "shuffled" years or replacing numbers with English words, HTF showed the smallest performance drops. This indicates a reduced reliance on spurious shortcuts and a better grasp of the underlying task logic.
5. Conclusion
Hypothetical Training offers an economic and effective alternative to traditional counterfactual data augmentation for tabular data. By moving the "what-if" logic into the natural language query and using gradient regulation to enforce causal learning, HTF builds models that are more robust to distribution shifts and less dependent on superficial patterns.
Summary updated