Decoupling SQL Query Hardness Parsing for Text-to-SQL

Jiawen Yi, Guo Chen
12/11/2023
cs.CL

No official code found. Best implementation: JarvenYi/DQHP (2 stars, last commit 2024-10-24).

Abstract

The fundamental goal of the Text-to-SQL task is to translate natural language question into SQL query. Current research primarily emphasizes the information coupling between natural language questions and schemas, and significant progress has been made in this area. The natural language questions as the primary task requirements source determines the hardness of correspond SQL queries, the correlation between the two always be ignored. However, when the correlation between questions and queries was decoupled, it may simplify the task. In this paper, we introduce an innovative framework for Text-to-SQL based on decoupling SQL query hardness parsing. This framework decouples the Text-to-SQL task based on query hardness by analyzing questions and schemas, simplifying the multi-hardness task into a single-hardness challenge. This greatly reduces the parsing pressure on the language model. We evaluate our proposed framework and achieve a new state-of-the-art performance of fine-turning methods on Spider dev.

View on arXivView PDF

Code Implementations(1)

JarvenYi/DQHPCommunity67%

Decoupling SQL Query Hardness Parsing for Text-to-SQL

21Shell, PythonOct 24, 20241 years ago

Cite this paper

@article{yi2023decoupling,
  title  = {Decoupling SQL Query Hardness Parsing for Text-to-SQL},
  author = {Jiawen Yi and Guo Chen},
  year   = {2023},
  eprint = {2312.06172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06172v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.06172.svg)](https://codeofpaper.com/paper/2312.06172)

Discussion