Litcius/Paper detail

HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsing

Yanzhao Zheng, Haibin Wang, Baohua Dong, Xingjun Wang, Changshan Li

2022Findings of the Association for Computational Linguistics: ACL 202232 citationsDOIOpen Access PDF

Abstract

Recently, context-dependent text-to-SQL semantic parsing which translates natural language into SQL in an interaction process has attracted a lot of attention. Previous works leverage context-dependence information either from interaction history utterances or the previous predicted SQL queries but fail in taking advantage of both since of the mismatch between natural language and logicform SQL. In this work, we propose a History Information Enhanced text-to-SQL model (HIE-SQL) to exploit context-dependence information from both history utterances and the last predicted SQL query. In view of the mismatch, we treat natural language and SQL as two modalities and propose a bimodal pretrained model to bridge the gap between them. Besides, we design a schema-linking graph to enhance connections from utterances and the SQL query to the database schema. We show our history information enhanced methods improve the performance of HIE-SQL by a significant margin, which achieves new state-of-theart results on the two context-dependent textto-SQL benchmarks, the SparC and CoSQL datasets, at the writing time.

Topics & Concepts

Computer scienceData definition languageSQLSQL/PSMQuery by ExampleNatural language processingStored procedureParsingProgramming languageArtificial intelligenceInformation retrievalWeb search querySearch engineTopic ModelingNatural Language Processing TechniquesWeb Data Mining and Analysis
HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsing | Litcius