Selective Demonstrations for Cross-domain Text-to-SQL. Chang, S. & Fosler-Lussier, E. In Bouamor, H., Pino, J., & Bali, K., editors, Findings of the Association for Computational Linguistics: EMNLP 2023, pages 14174–14189, Singapore, December, 2023. Association for Computational Linguistics.
Selective Demonstrations for Cross-domain Text-to-SQL [link]Paper  doi  abstract   bibtex   1 download  
Large language models (LLMs) with in-context learning have demonstrated impressive generalization capabilities in the cross-domain text-to-SQL task, without the use of in-domain annotations. However, incorporating in-domain demonstration examples has been found to greatly enhance LLMs' performance. In this paper, we delve into the key factors within in-domain examples that contribute to the improvement and explore whether we can harness these benefits without relying on in-domain annotations. Based on our findings, we propose a demonstration selection framework, ODIS, which utilizes both out-of-domain examples and synthetically generated in-domain examples to construct demonstrations. By retrieving demonstrations from hybrid sources, ODIS leverages the advantages of both, showcasing its effectiveness compared to baseline methods that rely on a single data source. Furthermore, ODIS outperforms state-of-the-art approaches on two cross-domain text-to-SQL datasets, with improvements of 1.1 and 11.8 points in execution accuracy, respectively.
@inproceedings{chang-fosler-lussier-2023-selective,
	abstract = {Large language models (LLMs) with in-context learning have demonstrated impressive generalization capabilities in the cross-domain text-to-SQL task, without the use of in-domain annotations. However, incorporating in-domain demonstration examples has been found to greatly enhance LLMs{'} performance. In this paper, we delve into the key factors within in-domain examples that contribute to the improvement and explore whether we can harness these benefits without relying on in-domain annotations. Based on our findings, we propose a demonstration selection framework, ODIS, which utilizes both out-of-domain examples and synthetically generated in-domain examples to construct demonstrations. By retrieving demonstrations from hybrid sources, ODIS leverages the advantages of both, showcasing its effectiveness compared to baseline methods that rely on a single data source. Furthermore, ODIS outperforms state-of-the-art approaches on two cross-domain text-to-SQL datasets, with improvements of 1.1 and 11.8 points in execution accuracy, respectively.},
	address = {Singapore},
	author = {Chang, Shuaichen and Fosler-Lussier, Eric},
	booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2023},
	date-added = {2024-08-27 13:33:22 -0400},
	date-modified = {2024-08-27 13:33:22 -0400},
	doi = {10.18653/v1/2023.findings-emnlp.944},
	editor = {Bouamor, Houda and Pino, Juan and Bali, Kalika},
	month = dec,
	pages = {14174--14189},
	publisher = {Association for Computational Linguistics},
	title = {Selective Demonstrations for Cross-domain Text-to-{SQL}},
	url = {https://aclanthology.org/2023.findings-emnlp.944},
	year = {2023},
	bdsk-url-1 = {https://aclanthology.org/2023.findings-emnlp.944},
	bdsk-url-2 = {https://doi.org/10.18653/v1/2023.findings-emnlp.944}}

Downloads: 1