paper-with-me

홈 › Papers

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

2023-10-23 · 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.

📄 PDF Abstract BibTeX arXiv:2310.14687

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationQuestion Answering

Similar Papers 제목 키워드 기반

KCS: Diversify Multi-hop Question Generation with Knowledge Composition Sampling

2025-08-28 · Yangfan Wang, Jie Liu, Chen Tang, Lian Yan 외 arxiv

Multi-hop question answering faces substantial challenges due to data sparsity, which increases the likelihood of language models learning spurious patterns. To address this issue, prior research has focused on diversify…

Multi-hop Question AnsweringQuestion GenerationData Augmentation

RuBQ: A Russian Dataset for Question Answering over Wikidata

2020-05-21 · Vladislav Korablinov, Pavel Braslavski

The paper presents RuBQ, the first Russian knowledge base question answering (KBQA) dataset. The high-quality dataset consists of 1,500 Russian questions of varying complexity, their English machine translations, SPARQL …

Entity LinkingKnowledge Base Question AnsweringQuestion Answering

Chartographer: Counterfactual Chart Generation for Evaluating Vision-Language Models

2026-05-26 · Yifan Jiang, Dae Yon Hwang, Jesse C. Cresswell, Freda Shi arxiv

Chart question-answering (QA) benchmarks aim to pose questions that require visual reasoning to correctly answer, but models can often reach solutions through shortcuts or prior familiarity with a chart based on their ow…

Visual Reasoning

Passage Segmentation of Documents for Extractive Question Answering

2025-01-17 · Zuhong Liu, Charles-Elie Simon, Fabien Caspani

Retrieval-Augmented Generation (RAG) has proven effective in open-domain question answering. However, the chunking process, which is essential to this pipeline, often receives insufficient attention relative to retrieval…

ChunkingExtractive Question-AnsweringOpen-Domain Question AnsweringPassage Retrieval+4

Evaluating Chunking Strategies for Retrieval-Augmented Generation on Academic Texts

2026-07-02 · Valentin J. J. Kreileder, Johannes Reisinger, Andreas Fischer arxiv

Retrieval-Augmented Generation (RAG) systems use the question-answering capabilities of Large Language Models (LLMs) to access information outside their parameters. We evaluate if cluster-based semantic chunking improves…