Policy calibrated noise improves robot training without risky data collection

Policy-Calibrated DAgger: Offline Calibrated Noise Injection for Imitation Learning

Robotics

Summary

Robots trained by imitation can make mistakes that add up and cause them to act unpredictably. Existing ways to fix this either put robots in unsafe situations or need carefully chosen noise during extra training. The authors propose a method that estimates this noise automatically using the robot’s own action predictions, without putting it at risk. They tested this on tasks where a robot must reach difficult places and found it performs better than methods without noise and matches the best noise settings without trying them all.

What this means in practice

  • For robotics engineers: Train robot manipulation policies safely without collecting risky failure data or tuning noise levels manually.
  • For automation teams: Improve reliability of robots working in cluttered or narrow spaces by using noise-calibrated imitation learning methods.

Authors

Jenny Wang, George Kantor

Abstract

Policies trained with imitation learning can accumulate errors over time, causing the robot to drift outside the training distribution. Existing methods mitigate this covariate shift by collecting additional data where the policy fails or is likely to fail. The first places the robot in unsafe conditions and the second requires choosing an appropriate noise distribution to collect new expert demonstrations under that noise. We propose Policy-Calibrated DAgger, a method that makes use of the properties of recent generative policies to estimate the policy's noise offline by using its own predicted action distribution. We measure a diffusion policy's spread of predicted actions at observations along the expert trajectory and measure its closed-loop error relative to a recorded trajectory. To address issues with measuring error in a multimodal action space, we guide the policy towards the trajectory during closed-loop control through partial denoising, and use properties of a diffusion model to unnormalize the measured error as if we did not guide it. We experiment in a scenario where a robot is tasked to reach an engine lever in a cluttered and narrow environment and show results in a 3D photorealistic simulator and a 2D planar reacher environment. We show that our method surpasses policies trained with dataset aggregation without noising and matches the performance of the best noise level in hindsight, without requiring a sweep over noise levels.