Skip to main content
QUICK REVIEW

[Paper Review] Dynamical Distance Learning for Semi-Supervised and Unsupervised Skill Discovery

Kristian Hartikainen, Xinyang Geng|arXiv (Cornell University)|Jul 18, 2019
Reinforcement Learning in RoboticsComputer Science9 citations
TL;DR

This paper proposes Dynamical Distance Learning (DDL), a method that learns a distance function measuring the expected time steps to reach a goal state from any other state, using supervised regression on self-collected experience. It enables efficient, reward-free skill discovery in both semi-supervised (with 10 human preference labels) and unsupervised regimes, achieving real-world 9-DoF dexterous manipulation (valve turning) from raw images without manual reward shaping.

ABSTRACT

Reinforcement learning requires manual specification of a reward function to learn a task. While in principle this reward function only needs to specify the task goal, in practice reinforcement learning can be very time-consuming or even infeasible unless the reward function is shaped so as to provide a smooth gradient towards a successful outcome. This shaping is difficult to specify by hand, particularly when the task is learned from raw observations, such as images. In this paper, we study how we can automatically learn dynamical distances: a measure of the expected number of time steps to reach a given goal state from any other state. These dynamical distances can be used to provide well-shaped reward functions for reaching new goals, making it possible to learn complex tasks efficiently. We show that dynamical distances can be used in a semi-supervised regime, where unsupervised interaction with the environment is used to learn the dynamical distances, while a small amount of preference supervision is used to determine the task goal, without any manually engineered reward function or goal examples. We evaluate our method both on a real-world robot and in simulation. We show that our method can learn to turn a valve with a real-world 9-DoF hand, using raw image observations and just ten preference labels, without any other supervision. Videos of the learned skills can be found on the project website: https://sites.google.com/view/dynamical-distance-learning.

Motivation & Objective

  • Address the major challenge of manual reward function design in deep reinforcement learning, especially for vision-based robotic control.
  • Overcome the inefficiency and brittleness of heuristic reward shaping, particularly when using raw image observations.
  • Enable semi-supervised and unsupervised skill discovery without demonstrations, reward functions, or ground-truth goal examples.
  • Develop a scalable, stable method that works with high-dimensional observations like images and integrates with standard deep RL algorithms.
  • Demonstrate the method’s effectiveness in real-world robotic learning with minimal human supervision.

Proposed method

  • Learn dynamical distances via supervised regression on trajectories collected through self-supervised interaction with the environment.
  • Use the predicted distance to a goal as a shaped reward signal for standard deep RL algorithms, enabling efficient policy learning.
  • In the semi-supervised setting, use human-provided preference labels to identify goal states and guide distance learning.
  • In the unsupervised setting, select the most dynamically distant states as goals to drive exploration and skill discovery.
  • Train a neural network to predict the expected number of steps to reach a goal state from any state, using temporal difference supervision.
  • Integrate the learned distance function into off-policy RL algorithms like SAC, enabling sample-efficient policy optimization.

Experimental results

Research questions

  • RQ1Can dynamical distances learned via supervised regression outperform traditional value-based methods like Q-learning in complex, high-dimensional environments?
  • RQ2To what extent can a small number of human preference labels enable effective skill acquisition in real-world robotic manipulation tasks?
  • RQ3Can unsupervised exploration guided by dynamically distant states discover diverse and complex locomotion skills without any supervision?
  • RQ4How does DDL compare to prior methods like DIAYN in unsupervised skill discovery, particularly in terms of skill complexity and reachability?
  • RQ5Can DDL enable real-world learning of complex dexterous manipulation tasks using only raw image observations and minimal human feedback?

Key findings

  • The semi-supervised DDL variant learned to turn a 180-degree valve with a real-world 9-DoF hand using only 10 human preference labels and raw image observations, achieving successful task completion in 8 hours.
  • DDL outperformed prior preference-based RL methods in both learning speed and final performance across all tasks except Hopper-v3, demonstrating superior sample efficiency.
  • In unsupervised skill discovery, DDLUS learned locomotion skills that traveled significantly farther from the origin than DIAYN, with diverse directional behaviors, indicating higher skill complexity.
  • The method successfully solved the InvertedDoublePendulum-v2 task in an unsupervised manner by maximizing reach to dynamically distant states, effectively avoiding failure.
  • DDL achieved better performance than approximate dynamic programming methods like Q-learning in learning goal-conditioned policies, especially in high-dimensional observation spaces.
  • The approach is robust to high-dimensional inputs such as images and enables direct real-world deployment without manual reward engineering or demonstrations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.