Lune

EMNLP2023顶会

API-Assisted Code Generation for Question Answering on Varied Table Structures

Yihan Cao, Shuyi Chen, Ryan Liu, Zhiruo Wang, Daniel Fried

摘要

A persistent challenge to table question answering (TableQA) by generating executable programs has been adapting to varied table structures, typically requiring domain-specific logical forms. In response, this paper introduces a unified TableQA framework that: (1) provides a unified representation for structured tables as multi-index Pandas data frames, (2) uses Python as a powerful querying language, and (3) uses few-shot prompting to translate NL questions into Python programs, which are executable on Pandas data frames. Furthermore, to answer complex relational questions with extended program functionality and external knowledge, our framework allows customized APIs that Python programs can call. We experiment with four TableQA datasets that involve tables of different structures — relational, multi-table, and hierarchical matrix shapes — and achieve prominent improvements over past state-of-the-art systems. In ablation studies, we (1) show benefits from our multi-index representation and APIs over baselines that use only an LLM, and (2) demonstrate that our approach is modular and can incorporate additional APIs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Triples as the Key: Structuring Makes Decomposition and Verification Easier in LLM-based TableQA 引用了 TAPEX: Table Pre-training via Learning a Neural SQL Executor
  • RoT: Enhancing Table Reasoning with Iterative Row-Wise Traversals 引用了 Triples as the Key: Structuring Makes Decomposition and Verification Easier in LLM-based TableQA
  • PAL: Program-aided Language Models 引用了 Neural Module Networks for Reasoning over Text
  • ViperGPT: Visual Inference via Python Execution for Reasoning 引用了 PAL: Program-aided Language Models
  • TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Tasks 引用了 PAL: Program-aided Language Models
  • TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Tasks 引用了 ViperGPT: Visual Inference via Python Execution for Reasoning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic TasksZhiruo Wang, Graham Neubig, Daniel FriedICML 2024 · 47 次引用
  2. RoT: Enhancing Table Reasoning with Iterative Row-Wise TraversalsXuanliang Zhang, Dingzirui Wang, Keyan Xu, Qingfu Zhu 等EMNLP 2025 · 2 次引用
  3. HeGTa: Leveraging Heterogeneous Graph-enhanced Large Language Models for Few-shot Complex Table UnderstandingRihui Jin, Yu Li, Guilin Qi, Nan Hu 等AAAI 2025 · 1 次引用
  4. Triples as the Key: Structuring Makes Decomposition and Verification Easier in LLM-based TableQAZhen Yang, Ziwei Du, Minghan Zhang, Wei Du 等ICLR 2025

它引用的 Paper12

  1. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 次引用
  2. ViperGPT: Visual Inference via Python Execution for ReasoningDídac Surís, Sachit Menon, Carl VondrickICCV 2023 · 732 次引用
  3. PAL: Program-aided Language ModelsLuyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon 等ICML 2023 · 700 次引用
  4. TAPEX: Table Pre-training via Learning a Neural SQL ExecutorQian Liu, Bei Chen, Jiaqi Guo, Morteza Ziyadi 等ICLR 2022 · 347 次引用
  5. Neural Module Networks for Reasoning over TextNitish Gupta, Kevin Lin, Dan Roth, Sameer Singh 等ICLR 2020 · 134 次引用

相关 Paper

  1. ReAcTable: Enhancing ReAct for Table Question AnsweringYunjia Zhang, Jordan Henkel, Avrilia Floratou, Joyce Cahoon 等VLDB 2024 · 120 次引用
  2. SMART: Semantic Header Flattening and Pseudo-Code-Style Reasoning for LLM-based Complex Table Question AnsweringYongshuo Zhang, Jixiong Chen, Kaihe Xu, Wei Wei 等ACL Findings 2026
  3. LLM-Symbolic Integration for Robust Temporal Tabular ReasoningAtharv Kulkarni, Kushagra Dixit, Vivek Srikumar, Dan Roth 等ACL Findings 2025
  4. Generation-Focused Table-Based Intermediate Pre-training for Free-Form Question AnsweringPeng Shi, Patrick Ng, Feng Nan, Henghui Zhu 等AAAI 2022 · 16 次引用
  5. TaREx: Reinforcement Learning for Code-Driven Table ReasoningFangyu Lei, Jinxiang Meng, Yiming Huang, Shizhu He 等AAAI 2026
黄昏的海面,两侧是细线勾勒的悬崖