AAAI 2023technical7 citations

Improving Long-Horizon Imitation through Instruction Prediction

Joey Hejna, Pieter Abbeel, Lerrel Pinto

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 \url{https://github.com/jhejna/instruction-prediction}.

BibTeX
@article{Hejna_Abbeel_Pinto_2023, title={Improving Long-Horizon Imitation through Instruction Prediction}, volume={37}, url={https://ojs.aaai.org/index.php/AAAI/article/view/25951}, DOI={10.1609/aaai.v37i7.25951}, abstractNote={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 \url{https://github.com/jhejna/instruction-prediction}.}, number={7}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, author={Hejna, Joey and Abbeel, Pieter and Pinto, Lerrel}, year={2023}, month={Jun.}, pages={7857-7865} }
Improving Long-Horizon Imitation through Instruction Prediction · AAAI 2023