Abstract
Table Fact Verification (TFV) involves determining whether a natural language statement is supported or refuted by a semi-structured table. While generating latent programs provides an explainable path to verification, training these parsers under weak supervision often leads to "spurious programs"—logic that arrives at the correct binary label through incorrect reasoning. We introduce Structure-Aware Semantic Parsing (SASP), a framework that leverages the correlation between a statement's syntactic structure and its logical execution order. By utilizing an operation-oriented tree to guide the semantic parser, SASP reduces spuriousness and improves generalization. Our approach achieves a significant leap in program accuracy on the Logic2Text benchmark and competitive performance on TABFACT.
Introduction
The task of Table Fact Verification (TFV) requires a model to reason over tabular data to validate natural language claims. A common challenge in this domain is the "spuriousness trap": because the task is binary (Entailed vs. Refuted), a randomly generated program has a 50% chance of producing the correct label. Models often learn to exploit these shortcuts, resulting in high verification accuracy but low logical consistency. This lack of true understanding prevents models from generalizing to complex, multi-step reasoning scenarios.
Methodology: Structure-Aware Semantic Parsing
To address the problem of spurious programs, we propose SASP, which aligns the grammatical structure of a statement with its logical operations.
Operation-Oriented Tree Construction
The core of SASP is the Operation-Oriented Tree. The process begins by applying dependency parsing to the input statement to identify grammatical relationships. The model then prunes irrelevant information and merges nodes to focus strictly on operation-related components, such as functions (e.g., max, filter), columns (e.g., podiums), and cell values (e.g., 1981).
Structure-Aware Program Generation
During the decoding process, the model uses the operation-oriented tree to bias its selection of logical operators. We observe that operations corresponding to descendant nodes in the dependency tree typically precede those of ancestor nodes in execution. SASP incorporates a scoring function that prioritizes tokens based on their position in the tree, ensuring the program's execution flow mirrors the linguistic structure of the statement.
To further refine the model, we employ a reward function that combines lexical matching with "violation punishments." This penalizes programs that, while label-consistent, violate the structural constraints derived from the statement's syntax.
Experimental Evaluation
We evaluated SASP across three benchmarks: TABFACT (large-scale verification), Logic2Text (program accuracy), and WikiTableQuestion (generalization).
Results and Discussion
SASP demonstrates a particular strength in generating logically sound programs. On the Logic2Text dataset, which measures how well a generated program matches the ground truth logic, SASP achieved a 47.9% Parse Tree Matching (PT.Match) accuracy. This represents a substantial improvement over previous state-of-the-art methods like LPA, which achieved only 15.6%.
On the TABFACT benchmark, SASP reached an execution accuracy of 74.9%, performing comparably to top-tier models like LERGV (75.5%). Notably, SASP outperformed models like ProgVGAT on complex statement subsets, suggesting that structural awareness is most beneficial when the required logic is intricate.
Conclusion
SASP bridges the gap between linguistic syntax and logical execution, providing a more robust and explainable approach to table fact verification. By prioritizing structural consistency, we mitigate the impact of spurious programs. Future work will focus on expanding the model's interpreter to handle more complex string manipulations and mathematical operations within individual cells, as well as improving entity linking for more robust tree construction.
Summary updated