SIP: Aligning LLM-based TableQA with Table Semantics via SQL Logic

Zhen Yang, Ziwei Du, Minghan Zhang, Wei Du, Haodong Zou, Shicheng Tan, Jie Chen, Shu Zhao


Abstract
Large Language Models (LLMs) have achieved strong performance on Table Question Answering (TableQA), yet their reasoning processes often remain misaligned with the underlying table semantics. This misalignment can lead to decompositions and validation steps that fail to faithfully capture the table operations required by the question. In this paper, we introduce SIP, a SQL Logic-aligned framework for improving the semantic consistency of LLM-based table reasoning. SIP is built around SQL Logic, a natural-language abstraction of standard SQL operators that explicitly represents operations such as projection, filtering, ordering, and aggregation while avoiding the syntactic brittleness of executable SQL. SQL Logic serves as a shared operator-level representation that guides sub-question decomposition and supports operator-aware validation in both Direct Prompting and Python Agent settings. Experiments on three TableQA benchmarks show that SIP achieves state-of-the-art performance and consistently improves robustness across diverse LLMs, demonstrating the value of explicit semantic representations for structured table reasoning.
Anthology ID:
2026.emnlp-main.1947
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
44287–44299
Language:
URL:
https://aclanthology.org/2026.emnlp-main.1947/
DOI:
Bibkey:
Cite (ACL):
Zhen Yang, Ziwei Du, Minghan Zhang, Wei Du, Haodong Zou, Shicheng Tan, Jie Chen, and Shu Zhao. 2026. SIP: Aligning LLM-based TableQA with Table Semantics via SQL Logic. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 44287–44299, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
SIP: Aligning LLM-based TableQA with Table Semantics via SQL Logic (Yang et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.1947.pdf