arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.02322cs.LGcs.AIcs.CLstat.ML
收藏

面向程序合成和语义解析的内存扩充策略优化

Memory Augmented Policy Optimization for Program Synthesis and Semantic Parsing

Google Brain(谷歌大脑);Tel-Aviv University(特拉维夫大学);AI2(艾伦人工智能研究所);SayMosaic Inc.(赛莫赛克公司)

Chen Liang, Mohammad Norouzi, Jonathan Berant, Quoc Le, Ni Lao

摘要:

我们提出了内存增强策略优化(MAPO),一个简单而新颖的方法来利用内存缓冲区的有前途的轨迹,以减少方差的策略梯度估计。MAPO适用于具有离散行为的确定性环境,如结构化预测和组合优化任务。我们将预期收益目标表示为两项的加权和:对内存缓冲区内高回报轨迹的期望,以及对缓冲区外轨迹的单独期望。为了使MAPO算法更有效,我们提出:(1)内存权重裁剪以加速和稳定训练;(2)系统探索以发现高回报轨迹;(3)从内存缓冲区内外分布采样以扩大训练。MAPO提高了样本效率和策略梯度的鲁棒性,特别是在具有稀疏奖励的任务上。我们评估MAPO弱监督程序合成从自然语言(语义解析)。在WikiTableQuestions基准测试中,我们将最先进的水平提高了2.6%,准确率达到了46.3%。在WikiSQL基准测试中,MAPO仅在弱监督的情况下实现了74.9%的准确率,优于几个完全监督的强基线。我们的源代码可以在https://github.com/crazydonkey200/neural-symbolic-machines上找到

英文摘要:

We present Memory Augmented Policy Optimization (MAPO), a simple and novel way to leverage a memory buffer of promising trajectories to reduce the variance of policy gradient estimate. MAPO is applicable to deterministic environments with discrete actions, such as structured prediction and combinatorial optimization tasks. We express the expected return objective as a weighted sum of two terms: an expectation over the high-reward trajectories inside the memory buffer, and a separate expectation over trajectories outside the buffer. To make an efficient algorithm of MAPO, we propose: (1) memory weight clipping to accelerate and stabilize training; (2) systematic exploration to discover high-reward trajectories; (3) distributed sampling from inside and outside of the memory buffer to scale up training. MAPO improves the sample efficiency and robustness of policy gradient, especially on tasks with sparse rewards. We evaluate MAPO on weakly supervised program synthesis from natural language (semantic parsing). On the WikiTableQuestions benchmark, we improve the state-of-the-art by 2.6%, achieving an accuracy of 46.3%. On the WikiSQL benchmark, MAPO achieves an accuracy of 74.9% with only weak supervision, outperforming several strong baselines with full supervision. Our source code is available at https://github.com/crazydonkey200/neural-symbolic-machines

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

↑