Abstract
Unsupervised Skill Discovery (USD) enables agents to learn diverse behaviors without explicit reward functions. However, pure diversity objectives often lead to impractical or unsafe behaviors. We present Human-aligned Skill Discovery (HaSD), a framework that integrates human preference feedback into the discovery process. By combining a diversity-seeking reward with a human-aligned reward model, HaSD ensures that the learned skill library is both broad and consistent with human values.
Introduction
In reinforcement learning, USD aims to build a repertoire of skills—such as walking or grasping—prior to task-specific training. Traditional methods maximize diversity by encouraging agents to reach a wide variety of states. While effective for exploration, this approach can lead to "useless" or hazardous behaviors. For instance, a robot learning to carry water might discover that carrying the glass upside down is a "diverse" state, despite being practically useless. This "needle in a haystack" problem suggests that finding useful skills in high-dimensional environments is nearly impossible without an alignment signal.
Methodology
HaSD treats skill discovery as a multi-objective optimization problem, blending two distinct reward signals:
- Diversity Reward ($r^{DSD}$): Utilizes Distance-Maximising Skill Discovery (DSD) to encourage the learning of distinguishable skills that span the state space.
- Alignment Reward ($r^{Ha}$): Learned via Preference-Based Reinforcement Learning (PBRL). A reward model is trained on human preferences between pairs of agent trajectories.
The total reward is defined as $r^{HaSD} = \alpha r^{Ha} + r^{DSD}$. To provide flexibility, the authors introduce $\alpha$-HaSD, where the policy is conditioned on the trade-off parameter $\alpha$, allowing users to adjust the balance between safety and exploration at runtime without retraining the model.
Experiments and Results
The framework was evaluated in simulated environments including Nav2D (a 2D navigation task with hazards) and Safety Gymnasium (3D physics benchmarks). Agents ranged from simple point mass models to complex robots like Ant and Doggo.
In Nav2D, HaSD achieved near-total coverage of safe areas while avoiding hazards. In downstream goal-reaching tasks, HaSD-trained agents reached a 98.5% success rate with significantly lower safety costs (6.7) compared to the LSD baseline (12.01). The method also proved robust to limited human feedback budgets and scaled effectively to high-dimensional robotic agents like Doggo and Ant. Real-world validation with human subjects confirmed that the system works effectively with noisy, real-world human input.
Conclusion
HaSD effectively bridges the gap between open-ended exploration and human-centric safety. By incorporating human preferences directly into the discovery loop, it produces skill libraries that are not only diverse but also practically viable. Future research will explore active learning techniques to further reduce the human feedback required for alignment by automatically choosing the most informative trajectories for human review.
Summary updated