arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2211.11554cs.CL
收藏

对话式代码生成的示例编程和文本到代码转换

Programming by Example and Text-to-Code Translation for Conversational Code Generation

AI Zwei, Inc.(AI Zwei公司);AI Zwei Tech(AI Zwei科技公司);Symanto Research(Symanto研究院)

Eli Whitehouse, William Gerard, Yauhen Klimovich, Marc Franco-Salvador

摘要:

对话系统是自然语言处理中越来越受欢迎的任务。然而,对话路径往往是确定性的,仅限于系统轨道,而不管给定的请求或输入文本。程序合成的最新进展已经导致了能够从非常一般的搜索空间合成程序的系统,例如通过实例编程,以及具有用于编写程序的非常可访问的接口的系统,例如文本到代码的翻译,但是还没有在同一系统中实现这两种质量。我们提出了文本引导分层合成模块化程序(MPaTHS),这是一种集成示例编程和文本到代码系统的方法,它为合成通用程序提供了一个可访问的自然语言接口。我们提出了一个程序表示,使我们的方法被应用到面向任务的对话的问题。最后,我们演示MPaTHS使用我们的程序表示。

英文摘要:

Dialogue systems is an increasingly popular task of natural language processing. However, the dialogue paths tend to be deterministic, restricted to the system rails, regardless of the given request or input text. Recent advances in program synthesis have led to systems which can synthesize programs from very general search spaces, e.g. Programming by Example, and to systems with very accessible interfaces for writing programs, e.g. text-to-code translation, but have not achieved both of these qualities in the same system. We propose Modular Programs for Text-guided Hierarchical Synthesis (MPaTHS), a method for integrating Programming by Example and text-to-code systems which offers an accessible natural language interface for synthesizing general programs. We present a program representation that allows our method to be applied to the problem of task-oriented dialogue. Finally, we demo MPaTHS using our program representation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑