Memory Augmented Policy Optimization for Program Synthesis and Semantic Parsing
Not on the map. Why?
Abstract (arXiv)
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
Key facts. Cited by 57 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Jul 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 23; 2022: 12; 2023: 12; 2024: 8; 2025: 0; 2026: 2.
57 papers.
Sort:
By area:
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 339
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
- 2022Binding Language Models in Symbolic Languagescited by 224
- 2021FeTaQA: Free-form Table Question Answeringcited by 174
- 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generationcited by 117
- 2022Large Language Models are few(1)-shot Table Reasonerscited by 116
- 2021TABBIE: Pretrained Representations of Tabular Datacited by 111
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2022A-NeSI: A Scalable Approximate Method for Probabilistic Neurosymbolic Inferencecited by 50
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2021AIT-QA: Question Answering Dataset over Complex Tables in the Airline Industrycited by 44
38 more
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2022A Survey on Table Question Answering: Recent Advancescited by 41
- 2021Neural-Symbolic Solver for Math Word Problems with Auxiliary Taskscited by 38
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutionscited by 38
- 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
- 2022OmniTab: Pretraining with Natural and Synthetic Data for Few-shot Table-based Question Answeringcited by 29
- 2022ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examplescited by 29
- 2023Large Language Models are Complex Table Parserscited by 28
- 2021Geographic Question Answering: Challenges, Uniqueness, Classification, and Future Directionscited by 24
- 2021PyGlove: Symbolic Programming for Automated Machine Learningcited by 19
- 2021FORTAP: Using Formulas for Numerical-Reasoning-Aware Table Pretrainingcited by 19
- 2024Softened Symbol Grounding for Neuro-symbolic Systemscited by 16
- 2021Improving exploration in policy gradient search: Application to symbolic optimizationcited by 14
- 2023From Zero to Hero: Examining the Power of Symbolic Tasks in Instruction Tuningcited by 14
- 2023API-Assisted Code Generation for Question Answering on Varied Table Structurescited by 14
- 2021On The Ingredients of an Effective Zero-shot Semantic Parsercited by 13
- 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trickcited by 13
- 2022Neural-Symbolic Recursive Machine for Systematic Generalizationcited by 12
- 2024TrustUQA: A Trustful Framework for Unified Structured Data Question Answeringcited by 12
- 2021Storchastic: A Framework for General Stochastic Automatic Differentiationcited by 11
- 2021Weakly Supervised Neuro-Symbolic Module Networks for Numerical Reasoningcited by 10
- 2023Improving Unsupervised Visual Program Inference with Code Rewriting Familiescited by 10
- 2021DoT: An efficient Double Transformer for NLP tasks with tablescited by 8
- 2023Chain-of-Questions Training with Latent Answers for Robust Multistep Question Answeringcited by 8
- 2021SPARQLing Database Queries from Intermediate Question Decompositionscited by 7
- 2021Topic Transferable Table Question Answeringcited by 7
- 2022Calibrate and Debias Layer-wise Sampling for Graph Convolutional Networkscited by 5
- 2021End-to-End Neuro-Symbolic Architecture for Image-to-Image Reasoning Taskscited by 4
- 2021Learning to Superoptimize Real-world Programscited by 4
- 2021Enforcing Consistency in Weakly Supervised Semantic Parsingcited by 3
- 2024Learning Diverse Policies with Soft Self-Generated Guidancecited by 3
- 2024TabVer: Tabular Fact Verification with Natural Logiccited by 3
- 2021A Mutual Information Maximization Approach for the Spurious Solution Problem in Weakly Supervised Question Answeringcited by 2
- 2023Weakly-Supervised Questions for Zero-Shot Relation Extractioncited by 2
- 2023Mirror: A Natural Language Interface for Data Querying, Summarization, and Visualizationcited by 2
- 2024RIFF: Learning to Rephrase Inputs for Few-shot Fine-tuning of Language Modelscited by 2
- 2023Weakly Supervised Semantic Parsing with Execution-based Spurious Program Filteringcited by 1
- 2024Semantic Parsing with Candidate Expressions for Knowledge Base Question Answeringcited by 1
50 most cited of 57 All 57 (JSON)
- 2026EXPO-SQL: Execution-based Clause-level Policy Optimization for Text-to-SQL29 Apr 2026
- 2026Boundary-Aware NL2SQL: Integrating Reliability through Hybrid Reward and Data Synthesis15 Jan 2026
- 2024TabVer: Tabular Fact Verification with Natural Logic2 Nov 2024
- 2024AdaMemento: Adaptive Memory-Assisted Policy Optimization for Reinforcement Learning6 Oct 2024
- 2024Semantic Parsing with Candidate Expressions for Knowledge Base Question Answering1 Oct 2024
- 2024TrustUQA: A Trustful Framework for Unified Structured Data Question Answering27 Jun 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024RIFF: Learning to Rephrase Inputs for Few-shot Fine-tuning of Language Models4 Mar 2024
- 2024Softened Symbol Grounding for Neuro-symbolic Systems1 Mar 2024
- 2024Learning Diverse Policies with Soft Self-Generated Guidance7 Feb 2024
- 2023Large Language Models are Complex Table Parsers13 Dec 2023
- 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trick21 Nov 2023
38 more
- 2023Weakly Supervised Semantic Parsing with Execution-based Spurious Program Filtering2 Nov 2023
- 2023API-Assisted Code Generation for Question Answering on Varied Table Structures23 Oct 2023
- 2023Improving Unsupervised Visual Program Inference with Code Rewriting Families26 Sep 2023
- 2023Around the GLOBE: Numerical Aggregation Question-Answering on Heterogeneous Genealogical Knowledge Graphs with Deep Neural Networks30 Jul 2023
- 2023DKAF: KB Arbitration for Learning Task-Oriented Dialog Systems with Dialog-KB Inconsistencies26 May 2023
- 2023Chain-of-Questions Training with Latent Answers for Robust Multistep Question Answering24 May 2023
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Data16 May 2023
- 2023From Zero to Hero: Examining the Power of Symbolic Tasks in Instruction Tuning17 Apr 2023
- 2023Mirror: A Natural Language Interface for Data Querying, Summarization, and Visualization15 Mar 2023
- 2023Weakly-Supervised Questions for Zero-Shot Relation Extraction21 Jan 2023
- 2022A-NeSI: A Scalable Approximate Method for Probabilistic Neurosymbolic Inference23 Dec 2022
- 2022ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples22 Oct 2022
- 2022Large Language Models are few(1)-shot Table Reasoners13 Oct 2022
- 2022Binding Language Models in Symbolic Languages6 Oct 2022
- 2022Neural-Symbolic Recursive Machine for Systematic Generalization4 Oct 2022
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect22 Aug 2022
- 2022A Survey on Table Question Answering: Recent Advances12 Jul 2022
- 2022OmniTab: Pretraining with Natural and Synthetic Data for Few-shot Table-based Question Answering8 Jul 2022
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning5 Jul 2022
- 2022A Parametric Class of Approximate Gradient Updates for Policy Optimization17 Jun 2022
- 2022Calibrate and Debias Layer-wise Sampling for Graph Convolutional Networks1 Jun 2022
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutions28 May 2022
- 2021On The Ingredients of an Effective Zero-shot Semantic Parser15 Oct 2021
- 2021Learning to Superoptimize Real-world Programs28 Sep 2021
- 2021Topic Transferable Table Question Answering15 Sep 2021
- 2021FORTAP: Using Formulas for Numerical-Reasoning-Aware Table Pretraining15 Sep 2021
- 2021SPARQLing Database Queries from Intermediate Question Decompositions13 Sep 2021
- 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generation15 Aug 2021
- 2021Improving exploration in policy gradient search: Application to symbolic optimization19 Jul 2021
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executor16 Jul 2021
- 2021Enforcing Consistency in Weakly Supervised Semantic Parsing13 Jul 2021
- 2021Neural-Symbolic Solver for Math Word Problems with Auxiliary Tasks3 Jul 2021
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Context26 Jun 2021
- 2021AIT-QA: Question Answering Dataset over Complex Tables in the Airline Industry24 Jun 2021
- 2021A Mutual Information Maximization Approach for the Spurious Solution Problem in Weakly Supervised Question Answering14 Jun 2021
- 2021End-to-End Neuro-Symbolic Architecture for Image-to-Image Reasoning Tasks6 Jun 2021
- 2021DoT: An efficient Double Transformer for NLP tasks with tables1 Jun 2021
- 2021Geographic Question Answering: Challenges, Uniqueness, Classification, and Future Directions19 May 2021
50 newest of 57 All 57 (JSON)
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 339
- 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generationcited by 117
- 2022Large Language Models are few(1)-shot Table Reasonerscited by 116
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2022A-NeSI: A Scalable Approximate Method for Probabilistic Neurosymbolic Inferencecited by 50
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutionscited by 38
- 2022ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examplescited by 29
- 2024TabVer: Tabular Fact Verification with Natural Logiccited by 3
- 2024TabVer: Tabular Fact Verification with Natural Logic2 Nov 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Data16 May 2023
- 2022A-NeSI: A Scalable Approximate Method for Probabilistic Neurosymbolic Inference23 Dec 2022
- 2022ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples22 Oct 2022
- 2022Large Language Models are few(1)-shot Table Reasoners13 Oct 2022
- 2022Learning Math Reasoning from Self-Sampled Correct and Partially-Correct Solutions28 May 2022
- 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generation15 Aug 2021
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
- 2022Binding Language Models in Symbolic Languagescited by 224
- 2021FeTaQA: Free-form Table Question Answeringcited by 174
- 2021TABBIE: Pretrained Representations of Tabular Datacited by 111
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2021AIT-QA: Question Answering Dataset over Complex Tables in the Airline Industrycited by 44
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2022A Survey on Table Question Answering: Recent Advancescited by 41
- 2021Neural-Symbolic Solver for Math Word Problems with Auxiliary Taskscited by 38
- 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
- 2022OmniTab: Pretraining with Natural and Synthetic Data for Few-shot Table-based Question Answeringcited by 29
12 most cited of 48 All 48 (JSON)
- 2026EXPO-SQL: Execution-based Clause-level Policy Optimization for Text-to-SQL29 Apr 2026
- 2024AdaMemento: Adaptive Memory-Assisted Policy Optimization for Reinforcement Learning6 Oct 2024
- 2024Semantic Parsing with Candidate Expressions for Knowledge Base Question Answering1 Oct 2024
- 2024TrustUQA: A Trustful Framework for Unified Structured Data Question Answering27 Jun 2024
- 2024RIFF: Learning to Rephrase Inputs for Few-shot Fine-tuning of Language Models4 Mar 2024
- 2024Softened Symbol Grounding for Neuro-symbolic Systems1 Mar 2024
- 2024Learning Diverse Policies with Soft Self-Generated Guidance7 Feb 2024
- 2023Large Language Models are Complex Table Parsers13 Dec 2023
- 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trick21 Nov 2023
- 2023Weakly Supervised Semantic Parsing with Execution-based Spurious Program Filtering2 Nov 2023
- 2023API-Assisted Code Generation for Question Answering on Varied Table Structures23 Oct 2023
- 2023Improving Unsupervised Visual Program Inference with Code Rewriting Families26 Sep 2023
12 newest of 48 All 48 (JSON)