Language Models are Few-Shot Butlers

Vincent Micheli, François Fleuret
4/16/2021
cs.CLcs.LG

Official code: vmicheli/lm-butlers (12 stars, Python, GPL-3.0, last commit 2021-08-30).

Abstract

Pretrained language models demonstrate strong performance in most NLP tasks when fine-tuned on small task-specific datasets. Hence, these autoregressive models constitute ideal agents to operate in text-based environments where language understanding and generative capabilities are essential.

Show full abstract

Nonetheless, collecting expert demonstrations in such environments is a time-consuming endeavour. We introduce a two-stage procedure to learn from a small set of demonstrations and further improve by interacting with an environment. We show that language models fine-tuned with only 1.2% of the expert demonstrations and a simple reinforcement learning algorithm achieve a 51% absolute improvement in success rate over existing methods in the ALFWorld environment.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
121PythonApr 12, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{micheli2021language,
  title  = {Language Models are Few-Shot Butlers},
  author = {Vincent Micheli and François Fleuret},
  year   = {2021},
  eprint = {2104.07972},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07972}
}

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/2104.07972.svg)](https://codeofpaper.com/paper/2104.07972)

Discussion