{"title":"Graph Alignment for Cross-Domain Text-to-SQL","authors":"Yadong Liu, Yahong Hu, Zhen Li, Zhengdong Zhu","doi":"10.1109/ICSP54964.2022.9778427","DOIUrl":null,"url":null,"abstract":"Text-to-SQL, the task of translating the natural language utterance into SQL, has attracted much attention recently. Under the cross-domain setting, the traditional semantic parse model is difficult to adapt to the invisible database schema. The key to being able to better handle cross-domain issues lies in the encoding method for modeling the natural language utterance and the database schema and establishing alignment between them. We propose a Graph Alignment for cross-domain Text-to-SQL (GASQL) to provide a method that unified encodes the natural language utterance and the database schema. Following the unified encoding method, we propose a well-designed graph alignment module to further learn the alignment between the natural language utterance and the database schema. We conducted experiments on the challenging Spider benchmark, and the results proved that our model can align the natural language utterance and database schema well, and achieved good results.","PeriodicalId":363766,"journal":{"name":"2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSP54964.2022.9778427","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Text-to-SQL, the task of translating the natural language utterance into SQL, has attracted much attention recently. Under the cross-domain setting, the traditional semantic parse model is difficult to adapt to the invisible database schema. The key to being able to better handle cross-domain issues lies in the encoding method for modeling the natural language utterance and the database schema and establishing alignment between them. We propose a Graph Alignment for cross-domain Text-to-SQL (GASQL) to provide a method that unified encodes the natural language utterance and the database schema. Following the unified encoding method, we propose a well-designed graph alignment module to further learn the alignment between the natural language utterance and the database schema. We conducted experiments on the challenging Spider benchmark, and the results proved that our model can align the natural language utterance and database schema well, and achieved good results.