具有优先队列训练的神经程序合成
Neural Program Synthesis with Priority Queue Training
摘要:
我们考虑的任务程序合成在存在的奖励功能的程序的输出,其中的目标是找到最大的奖励程序。我们采用了迭代优化方案,其中我们训练RNN的K个最佳方案的数据集从优先级队列生成的程序到目前为止。然后,我们合成新的程序,并通过从RNN中采样将它们添加到优先级队列中。我们基准测试我们的算法,称为优先级队列训练(或PQT),对遗传算法和强化学习基线上的一个简单的,但表达图灵完整的程序设计语言称为BF。我们的实验结果表明,我们的简单PQT算法显着优于基线。通过在奖励函数中增加程序长度惩罚,我们能够合成简短的人类可读程序。
英文摘要:
We consider the task of program synthesis in the presence of a reward function over the output of programs, where the goal is to find programs with maximal rewards. We employ an iterative optimization scheme, where we train an RNN on a dataset of K best programs from a priority queue of the generated programs so far. Then, we synthesize new programs and add them to the priority queue by sampling from the RNN. We benchmark our algorithm, called priority queue training (or PQT), against genetic algorithm and reinforcement learning baselines on a simple but expressive Turing complete programming language called BF. Our experimental results show that our simple PQT algorithm significantly outperforms the baselines. By adding a program length penalty to the reward function, we are able to synthesize short, human readable programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。