Continuous Open-ended Discovery and Evolution of Skills as Hierarchical Reward Programs
Richard Bornemann, Pierluigi V Amadori, Antoine Cully
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › Skill Management for LLM Agents · Type: new method · Keywords: open-ended skill discovery, hierarchical reward programs, foundation models, reinforcement learning, autonomous agent
Areas: Code & Coding Agents › Code Generation and Optimization › Agentic Generation; AI Agents › Agent Capabilities › Skill Evolution for Agents
Summary
CODE-SHARP is a framework that uses foundation models to autonomously discover and evolve hierarchical Python skills (SHARPs) and train a generalist reinforcement-learning agent from scratch, achieving state-of-the-art performance on open-ended skill acquisition tasks.
Explained to a 5-year-old
A computer program learns new tricks by itself. It uses a big AI to write little code pieces that tell the robot what to do. Each new trick builds on the old ones, so the robot can do harder things. It learns by trying over and over without a person telling it what to do. This helps the robot become good at many games and tasks.
Explained to a 5-year-old, longer
Imagine a robot that wants to learn many new abilities all by itself. It has a super smart AI friend that writes small pieces of code, each piece teaching the robot a single skill. These skills are like building blocks; each new block fits onto the previous ones, making the robot capable of doing more complex things. The robot practices each skill many times, getting better without any human telling it exactly what to do. Over time, the robot discovers dozens of abilities, like making tools, solving puzzles, and playing games, all on its own. This way, the robot can adapt to new challenges and keep learning without stopping. The whole process happens without a person having to design every single skill manually, which saves a lot of time and effort. It also means the robot can work in many different environments, because the skills are written in a flexible language that can be reused. In the end, the robot becomes a versatile helper that can tackle many tasks just by learning from its own experiences.
For a technical reader
The system uses foundation models to synthesize Python programs that define hierarchical reward conditions, forming a skill archive. An RL agent is trained by traversing these skill graphs, receiving incremental rewards for completing each sub-task. This design isolates learning to the new behavior of each skill, enabling scalable, zero-shot generalization to complex, long-horizon tasks.
Problem
General intelligence requires the ability to continuously discover and evolve new skills autonomously, but existing approaches rely heavily on human engineering, which limits scalability and adaptability to new environments.
Method
The approach leverages foundation models to generate Python programs that encode hierarchical skills, each specifying a local success condition and prerequisites to previously discovered skills. These skills are used as reward programs to train a generalist agent via reinforcement learning, allowing the agent to learn only the incremental behavior introduced by each new skill.
Results
On Craftax-Classic and XLand, the approach achieves a 6× and 2.6× median performance improvement over prior work and discovers skills that enable crafting iron tools and mining diamonds, while on Craftax-Extended it learns over 90 skills and solves long-horizon tasks zero-shot, matching ground-truth reward agents.
Contributions
The paper presents a fully autonomous framework for open-ended skill discovery that uses foundation models to generate hierarchical Python skills and trains a generalist reinforcement-learning agent from scratch, along with extensive evaluations on multiple game environments.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction