Graph Alignment for Cross-Domain Text-to-SQL

Yadong Liu,Yahong Hu,Zhen Li,Zhengdong Zhu
DOI: https://doi.org/10.1109/icsp54964.2022.9778427
2022-01-01
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.
What problem does this paper attempt to address?