Learning Active Task-Oriented Exploration Policies for Bridging the Sim-to-Real Gap

Jacky Liang, Saumya Saxena, Oliver KroemerarXiv 2020

Abstract

Bridging the gap between simulation and the real world is a fundamental challenge in robotics. While domain randomization and active system identification offer potential solutions, they often result in overly conservative policies or waste exploration resources on task-irrelevant parameters. This paper introduces a framework for Active Task-Oriented Exploration, where a robot learns to perform "probing" actions that specifically identify physical parameters critical to a downstream task. By optimizing for task regret, the proposed method focuses the exploration budget on relevant physics, significantly improving performance in both simulated and real-world environments.

Introduction

Training robots in simulation offers safety and speed, but the resulting policies often fail in the real world due to unmodeled physics—the "sim-to-real gap." Traditional approaches like Domain Randomization (DR) often produce sub-optimal, conservative behavior by training across a wide range of possible physics. Active System Identification (Sys-Id) attempts to estimate physical parameters through interaction, but standard methods are typically task-agnostic, treating all parameters as equally important.

This paper argues that for specific tasks, such as pouring water or dragging an object, only a subset of physical properties is critical. For instance, when pouring, the mass of the cup is vital, while the friction of the table may be irrelevant. We propose a task-oriented approach that learns to prioritize information gathering based on task sensitivity, effectively managing a limited "exploration budget."

Methodology

The proposed framework consists of a three-stage pipeline ($\pi_e \to \text{SimOpt} \to \text{TrajOpt}$):

  1. Exploration Policy ($\pi_e$): An RL-trained policy that interacts with the real world to generate informative trajectories.
  2. Simulation Optimization (SimOpt): An optimizer that aligns simulation dynamics parameters ($\hat{\theta}$) with real-world observations.
  3. Trajectory Optimization (TrajOpt): A model-based planner that executes the task using the estimated parameters.
The three-stage pipeline for active task-oriented exploration, bridging simulation and real-world execution.

The core innovation lies in the training of the exploration policy. Instead of minimizing parameter estimation error, the policy is optimized to minimize Task Regret—the difference between the performance achieved using estimated parameters versus the performance possible with perfect "ground truth" knowledge. This forces the robot to focus its exploration on the physics that actually impact the final task success.

Experimental Results

The framework was evaluated on three distinct setups: a simulated Linear Quadratic Regulator (LQR) problem, a real-world pouring task, and a box-dragging task.

Simulated LQR

In the LQR analysis, the task-oriented approach achieved a lower final regret ratio and converged faster than task-agnostic baselines. The results demonstrated that the optimal exploration policy is a direct function of the task's sensitivity to specific parameters.

Real-World Pouring Task

A Franka Panda robot was tasked with estimating the mass of a cup to determine the correct tilt angle for pouring a specific amount of water. To test selectivity, a "distractor" cup was present. The task-oriented policy learned to ignore the distractor, focusing its exploration budget almost entirely on the relevant object. This resulted in a significant reduction in pouring error, achieving an average error of 14g compared to 22g for the task-agnostic baseline.

Comparison of task costs and exploration policy parameters during training for the pouring task.

Real-World Box Dragging

The robot estimated mass and torsional friction while dragging a 3D-printed box across various surfaces. The task-oriented policy significantly outperformed the task-agnostic baseline, which performed no better than random exploration in this complex setting, highlighting the necessity of task-awareness in high-dimensional or complex dynamics.

Conclusion

Active Task-Oriented Exploration provides a principled way for robots to gather the most relevant information for a specific goal under time constraints. By focusing on task sensitivity rather than global parameter accuracy, robots can more effectively bridge the sim-to-real gap. While the current approach is computationally intensive due to nested sampling, it represents a significant step toward efficient, goal-directed robot learning. Future research will explore scaling this approach to higher-dimensional parameter spaces and handling structural model uncertainty.

Summary updated

BibTeX
@misc{liang2020learning,
  author = {Jacky Liang and Saumya Saxena and Oliver Kroemer},
  title = {{Learning Active Task-Oriented Exploration Policies for Bridging the Sim-to-Real Gap}},
  year = {2020},
  eprint = {2006.01952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.01952},
}
Figure