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

最先进 Text-to-SQL 模型的领域适应:经验教训与发现的挑战

Domain Adaptation of a State of the Art Text-to-SQL Model: Lessons Learned and Challenges Found

IBM Research(IBM研究院)

Irene Manotas, Octavian Popescu, Ngoc Phuoc An Vo, Vadim Sheinin

AI总结:

本文评估并微调 T5 与 Picard 在 Spider 之外查询结构和独立数据库上的领域适应能力,并提出基于规则和语义中间表示的值消歧方法。

摘要:

Text-to-SQL 任务近期取得了许多先进进展,其中,根据 Spider 数据集竞赛的衡量,Picard 模型是表现最好的模型之一。然而,通过领域适应将 Text-to-SQL 系统引入真实用例仍是一项艰巨挑战。我们分析了基础 T5 语言模型和 Picard 在不同于 Spider 数据集的查询结构上的表现,并在 Spider 数据和独立数据库(DB)上对基础模型进行了微调。为避免推理期间在线访问 DB 内容,我们还提出了一种替代方法,使用基于规则的方法消除输入问题中值的歧义,该方法依赖输入问题语义概念的中间表示。结果展示了 T5 和 Picard 在哪些情况下能够取得良好性能,我们分享了所得经验,并讨论了当前的领域适应挑战。

英文摘要:

There are many recent advanced developments for the Text-to-SQL task, where the Picard model is one of the the top performing models as measured by the Spider dataset competition. However, bringing Text-to-SQL systems to realistic use-cases through domain adaptation remains a tough challenge. We analyze how well the base T5 Language Model and Picard perform on query structures different from the Spider dataset, we fine-tuned the base model on the Spider data and on independent databases (DB). To avoid accessing the DB content online during inference, we also present an alternative way to disambiguate the values in an input question using a rule-based approach that relies on an intermediate representation of the semantic concepts of an input question. In our results we show in what cases T5 and Picard can deliver good performance, we share the lessons learned, and discuss current domain adaptation challenges.

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

↑