A key challenge in training AI agents is deciding what goal to pursue. Manually designing rewards for every possible task is impractical, especially when future tasks are unknown. Previous methods that use language models to invent rewards often get stuck refining a single narrow behavior.
Habitats solves this by separating the job of deciding what to improve from the job of writing the reward code. A planner uses a cross-fitness matrix to select promising reward-policy pairs and issues high-level directives, while a separate mutator writes the actual reward programs. This lets the system maintain a diverse population of behaviors.
Across four simulated environments, Habitats produced the most diverse and high-quality behaviors, with final diversity reaching 1.8 times that of one baseline and 2.5 times that of another. These behaviors also transferred better to new tasks, beating baselines after fewer learning episodes and even surpassing task-specific policies trained from scratch.
