Lune

ACL2025Top-tier venue

RePanda: Pandas-powered Tabular Verification and Reasoning

Atoosa Malemir Chegini, Keivan Rezaei, Hamid Eghbalzadeh, Soheil Feizi

Abstract

Fact-checking tabular data is essential for ensuring the accuracy of structured information. However, existing methods often rely on blackbox models with opaque reasoning. We introduce RePanda, a structured fact verification approach that translates claims into executable pandas queries, enabling interpretable and verifiable reasoning. To train RePanda, we construct PanTabFact, a structured dataset derived from the TabFact train set, where claims are paired with executable queries generated using DeepSeek-Chat 1 and refined through automated error correction. Fine-tuning DeepSeek-coder-7Binstruct-v1.5 on PanTabFact, RePanda achieves 84.09% accuracy on the TabFact test set. To evaluate Out-of-Distribution (OOD) generalization, we interpret question-answer pairs from WikiTableQuestions as factual claims and refer to this dataset as WikiFact. Without additional fine-tuning, RePanda achieves 84.72% accuracy on WikiFact, significantly outperforming all other baselines and demonstrating strong OOD robustness. Notably, these results closely match the zero-shot performance of DeepSeek-Chat (671B), indicating that our fine-tuning approach effectively distills structured reasoning from a much larger model into a compact, locally executable 7B model. Beyond fact verification, RePanda extends to tabular question answering by generating executable queries that retrieve precise answers. To support this, we introduce PanWiki, a dataset mapping WikiTableQuestions to pandas queries. Fine-tuning on PanWiki, RePanda achieves 75.1% accuracy in direct answer retrieval. These results highlight the effectiveness of structured 1 All experiments, data collection, and processing activities were conducted by the University of Maryland, College Park (UMD). Meta was involved solely in an advisory role and no experiments, data collection or processing activities were conducted using Meta tools or within its IT environment. execution-based reasoning for tabular verification and question answering. We have publicly released the dataset on Hugging Face at datasets/AtoosaChegini/PanTabFact.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HybridQA: A Dataset of Multi-Hop Question Answering over Tabular and Textual Data cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • TableMix: Enhancing Multimodal Table Reasoning in MLLMs from a Data-Centric Perspective cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • TableMix: Enhancing Multimodal Table Reasoning in MLLMs from a Data-Centric Perspective cites HybridQA: A Dataset of Multi-Hop Question Answering over Tabular and Textual Data
  • TAPEX: Table Pre-training via Learning a Neural SQL Executor cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • TAPEX: Table Pre-training via Learning a Neural SQL Executor cites TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
  • TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data cites TabFact: A Large-scale Dataset for Table-based Fact Verification
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. TableMix: Enhancing Multimodal Table Reasoning in MLLMs from a Data-Centric PerspectiveChaohu Liu, Shida Wang, Yubo Wang, Linli XuCVPR 2026

Builds on14

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. TabFact: A Large-scale Dataset for Table-based Fact VerificationWenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang et al.ICLR 2020 · 674 citations
  3. TaBERT: Pretraining for Joint Understanding of Textual and Tabular DataPengcheng Yin, Graham Neubig, Wen-tau Yih, Sebastian RiedelACL 2020 · 417 citations
  4. TAPEX: Table Pre-training via Learning a Neural SQL ExecutorQian Liu, Bei Chen, Jiaqi Guo, Morteza Ziyadi et al.ICLR 2022 · 347 citations
  5. HybridQA: A Dataset of Multi-Hop Question Answering over Tabular and Textual DataWenhu Chen, Hanwen Zha, Zhiyu Chen, Wenhan Xiong et al.EMNLP Findings 2020 · 205 citations

Related papers

  1. ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning ExamplesYilun Zhao, Linyong Nan, Zhenting Qi, Rui Zhang et al.EMNLP 2022 · 15 citations
  2. PASTA: Table-Operations Aware Fact Verification via Sentence-Table Cloze Pre-trainingZihui Gu, Ju Fan, Nan Tang, Preslav Nakov et al.EMNLP 2022 · 19 citations
  3. API-Assisted Code Generation for Question Answering on Varied Table StructuresYihan Cao, Shuyi Chen, Ryan Liu, Zhiruo Wang et al.EMNLP 2023 · 6 citations
  4. M²-TabFact: Multi-Document Multi-Modal Fact Verification with Visual and Textual Representations of Tabular DataMingyang Zhou, Lingyu Zhang, Sophia Horng, Maximillian Chen et al.ACL Findings 2025
  5. Table-R1: Inference-Time Scaling for Table Reasoning TasksZheyuan Yang, Lyuhao Chen, Arman Cohan, Yilun ZhaoEMNLP 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines