GTR: An SQL Generator With Transition Representation in Cross-Domain Database Systems

被引:0
|
作者
Qiao, Shaojie [1 ]
Liu, Chenxu [1 ]
Yang, Guoping [1 ]
Han, Nan [2 ]
Peng, Yuhan [1 ]
Wu, Lingchun [1 ]
Li, He [3 ]
Yuan, Guan [4 ]
机构
[1] Chengdu Univ Informat Technol, Sch Software Engn, Chengdu 610225, Peoples R China
[2] Chengdu Univ Informat Technol, Sch Management, Chengdu 610225, Peoples R China
[3] Xidian Univ, Sch Comp Sci & Technol, Xian 710071, Peoples R China
[4] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou 221116, Jiangsu, Peoples R China
基金
中国国家自然科学基金;
关键词
Automatic SQL generator; cross-domain database; grammar-based neural model; natural language (NL); NL-to-SQL learning system; transition representation (TR); TEXT-TO-SQL; NATURAL-LANGUAGE;
D O I
10.1109/TNNLS.2023.3309824
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Recent studies have focused on using natural language (NL) to automatically retrieve useful data from database (DB) systems. As an important component of autonomous DB systems, the NL-to-SQL technique can assist DB administrators in writing high-quality SQL statements and make persons with no SQL background knowledge learn complex SQL languages. However, existing studies cannot deal with the issue that the expression of NL inevitably mismatches the implementation details of SQLs, and the large number of out-of-domain (OOD) words makes it difficult to predict table columns. In particular, it is difficult to accurately convert NL into SQL in an end-to-end fashion. Intuitively, it facilitates the model to understand the relations if a "bridge" [transition representation (TR)] is employed to make it compatible with both NL and SQL in the phase of conversion. In this article, we propose an automatic SQL generator with TR called GTR in cross-domain DB systems. Specifically, GTR contains three SQL generation steps: 1) GTR learns the relation between questions and DB schemas; 2) GTR uses a grammar-based model to synthesize a TR; and 3) GTR predicts SQL from TR based on the rules. We conduct extensive experiments on two commonly used datasets, that is, WikiSQL and Spider. On the testing set of the Spider and WikiSQL datasets, the results show that GTR achieves 58.32% and 71.29% exact matching accuracy which outperforms the state-of-the-art methods, respectively.
引用
收藏
页码:17908 / 17920
页数:13
相关论文
共 50 条
  • [21] The ARTEMIS cross-domain architecture for embedded systems
    Kopetz, Hermann
    2007 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2007, : 1468 - 1469
  • [22] Intrusion Detection Systems: A Cross-Domain Overview
    Tidjon, Lionel N.
    Frappier, Marc
    Mammar, Amel
    IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2019, 21 (04): : 3639 - 3681
  • [23] DADRnet: Cross-domain image dehazing via domain adaptation and disentangled representation
    Li, Xiaopeng
    Yu, Hu
    Zhao, Chen
    Fan, Cien
    Zou, Lian
    NEUROCOMPUTING, 2023, 544
  • [24] From a Visual Scene to a Virtual Representation: A Cross-Domain Review
    Pereira, Americo
    Carvalho, Pedro
    Pereira, Nuno
    Viana, Paula
    Corte-Real, Luis
    IEEE ACCESS, 2023, 11 : 57916 - 57933
  • [25] Cross-Domain Attribute Representation Based on Convolutional Neural Network
    Zhang, Guohui
    Liang, Gaoyuan
    Su, Fang
    Qu, Fanxin
    Wang, Jing-Yan
    INTELLIGENT COMPUTING METHODOLOGIES, ICIC 2018, PT III, 2018, 10956 : 134 - 142
  • [26] Domain structure-based transfer learning for cross-domain word representation
    Huang, Heyan
    Liu, Qian
    INFORMATION FUSION, 2021, 76 : 145 - 156
  • [27] Learning Disentangled Representation for Multimodal Cross-Domain Sentiment Analysis
    Zhang, Yuhao
    Zhang, Ying
    Guo, Wenya
    Cai, Xiangrui
    Yuan, Xiaojie
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2023, 34 (10) : 7956 - 7966
  • [28] Feature Representation Learning for Unsupervised Cross-Domain Image Retrieval
    Hu, Conghui
    Lee, Gim Hee
    COMPUTER VISION, ECCV 2022, PT XXXVII, 2022, 13697 : 529 - 544
  • [29] Detach and Adapt: Learning Cross-Domain Disentangled Deep Representation
    Liu, Yen-Cheng
    Yeh, Yu-Ying
    Fu, Tzu-Chien
    Wang, Sheng-De
    Chiu, Wei-Chen
    Wang, Yu-Chiang Frank
    2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, : 8867 - 8876
  • [30] Exploiting Graph Structured Cross-Domain Representation for Multi-domain Recommendation
    Ariza-Casabona, Alejandro
    Twardowski, Bartlomiej
    Wijaya, Tri Kurniawan
    ADVANCES IN INFORMATION RETRIEVAL, ECIR 2023, PT I, 2023, 13980 : 49 - 65