Mapping Language to Programs using Multiple Reward Components with Inverse Reinforcement Learning

Sayan Ghosh, Shashank Srivastava
10/2/2021
cs.CL
rl

Official code: sgdgp/VirtualHome_IRL (3 stars, Python, last commit 2021-11-09).

Abstract

Mapping natural language instructions to programs that computers can process is a fundamental challenge. Existing approaches focus on likelihood-based training or using reinforcement learning to fine-tune models based on a single reward.

Show full abstract

In this paper, we pose program generation from language as Inverse Reinforcement Learning. We introduce several interpretable reward components and jointly learn (1) a reward function that linearly combines them, and (2) a policy for program generation. Fine-tuning with our approach achieves significantly better performance than competitive methods using Reinforcement Learning (RL). On the VirtualHome framework, we get improvements of up to 9.0% on the Longest Common Subsequence metric and 14.7% on recall-based metrics over previous work on this framework (Puig et al., 2018). The approach is data-efficient, showing larger gains in performance in the low-data regime. Generated programs are also preferred by human evaluators over an RL-based approach, and rated higher on relevance, completeness, and human-likeness.

View on arXivView PDF

Code Implementations(1)

30PythonAug 29, 20215 years ago

Similar Papers

Cite this paper

@article{ghosh2021mapping,
  title  = {Mapping Language to Programs using Multiple Reward Components with Inverse Reinforcement Learning},
  author = {Sayan Ghosh and Shashank Srivastava},
  year   = {2021},
  eprint = {2110.00842},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.00842}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.00842.svg)](https://codeofpaper.com/paper/2110.00842)

Discussion