Tensor Based Knowledge Transfer Across Skill Categories for Robot Control

Chenyang Zhao, Timothy M. Hospedales, Freek Stulp, Olivier Sigaud

Abstract

Learning complex, dynamic robotic skills like "ball-in-cup" often requires expensive human demonstrations to overcome vast search spaces in reinforcement learning. This paper presents a framework for cross-category knowledge transfer using low-rank tensor factorization. By decomposing control policies into task-agnostic latent skills, actuator-specific behaviors, and task-specific requirements, the system enables robots to "learn how to learn." This approach allows agents to master difficult tasks by leveraging knowledge from simpler, qualitatively different movements—such as reaching or throwing—without requiring any human intervention.

Introduction

Reinforcement Learning (RL) faces significant scalability challenges in complex robotics due to the high dimensionality of action spaces. Traditional methods for learning dextrous skills, such as flipping a pancake or playing ball-in-cup, typically rely on Imitation Learning from manual human demonstrations. However, these demonstrations are labor-intensive and difficult to scale across diverse tasks.

While previous work has explored "contextual policies" for variations within a single task (e.g., throwing a ball to different locations), this research addresses the more challenging problem of cross-category transfer. The core hypothesis is that seemingly disparate tasks—like throwing and catching—share underlying "latent skills." By extracting these shared components, a robot can jump-start its learning process for novel, complex tasks.

Methodology: Tensor-Based Policy Decomposition

The proposed framework integrates neural network control with multi-linear algebra to facilitate knowledge transfer.

DMP-Inspired Policy Network

The controller is designed as a neural network that mimics Dynamic Movement Primitives (DMPs). As shown in Figure 1, the architecture consists of two primary components:

  1. Radial Basis Function (RBF) Layer: Functions as a trajectory planner, determining the desired path over time.
  2. Linear Layers (PD Controller): Acts as a proportional-derivative controller to ensure the robot's actuators accurately track the planned trajectory.
The DMP-inspired policy network architecture, featuring an RBF trajectory planner and a linear PD controller layer.

The Policy Tensor and Tucker Decomposition

When a robot learns a set of source tasks, the weights of its controllers are organized into a 3-way tensor with dimensions representing Basis Functions (D) x Actuators (A) x Tasks (P).

To extract transferable knowledge, the authors apply Tucker Decomposition to this tensor. This process factorizes the large policy tensor into a smaller "core tensor" and three factor matrices, effectively isolating:

  • Task-agnostic knowledge: Latent skills shared across all categories.
  • Actuator-specific knowledge: Dynamics unique to specific robot joints.
  • Task-specific knowledge: Requirements unique to a single goal.
Overview of the learning framework: knowledge from source tasks is decomposed into a core tensor and factor matrices to accelerate learning in a target task.

Transfer Strategy

To master a new task, the robot "contracts" the learned core tensor and actuator factors to define a specialized, low-dimensional subspace. Instead of exploring the entire action space, the RL agent (utilizing the CMA-ES algorithm) searches only within this optimized subspace. This constraint prevents the robot from attempting physically nonsensical movements and significantly accelerates convergence.

Experimental Setup: Task Families

The framework was evaluated using a simulated robot arm across four distinct task categories:

  • Target Reaching (Reach): Moving the end-effector to specific 2D coordinates.
  • Object Throwing (Throw): Releasing a ball to hit a target basket.
  • Casting (Cast): Manipulating a ball attached by a string to hit a target (indirect control).
  • Ball-In-Cup (BIC): A complex task requiring precise momentum and timing to catch a ball in a cup.

The knowledge base was initialized using 16 instances of each source task, varying parameters like target locations or string lengths.

Key Results and Insights

The experimental results highlight several advantages of the tensor-based approach:

  • Overcoming the "Cold Start" Problem: Learning the "Ball-In-Cup" task from scratch using pure RL typically fails. However, by transferring knowledge from a qualitatively different task like "Reaching," the robot achieved high success rates.
  • Curriculum Learning: The authors demonstrated a successful Reach $\to$ Throw $\to$ BIC curriculum. By progressively building latent skills, the robot mastered the complex BIC task without any human demonstrations, whereas direct learning failed within the same training budget.
  • Superiority of Tensors: Unlike standard matrix factorization, which only shares knowledge across tasks, the 3-way tensor approach simultaneously captures relationships across both tasks and actuators. This multi-dimensional structure is better suited for the complexities of robotic control.
  • Efficiency and Asymptotes: In "Casting to Ball-In-Cup" transfers, the tensor method reached higher performance levels (asymptotes) significantly faster than direct transfer or matrix-based alternatives.

Limitations and Future Work

While promising, the current work has limitations. The experiments were conducted in a 2D dynamical simulator; transitioning to 3D environments will introduce more noise and complex joint interactions. Additionally, the task categories are currently treated as discrete entities. Future research could extend this to continuous "contextual policies." Finally, the learning curriculum was manually designed; developing methods for a robot to autonomously determine its own optimal learning path remains an open challenge.

Summary updated

BibTeX
@inproceedings{zhao2017tensor,
  author = {Chenyang Zhao and Timothy M. Hospedales and Freek Stulp and Olivier Sigaud},
  title = {{Tensor Based Knowledge Transfer Across Skill Categories for Robot Control}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/484},
}
Figure