Skill Learning by Autonomous Robotic Playing using Active Learning and Creativity

Simon Hangl, Vedran Dunjko, Hans J. Briegel, Justus H. PiaterarXiv 2017

Abstract

We address the problem of autonomous acquisition of manipulation skills where problem-solving strategies are initially available only for a narrow range of situations. We propose to extend the range of solvable situations by autonomous playing with objects. By applying previously-trained skills and behaviors, the robot learns how to prepare situations for which a successful strategy is already known. The information gathered during autonomous play is used to learn an environment model, which is exploited for active learning and the creative generation of novel preparatory behaviors. We demonstrate our approach on tasks such as book grasping, shelf placement, and tower disassembly. Results show that creative behavior generation enables the robot to solve previously-unsolvable tasks, and active learning improves speed by approximately 9%.

Introduction: The Generalization Gap

A major hurdle in modern robotics is generalization. A robot might excel at grasping a book if it is perfectly aligned but fail if it is tilted or upside down. Traditionally, engineers address this by making skills more robust or using complex symbolic planners with rigid pre-conditions.

This paper argues for a biologically inspired approach: learning to coordinate "secondary schemata." Instead of a single "universal" skill, robots can learn to manipulate their environment—rotating or moving objects—until the situation matches a "basic behavior" they already know. The challenge is enabling a robot to autonomously learn these preparatory sequences without human mapping of every step.

Methods: Architecture and Autonomous Play

The framework is built on Projective Simulation (PS), a reinforcement learning approach using Episodic and Compositional Memory (ECM). The robot's memory is a network of "clips" representing percepts and actions.

Hierarchical Architecture

The system is organized into five layers, as shown in the figure below. This hierarchy allows the robot to map inputs (Layer A) to desired skills (Layer B), which are then decomposed into sensing actions (Layer C), perceptual states (Layer D), and finally, preparatory behaviors (Layer E).

Hierarchical architecture of the robotic skill learning framework, showing the layers from input couplers to preparatory behaviors.

The Learning Loop: Boredom and Creativity

The core of the system is the "autonomous playing" loop. The robot performs rollouts consisting of sensing, preparation, and execution. Two novel mechanisms drive this process:

  1. Active Learning (Boredom): The robot calculates the entropy of its success rate in a given state. If entropy is low (indicating mastery), the robot becomes "bored" and uses its environment model to find a path to a more "interesting" (unsolved) state.
  2. Robotic Creativity: If a state is unsolvable with a single behavior, the robot searches its environment model for a sequence of behaviors (e.g., two 90-degree rotations) to reach a solvable state. This "creative" proposal is then added to its repertoire.
Flowchart of the autonomous playing process, highlighting the roles of boredom and creativity in driving exploration.

Experimental Results

The system was evaluated using a KUKA LWR 4+ arm and Kinect sensor on a variety of objects, including books and YCB benchmark items.

  • Learning Efficiency: In book-grasping tasks, the "boredom" mechanism improved learning speed by 9% compared to random exploration.
  • Solving Complex Tasks: In the "Tower Disassembly" task, the robot was initially unable to succeed. Through the creativity mechanism, it autonomously generated sequences of placement and alignment behaviors to successfully clear the tower.
  • Skill Chaining: Previously learned skills (like grasping) were successfully integrated as "preparatory behaviors" for more complex tasks, such as placing books on specific shelves.

Conclusion

By focusing on preparation rather than just generalization, this framework allows robots to expand their capabilities through interaction. While currently limited to discrete states and short sequences, it provides a foundation for robots to autonomously discover complex strategies for real-world manipulation.

Summary updated

BibTeX
@misc{hangl2017skill,
  author = {Simon Hangl and Vedran Dunjko and Hans J. Briegel and Justus H. Piater},
  title = {{Skill Learning by Autonomous Robotic Playing using Active Learning and Creativity}},
  year = {2017},
  eprint = {1706.08560},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.08560},
}
Figure