arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.02624cs.LGcs.NEcs.PLstat.ML
收藏

神经程序设计数据生成实例

Data Generation for Neural Programming by Example

University of Leeds(利兹大学);University of California at San Diego(加州大学圣地亚哥分校);CNRS(法国国家科学研究中心);Alan Turing Institute(艾伦·图灵研究所);Google(谷歌);UCL(伦敦大学学院)

Judith Clymo, Haik Manukian, Nathanaël Fijalkow, Adrià Gascón, Brooks Paige

摘要:

通过示例编程是从一小部分输入/输出对合成程序的问题。最近将机器学习方法应用于此任务的工作显示出希望,但通常依赖于生成用于训练的合成示例。一个特殊的挑战在于生成有意义的输入和输出集,这些集可以很好地描述给定程序并准确地展示其行为。在用于测试的示例通过与训练数据相同的方法生成的情况下,模型的性能可能部分依赖于这种相似性。在本文中,我们介绍了一种新的方法,使用SMT求解器来合成输入,其中涵盖了一个给定的程序的各种行为。我们进行了一个案例研究,将这种方法与文献中现有的合成数据生成程序进行比较,发现使用我们的方法生成的数据提高了示例集的区分能力和训练的机器学习模型推广到不熟悉数据的能力。

英文摘要:

Programming by example is the problem of synthesizing a program from a small set of input / output pairs. Recent works applying machine learning methods to this task show promise, but are typically reliant on generating synthetic examples for training. A particular challenge lies in generating meaningful sets of inputs and outputs, which well-characterize a given program and accurately demonstrate its behavior. Where examples used for testing are generated by the same method as training data then the performance of a model may be partly reliant on this similarity. In this paper we introduce a novel approach using an SMT solver to synthesize inputs which cover a diverse set of behaviors for a given program. We carry out a case study comparing this method to existing synthetic data generation procedures in the literature, and find that data generated using our approach improves both the discriminatory power of example sets and the ability of trained machine learning models to generalize to unfamiliar data.

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

↑