Memory Augmented Policy Optimization for Program Synthesis and Semantic Parsing

By Chen Liang, Mohammad Norouzi, Jonathan Berant, Quoc V. Le, Ni Lao. 2018

140 citations recorded by the source corpus.

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://goo.gl/TXBp4e

Subfields: Computer Vision and Pattern Recognition, Electrical and Electronic Engineering, Hardware and Architecture, Prompting & Reasoning, Reinforcement Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Mohit Bansal
  5. Xiaogang Wang
  6. Ming-Hsuan Yang
  7. Jitendra Malik
  8. Andrew Zisserman

In Electrical and Electronic Engineering

  1. Wenhu Chen
  2. Dale Schuurmans
  3. Dale Schuurmans
  4. Chen Liang
  5. Mikel Landajuela
  6. Xinyun Chen
  7. Dawn Song
  8. Wen-tau Yih

In Hardware and Architecture

  1. Wenhu Chen
  2. Dawn Song
  3. Xinyun Chen
  4. Quoc V. Le
  5. Wen-tau Yih
  6. Patrick Lewis
  7. Song-Chun Zhu
  8. William Yang Wang

In Prompting & Reasoning

  1. Luke S. Zettlemoyer
  2. Wenhu Chen
  3. Denny Zhou
  4. Hannaneh Hajishirzi
  5. Xinyun Chen
  6. Sewon Min
  7. Graham Neubig
  8. Quoc V. Le

In Reinforcement Learning

  1. Sergey Levine
  2. Wenhu Chen
  3. Ofir Nachum
  4. Bo Dai
  5. Dale Schuurmans
  6. Mohammad Norouzi
  7. Dale Schuurmans
  8. George Tucker

Citations in the corpus