MaestroMotif: Skill Design from Artificial Intelligence Feedback
Martin Klissarov, Mikael Henaff, Roberta Raileanu, Shagun Sodhani, Pascal Vincent, Amy Zhang, Pierre-Luc Bacon, Doina Precup, Marlos C. Machado, Pierluca D'Oro
TL;DR
MaestroMotif addresses the challenge of injecting human knowledge into AI agents by enabling AI-assisted design of low-level skills from natural-language descriptions. It combines LLM-based reward design (via Motif), LLM-generated initiation/termination code, and a training-time policy over skills to learn robust sub-policies with RL, then deploys a code-generated policy that composes these skills without additional training. Evaluated on the NetHack Learning Environment, MaestroMotif achieves strong zero-shot performance across navigation, interaction, and composite tasks, outperforming baselines that rely on task-specific rewards or score maximization. The work highlights the potential of human-AI collaboration to automate complex policy design, leveraging the strengths of LLMs for abstraction and planning with RL for low-level control, and points to future directions in online adaptation and broader applicability.
Abstract
Describing skills in natural language has the potential to provide an accessible way to inject human knowledge about decision-making into an AI system. We present MaestroMotif, a method for AI-assisted skill design, which yields high-performing and adaptable agents. MaestroMotif leverages the capabilities of Large Language Models (LLMs) to effectively create and reuse skills. It first uses an LLM's feedback to automatically design rewards corresponding to each skill, starting from their natural language description. Then, it employs an LLM's code generation abilities, together with reinforcement learning, for training the skills and combining them to implement complex behaviors specified in language. We evaluate MaestroMotif using a suite of complex tasks in the NetHack Learning Environment (NLE), demonstrating that it surpasses existing approaches in both performance and usability.
