Improving Long-Horizon Imitation Through Instruction Prediction

Joey Hejna, Pieter Abbeel, Lerrel Pinto
6/21/2023
cs.LGcs.AI

Official code: jhejna/instruction-prediction (6 stars, last commit 2023-02-27).

Abstract

Complex, long-horizon planning and its combinatorial nature pose steep challenges for learning-based agents. Difficulties in such settings are exacerbated in low data regimes where over-fitting stifles generalization and compounding errors hurt accuracy. In this work, we explore the use of an often unused source of auxiliary supervision: language. Inspired by recent advances in transformer-based models, we train agents with an instruction prediction loss that encourages learning temporally extended representations that operate at a high level of abstraction. Concretely, we demonstrate that instruction modeling significantly improves performance in planning environments when training with a limited number of demonstrations on the BabyAI and Crafter benchmarks. In further analysis we find that instruction modeling is most important for tasks that require complex reasoning, while understandably offering smaller gains in environments that require simple plans. More details and code can be found at https://github.com/jhejna/instruction-prediction.

View on arXivView PDF

Code Implementations(1)

60Python, DockerfileNov 2, 20213 years ago

Similar Papers

Cite this paper

@article{hejna2023improving,
  title  = {Improving Long-Horizon Imitation Through Instruction Prediction},
  author = {Joey Hejna and Pieter Abbeel and Lerrel Pinto},
  year   = {2023},
  eprint = {2306.12554},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.12554v1}
}

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

Discussion