arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.12846cs.CLcs.AI
收藏

面向表格问答的精准且遗憾感知数值问题求解器

Accurate and Regret-aware Numerical Problem Solver for Tabular Question Answering

Yuxiang Wang, Jianzhong Qi, Junhao Gan

AI总结:

针对大语言模型处理表格问答中数值计算能力不足的问题,提出将LLMs作为规划器、Python解释器负责计算的TabLaP模型,还实现答案可信度量化方法,准确率较现有最优模型提升超5.7%和5.8%。

摘要:

自由形式表格上的问答(又称TableQA)是一项具有挑战性的任务,原因在于表格结构灵活、模式复杂。近期研究将大语言模型(LLMs)用于该任务,利用其理解自然语言问题与文本字段居多的表格数据的能力。尽管该方法已取得不错的效果,但忽略了表格数据中常见的数值带来的挑战,而LLMs在处理这类数值时表现不佳。我们旨在解决这一问题,提出了名为TabLaP的模型,该模型将LLMs用作规划器而非答案生成器。该方法利用LLMs的多步推理能力,同时将实际数值计算交由Python解释器完成以保障计算精准性。考虑到LLMs的不准确性,我们还首次尝试量化TabLaP生成答案的可信度,使用户能以遗憾感知的方式使用TabLaP。在两个基准数据集上的实验结果表明,TabLaP的准确率大幅优于现有最优模型,在两个数据集上的答案准确率分别提升了5.7%和5.8%。

英文摘要:

Question answering on free-form tables (a.k.a. TableQA) is a challenging task because of the flexible structure and complex schema of tables. Recent studies use Large Language Models (LLMs) for this task, exploiting their capability in understanding the questions and tabular data, which are typically given in natural language and contain many textual fields, respectively. While this approach has shown promising results, it overlooks the challenges brought by numerical values which are common in tabular data, and LLMs are known to struggle with such values. We aim to address this issue, and we propose a model named TabLaP that uses LLMs as a planner rather than an answer generator. This approach exploits LLMs' capability in multi-step reasoning while leaving the actual numerical calculations to a Python interpreter for accurate calculation. Recognizing the inaccurate nature of LLMs, we further make a first attempt to quantify the trustworthiness of the answers produced by TabLaP, such that users can use TabLaP in a regret-aware manner. Experimental results on two benchmark datasets show that TabLaP is substantially more accurate than the state-of-the-art models, improving the answer accuracy by 5.7% and 5.8% on the two datasets, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑