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

通过增加自然语言变化来改善语义解析中的泛化能力

Improving Generalization in Semantic Parsing by Increasing Natural Language Variation

Institute for Language, Cognition and Computation(语言、认知与计算研究所);School of Informatics, University of Edinburgh(爱丁堡大学信息学院)

Irina Saparina, Mirella Lapata

AI总结:

针对 text-to-SQL 语义解析模型在 Spider 基准上因问题语言形式单一而难以泛化的问题,利用大型语言模型进行数据增强生成更多样真实的问题,显著提升了模型在鲁棒性基准和域外数据上的表现。

摘要:

Text-to-SQL 语义解析近年来取得了显著进展,各种模型在具有挑战性的 Spider 基准上表现出令人印象深刻的性能。然而,研究也表明,即使面对先前(准确)解析表达式的微小扰动,这些模型通常也难以泛化。这主要是因为 Spider 中问题的语言形式过于具体、不自然,且表现出有限的变化。在这项工作中,我们使用数据增强来提高 text-to-SQL 解析器对自然语言变化的鲁棒性。现有方法要么通过在 Spider 上训练的模型生成问题重述,要么仅引入局部修改。相比之下,我们利用大型语言模型的能力来生成更真实、更多样化的问题。仅使用少量提示,我们就使 Spider 中的问题数量增加了两倍。在这个增强数据集上训练在一系列评估集上取得了显著改进,包括鲁棒性基准和域外数据。

英文摘要:

Text-to-SQL semantic parsing has made significant progress in recent years, with various models demonstrating impressive performance on the challenging Spider benchmark. However, it has also been shown that these models often struggle to generalize even when faced with small perturbations of previously (accurately) parsed expressions. This is mainly due to the linguistic form of questions in Spider which are overly specific, unnatural, and display limited variation. In this work, we use data augmentation to enhance the robustness of text-to-SQL parsers against natural language variations. Existing approaches generate question reformulations either via models trained on Spider or only introduce local changes. In contrast, we leverage the capabilities of large language models to generate more realistic and diverse questions. Using only a few prompts, we achieve a two-fold increase in the number of questions in Spider. Training on this augmented dataset yields substantial improvements on a range of evaluation sets, including robustness benchmarks and out-of-domain data.

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

↑