Skip to main content
QUICK REVIEW

[Paper Review] From Language to Programs: Bridging Reinforcement Learning and Maximum Marginal Likelihood

Kelvin Guu, Panupong Pasupat|arXiv (Cornell University)|Apr 25, 2017
Topic ModelingComputer Science38 references41 citations
TL;DR

This paper proposes RandoMer, a novel learning algorithm that bridges reinforcement learning (RL) and maximum marginal likelihood (MML) to improve neural semantic parsing under indirect supervision. By combining randomized beam search for exploration and a β-meritocratic gradient update to fairly weight correct programs, RandoMer significantly reduces overfitting to spurious programs and achieves state-of-the-art performance on the SCONE benchmark, improving accuracy by over 30% on the most challenging domain.

ABSTRACT

Our goal is to learn a semantic parser that maps natural language utterances into executable programs when only indirect supervision is available: examples are labeled with the correct execution result, but not the program itself. Consequently, we must search the space of programs for those that output the correct result, while not being misled by spurious programs: incorrect programs that coincidentally output the correct result. We connect two common learning paradigms, reinforcement learning (RL) and maximum marginal likelihood (MML), and then present a new learning algorithm that combines the strengths of both. The new algorithm guards against spurious programs by combining the systematic search traditionally employed in MML with the randomized exploration of RL, and by updating parameters such that probability is spread more evenly across consistent programs. We apply our learning algorithm to a new neural semantic parser and show significant gains over existing state-of-the-art results on a recent context-dependent semantic parsing task.

Motivation & Objective

  • To address the challenge of learning semantic parsers from indirect supervision, where only correct execution outputs are provided, not the ground-truth programs.
  • To mitigate the problem of spurious programs—incorrect programs that coincidentally produce the correct output—by improving exploration and gradient updates.
  • To bridge reinforcement learning and maximum marginal likelihood (MML) by unifying their objectives and combining their strengths.
  • To develop a neural semantic parser that generates programs in a stack-based language, enabling effective context-dependent parsing.
  • To achieve state-of-the-art performance on the SCONE dataset, particularly in the most challenging domain, by reducing overfitting to spurious programs.

Proposed method

  • Proposes randomized beam search, a hybrid exploration strategy that combines systematic beam search (from MML) with randomized off-policy exploration (from RL), improving discovery of correct programs even with small beam sizes or poor initialization.
  • Introduces a β-meritocratic parameter update rule that redistributes gradient updates more evenly across all programs that produce the correct output, reducing overfitting to low-probability but spurious programs.
  • Connects the objectives of RL and MML by showing they optimize closely related functions, enabling direct transfer of RL exploration and variance reduction techniques to MML.
  • Employs a neural model that outputs programs in a stack-based programming language, designed to handle context-dependent linguistic phenomena like ellipsis and anaphora.
  • Uses marginal likelihood estimation to train the model without requiring gold programs, maximizing the probability of observing the correct output across all possible programs.
  • Applies exponential smoothing in the gradient update to promote uniformity in probability assignment across consistent programs, enhancing robustness to spurious solutions.

Experimental results

Research questions

  • RQ1Can combining exploration strategies from RL and systematic search from MML improve discovery of correct programs in semantic parsing under indirect supervision?
  • RQ2How can gradient updates be modified to reduce overfitting to spurious programs that produce correct outputs by accident?
  • RQ3To what extent does a β-meritocratic update rule, which equalizes gradient contributions across correct programs, improve generalization compared to standard MML or RL objectives?
  • RQ4Can a neural semantic parser trained with RandoMer outperform existing state-of-the-art models on context-dependent semantic parsing benchmarks like SCONE?
  • RQ5Does the integration of randomized beam search and meritocratic updates lead to more robust and generalizable program generation than standard RL or MML baselines?

Key findings

  • RandoMer significantly outperforms standard reinforcement learning and maximum marginal likelihood baselines on the SCONE dataset, achieving new state-of-the-art results across all three domains.
  • On the most challenging domain of SCONE, RandoMer improves accuracy by over 30% compared to the previous state-of-the-art model by Long et al. (2016).
  • The β-meritocratic update rule effectively reduces overfitting to spurious programs by ensuring that all correct programs—regardless of their initial probability—contribute fairly to the gradient update.
  • Randomized beam search enhances exploration, enabling the model to discover correct programs even when the policy distribution is peaked or the beam size is small.
  • The method achieves strong performance without requiring gold programs or pre-training on labeled sequences, making it suitable for weakly supervised semantic parsing.
  • The combination of systematic search and randomized exploration leads to more reliable and generalizable program generation than either approach alone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.