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

基于多层专家网络的改进型NL2SQL

Improved NL2SQL based on Multi-layer Expert Network

Chenduo Hao, Xu Zhang

AI总结:

针对NL2SQL中槽填充因任务冲突导致负迁移的问题,提出多层专家网络方法MLEG-SQL,通过分层提取语义特征并构建专家系统,在WiKSQL数据集上验证了生成准确SQL语句的有效性。

摘要:

自然语言转SQL(NL2SQL)技术用于将自然语言查询转换为可执行的SQL语句。通常,在多任务场景中采用槽填充作为分类方法来实现这一目标。然而,由于不同分类任务带来的负迁移问题,槽填充可能导致SQL语句生成不准确。为克服这一局限,本研究引入了一种名为多层专家生成SQL(MLEG-SQL)的新方法,该方法利用专用的多任务分层网络。网络的下层提取自然语言语句的语义特征,而上层构建专门的专家系统以处理特定分类任务。这种分层方法缓解了不同任务冲突所导致的性能下降。所提方法在WiKSQL数据集上进行了评估,结果表明其在生成准确SQL语句方面是有效的。

英文摘要:

The Natural Language to SQL (NL2SQL) technique is used to convert natural language queries into executable SQL statements. Typically, slot-filling is employed as a classification method for multi-task cases to achieve this goal. However, slot-filling can result in inaccurate SQL statement generation due to negative migration issues arising from different classification tasks. To overcome this limitation, this study introduces a new approach called Multi-Layer Expert Generate SQL (MLEG-SQL), which utilizes a dedicated multi-task hierarchical network. The lower layer of the network extracts semantic features of natural language statements, while the upper layer builds a specialized expert system for handling specific classification tasks. This hierarchical approach mitigates performance degradation resulting from different task conflicts. The proposed method was evaluated on the WiKSQL dataset and was found to be effective in generating accurate SQL statements.

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

↑