arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08574cs.LGcs.PLcs.SE
收藏

WikiCoder:学习编写知识驱动的代码

WikiCoder: Learning to Write Knowledge-Powered Code

CNRS(法国国家科学研究中心);LaBRI(波尔多计算机科学实验室);University of Bordeaux(波尔多大学);MIMUW(华沙大学数学、信息学与力学学院);University of Warsaw(华沙大学)

Théo Matricon, Nathanaël Fijalkow, Gaëtan Margueritte

摘要:

我们处理的问题自动生成的计算机程序从几对输入输出的例子。这项工作的出发点是观察到,在许多应用程序的解决方案必须使用外部知识不存在的例子:我们呼吁这样的程序知识驱动的,因为他们可以引用从知识图谱,如维基百科收集的信息。本文对知识驱动的程序合成迈出了第一步。我们提出了WikiCoder,一个系统的基础上,最先进的机器学习程序合成器和集成知识图谱。我们评估它,以显示其在不同领域的广泛适用性,并讨论其局限性。由于使用了知识图谱,WikiCoder解决了以前没有程序合成器能够解决的任务,同时集成了该领域的最新发展,以大规模运行。

英文摘要:

We tackle the problem of automatic generation of computer programs from a few pairs of input-output examples. The starting point of this work is the observation that in many applications a solution program must use external knowledge not present in the examples: we call such programs knowledge-powered since they can refer to information collected from a knowledge graph such as Wikipedia. This paper makes a first step towards knowledge-powered program synthesis. We present WikiCoder, a system building upon state of the art machine-learned program synthesizers and integrating knowledge graphs. We evaluate it to show its wide applicability over different domains and discuss its limitations. WikiCoder solves tasks that no program synthesizers were able to solve before thanks to the use of knowledge graphs, while integrating with recent developments in the field to operate at scale.

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

↑