Grounded Adaptation for Zero-shot Executable Semantic Parsing
About
We propose Grounded Adaptation for Zero-shot Executable Semantic Parsing (GAZP) to adapt an existing semantic parser to new environments (e.g. new database schemas). GAZP combines a forward semantic parser with a backward utterance generator to synthesize data (e.g. utterances and SQL queries) in the new environment, then selects cycle-consistent examples to adapt the parser. Unlike data-augmentation, which typically synthesizes unverified examples in the training environment, GAZP synthesizes examples in the new environment whose input-output consistency are verified. On the Spider, Sparc, and CoSQL zero-shot semantic parsing tasks, GAZP improves logical form and execution accuracy of the baseline parser. Our analyses show that GAZP outperforms data-augmentation in the training environment, performance increases with the amount of GAZP-synthesized data, and cycle-consistency is central to successful adaptation.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Text-to-SQL | Spider (test) | Execution Accuracy53.5 | 140 | |
| Text-to-SQL | Spider (dev) | EX (All)59.2 | 100 | |
| Text-to-SQL | Spider 1.0 (dev) | Exact Match Accuracy59.1 | 92 | |
| Text-to-SQL | Spider 1.0 (test) | EM Acc (Overall)53.3 | 91 | |
| Context-dependent Text-to-SQL | SParC 1.0 (dev) | Question Match48.9 | 27 | |
| Context-dependent Text-to-SQL | CoSQL (dev) | Question Match42 | 22 | |
| Context-dependent Text-to-SQL | SParC 1.0 (test) | Question Match45.9 | 12 | |
| Context-dependent Text-to-SQL | CoSQL (test) | Question Match39.7 | 12 | |
| Language-to-SQL Parsing | Sparc (dev) | EM48.9 | 3 | |
| Language-to-SQL Parsing | CoSQL (dev) | EM42 | 3 |