arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.19974cs.CL
收藏

通过动态模式编码用自然语言纠正语义解析

Correcting Semantic Parses with Natural Language through Dynamic Schema Encoding

Fidelity Investments, AI Center of Excellence(富达投资人工智能卓越中心)

Parker Glenn, Parag Pravin Dakle, Preethi Raghavan

AI总结:

本文提出利用自然语言反馈和动态模式编码纠正text-to-SQL解析错误,通过分离语义与句法困难,仅一轮纠正即可将解析准确率最多提升26%,并验证T5-base可零样本纠正T5-large的错误。

摘要:

在处理将自然语言转换为SQL查询的任务时,存在若干语义和句法挑战。随着语义解析系统性能的提升,理解并修复失败点变得越来越重要。我们探索利用自然语言反馈进行语义解析纠正,基于自回归解码器在text-to-SQL任务中的成功提出了一种新解决方案。通过将该任务的语义困难和句法困难分离,我们表明仅需一轮自然语言纠正,text-to-SQL解析器的准确率最多可提升26%。此外,我们表明T5-base模型能够在零样本、跨解析器设置下纠正T5-large模型的错误。

英文摘要:

In addressing the task of converting natural language to SQL queries, there are several semantic and syntactic challenges. It becomes increasingly important to understand and remedy the points of failure as the performance of semantic parsing systems improve. We explore semantic parse correction with natural language feedback, proposing a new solution built on the success of autoregressive decoders in text-to-SQL tasks. By separating the semantic and syntactic difficulties of the task, we show that the accuracy of text-to-SQL parsers can be boosted by up to 26% with only one turn of correction with natural language. Additionally, we show that a T5-base model is capable of correcting the errors of a T5-large model in a zero-shot, cross-parser setting.

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

↑