InCLET: Large Language Model In-context Learning can Improve Embodied Instruction-following

Peng-Yuan Wang (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University & Polixir.ai), Jing-Cheng Pang (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University & Polixir.ai), Chen-Yang Wang (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University), Xuhui Liu (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University), Tian-Shuo Liu (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University & Polixir.ai), Si-Hang Yang (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University & Polixir.ai), Hong Qian (Shanghai Institute of AI for Education and School of Computer Science and Technology, East China Normal University), Yang Yu (National Key Laboratory for Novel Software Technology, School of Artificial Intelligence, Nanjing University & Polixir.ai)

Abstract

Natural language-conditioned reinforcement learning (NLC-RL) empowers embodied agent to complete various tasks following human instruction. However, the unbounded natural language examples still introduce much complexity for the agent that solves concrete RL tasks, which can distract policy learning from completing the task. Consequently, extracting effective task representation from human instruction emerges as the critical component of NLC-RL. While previous methods have attempted to address this issue by learning task-related representation using large language models (LLMs), they highly rely on pre-collected task data and require extra training procedure. In this study, we uncover the inherent capability of LLMs to generate task representations and present a novel method, in-context learning embedding as task representation (InCLET). InCLET is grounded on a foundational finding that LLM in-context learning using trajectories can greatly help represent tasks. We thus firstly employ LLM to imagine task trajectories following the natural language instruction, then use in-context learning of LLM to generate task representations, and * Equal Contribution † Corresponding Author.