English

Improved NL2SQL based on Multi-layer Expert Network

Computation and Language 2023-09-19 v3

Abstract

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.

Keywords

Cite

@article{arxiv.2306.17727,
  title  = {Improved NL2SQL based on Multi-layer Expert Network},
  author = {Chenduo Hao and Xu Zhang},
  journal= {arXiv preprint arXiv:2306.17727},
  year   = {2023}
}

Comments

our paper need to be repaired

R2 v1 2026-06-28T11:19:04.697Z