arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.04157cs.AI
收藏

神经程序元归纳

Neural Program Meta-Induction

Google(谷歌);University of Oxford(牛津大学);Microsoft Research(微软研究院);DeepMind

Jacob Devlin, Rudy Bunel, Rishabh Singh, Matthew Hausknecht, Pushmeet Kohli

摘要:

最近提出的用于神经程序归纳的方法在具有用于学习任何底层输入输出映射的大量输入/输出(I/O)示例的假设下工作。本文旨在通过利用相关任务的信息来解决程序归纳的数据和计算效率问题。具体来说,我们提出了两种跨任务知识转移的方法,以提高程序归纳在有限的数据场景。在我们的第一个建议中,投资组合适应,一组归纳模型在一组相关任务上进行预训练,最好的模型使用迁移学习适应新任务。在我们的第二种方法中,Meta程序归纳,一个$k$ -shot学习方法被用来使一个模型推广到新的任务,而无需额外的训练。为了测试我们的方法的有效性,我们构建了一个新的基准程序编写的卡雷尔程序设计语言。使用广泛的实验评估卡雷尔基准,我们证明,我们的建议大大优于基线归纳法,不使用知识转移。我们还分析了这两种方法的相对性能,并研究了它们表现最好的条件。特别地,Meta归纳在极端数据稀疏性下(当非常少量的示例可用时)优于所有现有方法,即,不到十个。随着可用I/O示例数量的增加(即一千个或更多),组合适应程序归纳成为最佳方法。对于中间数据大小,我们证明了适应Meta程序归纳的组合方法具有最强的性能。

英文摘要:

Most recently proposed methods for Neural Program Induction work under the assumption of having a large set of input/output (I/O) examples for learning any underlying input-output mapping. This paper aims to address the problem of data and computation efficiency of program induction by leveraging information from related tasks. Specifically, we propose two approaches for cross-task knowledge transfer to improve program induction in limited-data scenarios. In our first proposal, portfolio adaptation, a set of induction models is pretrained on a set of related tasks, and the best model is adapted towards the new task using transfer learning. In our second approach, meta program induction, a $k$-shot learning approach is used to make a model generalize to new tasks without additional training. To test the efficacy of our methods, we constructed a new benchmark of programs written in the Karel programming language. Using an extensive experimental evaluation on the Karel benchmark, we demonstrate that our proposals dramatically outperform the baseline induction method that does not use knowledge transfer. We also analyze the relative performance of the two approaches and study conditions in which they perform best. In particular, meta induction outperforms all existing approaches under extreme data sparsity (when a very small number of examples are available), i.e., fewer than ten. As the number of available I/O examples increase (i.e. a thousand or more), portfolio adapted program induction becomes the best approach. For intermediate data sizes, we demonstrate that the combined method of adapted meta program induction has the strongest performance.

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

↑