Jie Chen
2023
Explain-then-translate: an analysis on improving program translation with self-generated explanations
Zilu Tang
|
Mayank Agarwal
|
Alexander Shypula
|
Bailin Wang
|
Derry Wijaya
|
Jie Chen
|
Yoon Kim
Findings of the Association for Computational Linguistics: EMNLP 2023
This work explores the use of self-generated natural language explanations as an intermediate step for code-to-code translation with language models. Across three types of explanations and 19 programming languages constructed from the MultiPL-E dataset, we find the explanations to be particularly effective in the zero-shot case, improving performance by 12% on average. Improvements with natural language explanations are particularly pronounced on difficult programs. We release our dataset, code, and canonical solutions in all 19 languages.
2019
Graph Enhanced Cross-Domain Text-to-SQL Generation
Siyu Huo
|
Tengfei Ma
|
Jie Chen
|
Maria Chang
|
Lingfei Wu
|
Michael Witbrock
Proceedings of the Thirteenth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs-13)
Semantic parsing is a fundamental problem in natural language understanding, as it involves the mapping of natural language to structured forms such as executable queries or logic-like knowledge representations. Existing deep learning approaches for semantic parsing have shown promise on a variety of benchmark data sets, particularly on text-to-SQL parsing. However, most text-to-SQL parsers do not generalize to unseen data sets in different domains. In this paper, we propose a new cross-domain learning scheme to perform text-to-SQL translation and demonstrate its use on Spider, a large-scale cross-domain text-to-SQL data set. We improve upon a state-of-the-art Spider model, SyntaxSQLNet, by constructing a graph of column names for all databases and using graph neural networks to compute their embeddings. The resulting embeddings offer better cross-domain representations and SQL queries, as evidenced by substantial improvement on the Spider data set compared to SyntaxSQLNet.
Search
Co-authors
- Siyu Huo 1
- Tengfei Ma 1
- Maria Chang 1
- Lingfei Wu 1
- Michael J. Witbrock 1
- show all...