arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.05952cs.DBcs.AIcs.CLcs.LG
收藏

H-STAR:LLM驱动的表格SQL-文本混合自适应推理

H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tables

Virginia Tech(弗吉尼亚理工大学);Arizona State University(亚利桑那州立大学);University of Pennsylvania(宾夕法尼亚大学)

Nikhil Abhyankar, Vivek Gupta, Dan Roth, Chandan K. Reddy

AI总结:

本文提出LLM驱动的H-STAR算法,通过两阶段过程结合符号与语义推理进行表格推理,在多个数据集上显著优于现有方法。

摘要:

表格推理涉及对表格数据的自然语言查询进行解释,这带来了将语言理解与结构化数据分析相结合的独特挑战。现有方法要么采用文本推理,在语义解释方面表现出色但在数学运算上存在困难;要么采用符号推理,能很好地处理计算但缺乏语义理解。本文提出了一种新颖的算法H-STAR,该算法在两阶段过程中集成了符号和语义(文本)方法以解决这些局限性。H-STAR采用:(1)使用“多视角”列检索随后进行行提取的逐步表格提取,以及(2)根据问题类型调整推理策略的自适应推理,对直接查找和复杂词汇查询利用语义推理,同时通过为定量和逻辑任务提供符号推理支持来增强文本推理。我们的大量实验表明,H-STAR在三个表格问答(QA)和事实验证数据集上显著优于最先进的方法,凸显了其有效性和效率。

英文摘要:

Tabular reasoning involves interpreting natural language queries about tabular data, which presents a unique challenge of combining language understanding with structured data analysis. Existing methods employ either textual reasoning, which excels in semantic interpretation but struggles with mathematical operations, or symbolic reasoning, which handles computations well but lacks semantic understanding. This paper introduces a novel algorithm H-STAR that integrates both symbolic and semantic (textual) approaches in a two-stage process to address these limitations. H-STAR employs: (1) step-wise table extraction using `multi-view' column retrieval followed by row extraction, and (2) adaptive reasoning that adapts reasoning strategies based on question types, utilizing semantic reasoning for direct lookup and complex lexical queries while augmenting textual reasoning with symbolic reasoning support for quantitative and logical tasks. Our extensive experiments demonstrate that H-STAR significantly outperforms state-of-the-art methods across three tabular question-answering (QA) and fact-verification datasets, underscoring its effectiveness and efficiency.

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

↑