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

通过SQL查询分解训练表格问答

Training Table Question Answering via SQL Query Decomposition

Sorbonne University(索邦大学);CNRS(法国国家科学研究中心);University of Angers(昂热大学)

Raphaël Mouravieff, Benjamin Piwowarski, Sylvain Lamprier

AI总结:

本文提出在表格问答训练中通过模仿受限SQL类代数运算的执行流程提供中间监督,从而提升泛化与结构化推理能力,并探讨了生成架构与外部算法在操作预测上的分工。

摘要:

表格问答既需要理解自然语言查询,也需要将其与输入表格的上下文进行关联,以提取相关信息。在此背景下,许多方法已强调了从SQL查询进行中间预训练的好处。然而,大多数方法旨在直接从输入生成最终答案,而我们主张在训练期间可以更好地利用SQL查询。通过学习模仿SQL类代数运算的一个受限部分,我们表明其执行流程提供了中间监督步骤,与领域内的经典方法相比,这能够提高泛化能力和结构化推理能力。我们的研究弥合了语义解析与直接回答方法之间的差距,并就生成式架构应预测哪些类型的操作或哪些操作最好由外部算法执行提供了有用的见解。

英文摘要:

Table Question-Answering involves both understanding the natural language query and grounding it in the context of the input table to extract the relevant information. In this context, many methods have highlighted the benefits of intermediate pre-training from SQL queries. However, while most approaches aim at generating final answers from inputs directly, we claim that there is better to do with SQL queries during training. By learning to imitate a restricted portion of SQL-like algebraic operations, we show that their execution flow provides intermediate supervision steps that allow increased generalization and structural reasoning compared with classical approaches of the field. Our study bridges the gap between semantic parsing and direct answering methods and provides useful insights regarding what types of operations should be predicted by a generative architecture or be preferably executed by an external algorithm.

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

↑