arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.00619cs.PLcs.AIcs.LG
收藏

使用参数和采样学习组合程序

Learning compositional programs with arguments and sampling

University of Trento(特伦托大学)

Giovanni De Toni, Luca Erculiani, Andrea Passerini

摘要:

设计智能系统最具挑战性的目标之一是赋予它们从数据合成程序的能力。也就是说,给定输入/输出对形式的特定要求,目标是训练机器学习模型以发现满足这些要求的程序。最近的一类方法利用组合搜索过程和深度学习来学习组合程序。然而,它们通常只使用不提供任何高级功能(如函数参数)的特定领域语言生成玩具程序,这降低了它们在现实世界中的适用性。我们通过学习生成可以接受参数的函数来扩展最先进的模型AlphaNPI。这一改进将使我们更接近真实的计算机程序。此外,我们调查采用近似版本的蒙特卡罗树搜索(A-MCTS),以加快收敛。我们通过学习快速排序算法展示了我们方法的潜力,展示了处理参数的能力对于学习和泛化是至关重要的。

英文摘要:

One of the most challenging goals in designing intelligent systems is empowering them with the ability to synthesize programs from data. Namely, given specific requirements in the form of input/output pairs, the goal is to train a machine learning model to discover a program that satisfies those requirements. A recent class of methods exploits combinatorial search procedures and deep learning to learn compositional programs. However, they usually generate only toy programs using a domain-specific language that does not provide any high-level feature, such as function arguments, which reduces their applicability in real-world settings. We extend upon a state of the art model, AlphaNPI, by learning to generate functions that can accept arguments. This improvement will enable us to move closer to real computer programs. Moreover, we investigate employing an Approximate version of Monte Carlo Tree Search (A-MCTS) to speed up convergence. We showcase the potential of our approach by learning the Quicksort algorithm, showing how the ability to deal with arguments is crucial for learning and generalization.

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

↑