RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL
Proceedings of the AAAI Conference on Artificial Intelligence · 26.06.2023 · 37 (11) · 13067-13075
DOI: 10.1609/aaai.v37i11.26535 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 26.06.2023. Verfasst von Haoyang Li und 3 weiteren Autor:innen. Die Arbeit wurde bisher 188-mal zitiert (Crossref).
Abstract (Originalsprache)
One of the recent best attempts at Text-to-SQL is the pre-trained language model. Due to the structural property of the SQL queries, the seq2seq model takes the responsibility of parsing both the schema items (i.e., tables and columns) and the skeleton (i.e., SQL keywords). Such coupled targets increase the difficulty of parsing the correct SQL queries especially when they involve many schema items and logic operators. This paper proposes a ranking-enhanced encoding and skeleton-aware decoding framework to decouple the schema linking and the skeleton parsing. Specifically, for a seq2seq encoder-decode model, its encoder is injected by the most relevant schema items instead of the whole unordered ones, which could alleviate the schema linking effort during SQL parsing, and its decoder first generates the skeleton and then the actual SQL query, which could implicitly constrain the SQL parsing. We evaluate our proposed framework on Spider and its three robustness variants: Spider-DK, Spider-Syn, and Spider-Realistic. The experimental results show that our framework delivers promising performance and robustness. Our code is available at https://github.com/RUCKBReasoning/RESDSQL.
Zitieren
APA
Li, H., Zhang, J., Li, C., & Chen, H. (2023). RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL. Proceedings of the AAAI Conference on Artificial Intelligence, 37(11), 13067-13075. https://doi.org/10.1609/aaai.v37i11.26535
Vancouver
Li H, Zhang J, Li C, Chen H. RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL. Proceedings of the AAAI Conference on Artificial Intelligence. 2023;37(11):13067-13075. doi:10.1609/aaai.v37i11.26535
BibTeX
@article{Li2023,
author = {Li, Haoyang and Zhang, Jing and Li, Cuiping and Chen, Hong},
title = {RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2023},
volume = {37},
number = {11},
pages = {13067--13075},
doi = {10.1609/aaai.v37i11.26535}
}
EUVIMED