arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.05060cs.AIcs.SE
收藏

基于语用交际的程序合成

Program Synthesis with Pragmatic Communication

MIT(麻省理工学院)

Yewen Pu, Kevin Ellis, Marta Kryven, Josh Tenenbaum, Armando Solar-Lezama

摘要:

程序合成技术从用户提供的规范(诸如输入-输出示例)构造或推断程序。然而,大多数规格,特别是那些最终用户,离开的综合问题根本不适定,因为许多程序可能同时满足规格。先前的工作通过使用各种归纳偏差来解决这种模糊性,例如对简单程序的偏好。这项工作介绍了一个新的归纳偏见来自建模的程序合成任务,理性的沟通,从递归的推理模型语用学的见解。给定一个规范,我们对候选程序进行评分,既要考虑它与规范的一致性,也要考虑一个理性的演讲者是否会选择这个特定的规范来传达这个程序。我们开发了有效的算法,这样的方法时,从输入输出的例子学习,并建立一个务实的程序合成器在一个简单的网格布局域。一项用户研究发现,最终用户参与者更有效地沟通与务实的程序合成器在一个非务实的。

英文摘要:

Program synthesis techniques construct or infer programs from user-provided specifications, such as input-output examples. Yet most specifications, especially those given by end-users, leave the synthesis problem radically ill-posed, because many programs may simultaneously satisfy the specification. Prior work resolves this ambiguity by using various inductive biases, such as a preference for simpler programs. This work introduces a new inductive bias derived by modeling the program synthesis task as rational communication, drawing insights from recursive reasoning models of pragmatics. Given a specification, we score a candidate program both on its consistency with the specification, and also whether a rational speaker would chose this particular specification to communicate that program. We develop efficient algorithms for such an approach when learning from input-output examples, and build a pragmatic program synthesizer over a simple grid-like layout domain. A user study finds that end-user participants communicate more effectively with the pragmatic program synthesizer over a non-pragmatic one.

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

↑