arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.05243cs.AIcs.CL
收藏

数据不可知的RoBERTa-based自然语言到SQL查询生成

Data Agnostic RoBERTa-based Natural Language to SQL Query Generation

ABV-IIITM(ABV-印度信息技术与管理学院)

Debaditya Pal, Harsh Sharma, Kaustubh Chaudhari

摘要:

关系数据库是现代世界中存储大量数据的最广泛使用的体系结构之一。然而,这些数据库和普通用户之间存在障碍。用户通常缺乏与数据库交互所需的诸如SQL的查询语言的知识。NL2SQL任务旨在通过将自然语言问题转换为有效的SQL查询,找到解决此问题的深度学习方法。鉴于某些数据库的敏感性和对数据隐私的日益增长的需求,我们提出了一种以数据隐私为核心的方法。我们已经将RoBERTa嵌入和数据不可知的知识向量传递到基于LSTM的子模型中,以预测最终的查询。虽然我们还没有达到最先进的结果,但我们已经从模型的训练中消除了对表数据的需求,并且已经实现了76.7%的测试集执行准确率。通过在训练时消除表数据依赖性,我们创建了一个能够基于自然语言问题和表模式进行零样本学习的模型。

英文摘要:

Relational databases are among the most widely used architectures to store massive amounts of data in the modern world. However, there is a barrier between these databases and the average user. The user often lacks the knowledge of a query language such as SQL required to interact with the database. The NL2SQL task aims at finding deep learning approaches to solve this problem by converting natural language questions into valid SQL queries. Given the sensitive nature of some databases and the growing need for data privacy, we have presented an approach with data privacy at its core. We have passed RoBERTa embeddings and data-agnostic knowledge vectors into LSTM based submodels to predict the final query. Although we have not achieved state of the art results, we have eliminated the need for the table data, right from the training of the model, and have achieved a test set execution accuracy of 76.7%. By eliminating the table data dependency while training we have created a model capable of zero shot learning based on the natural language question and table schema alone.

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

↑