具有可微固定器的神经程序综合
Neural Program Synthesis with a Differentiable Fixer
摘要:
我们提出了一种新的程序合成方法,结合了一个基于编码器-解码器的合成架构与可微程序固定器。我们的方法的灵感来自于这样一个事实,即人类开发人员很少在第一次尝试时就正确地获得他们的程序,并执行基于迭代测试的程序修复以获得所需的程序功能。类似地,我们的方法首先学习一个分布在一组输入输出示例的编码条件下的程序,然后迭代地使用可微固定器执行修复操作。固定器将原始示例和示例输入上的当前程序的输出作为输入,并在程序上生成新的分布,其目标是减少当前程序输出和期望的示例输出之间的差异。我们训练我们的架构端到端的RobustFill域,并表明,除了固定器模块导致合成精度显着提高相比,使用波束搜索。
英文摘要:
We present a new program synthesis approach that combines an encoder-decoder based synthesis architecture with a differentiable program fixer. Our approach is inspired from the fact that human developers seldom get their program correct on the first attempt, and perform iterative testing-based program fixing to get to the desired program functionality. Similarly, our approach first learns a distribution over programs conditioned on an encoding of a set of input-output examples, and then iteratively performs fix operations using the differentiable fixer. The fixer takes as input the original examples and the current program's outputs on example inputs, and generates a new distribution over the programs with the goal of reducing the discrepancies between the current program outputs and the desired example outputs. We train our architecture end-to-end on the RobustFill domain, and show that the addition of the fixer module leads to a significant improvement on synthesis accuracy compared to using beam search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。