AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (1.4 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Publishing Language: Chinese | Open Access

Chinese cross-domain NL2SQL algorithm enhanced by auxiliary task

Yahong HU1Yadong LIU2Zhengdong ZHU3( )Pengjie LIU3
College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China
School of Software Engineering, Xi′an Jiaotong University, Xi′an 710049, China
School of Computer Science and Technology, Xi′an Jiaotong University, Xi′an 710049, China
Show Author Information

Abstract

NL2SQL (natural language to structured query language) task aims to translate natural language queries into SQL (structured query language) executable by the database. A Chinese cross-domain NL2SQL algorithm enhanced by auxiliary tasks was proposed. Core idea was to perform multi-task training and improve the accuracy of the model by adding auxiliary tasks in the decoder and combining the prototype model. Auxiliary task was designed by modeling the database schema into a graph, predicting the dependency relations between the natural language queries and the nodes in the database schema graph, and explicitly modeling the dependency relations between the natural language query and the database schema. Through the improvement of auxiliary tasks, the model can better identify which tables/columns in the database schema are more effective for predicting the target SQL for specific natural language queries. Experimental results on the Chinese NL2SQL dataset DuSQL show that the algorithm after adding auxiliary tasks has achieved better results than the prototype model, and can better handle cross-domain NL2SQL task.

CLC number: TP391 Document code: A Article ID: 1001-2486(2024)02-197-08

References

【1】
【1】
 
 
Journal of National University of Defense Technology
Pages 197-204

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
HU Y, LIU Y, ZHU Z, et al. Chinese cross-domain NL2SQL algorithm enhanced by auxiliary task. Journal of National University of Defense Technology, 2024, 46(2): 197-204. https://doi.org/10.11887/j.cn.202402020

351

Views

1

Downloads

0

Crossref

0

Web of Science

3

Scopus

1

CSCD

Received: 18 January 2022
Published: 28 April 2024
© 2024 Journal of National University of Defense Technology

This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).