NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Error-Aware Policy Learning: Zero-Shot Generalization in Partially Observable Dynamic Environments

Visak C. V. Kumar, Sehoon Ha, C. Karen Liu

Introduction

Bridging the "sim-to-real" gap remains a fundamental challenge in robotics. While simulations provide a safe and efficient training ground, they often fail to capture the nuances of real-world environments, particularly in partially observable dynamic settings. Factors such as a human user’s muscle fatigue, internal motor damping, or varying ground friction are often impossible to measure directly, leading to performance degradation when policies are deployed on physical hardware.

Existing approaches like Domain Randomization (DR) often produce overly conservative behaviors, while System Identification can be mathematically intractable for complex human-robot interactions. This research introduces the Error-Aware Policy (EAP) framework, designed to achieve zero-shot generalization to unseen environments by predicting the effects of hidden physical parameters rather than the parameters themselves.

Methodology

The EAP framework consists of two co-trained components that work in tandem to adjust robot behavior in real-time:

  1. The Error-Prediction Function ($E$): Instead of attempting to identify specific hidden physical parameters, this function predicts the "state-error"—the deviation in future trajectory between a reference (nominal) simulation and the target environment based on the current state and an uncorrected action.
  2. The Error-Aware Policy ($\pi$): This policy is conditioned on the predicted error. By understanding how its trajectory is likely to deviate (e.g., "the leg will swing 5 degrees short"), the policy proactively adjusts its torque commands to compensate.
The Error-Aware Policy (EAP) framework architecture showing the interaction between the policy and the error-prediction function.

The Training Loop

The system is first pre-trained in a reference environment. During subsequent training, reality gaps are emulated by splitting environments into training and validation sets. The error predictor uses supervised learning to map states to trajectory deviations, while the policy utilizes Proximal Policy Optimization (PPO) to maximize rewards while conditioned on these error signals.

Experimental Evaluation

The researchers evaluated EAP across three distinct domains:

  • Assistive Walking: Modeling 15 human agents with varying biomechanical properties (height, mass, leg length) using a gait dataset. 10 agents were used for training, while 5 were reserved for unseen testing.
  • Robotic Locomotion: Simulations involving the Aliengo quadruped robot.
  • Standard RL Benchmarks: OpenAI Gym environments including CartPole, Hopper, and Walker2D.

Key Results and Insights

The EAP framework demonstrated significant improvements over traditional baselines. In standard reinforcement learning tasks, EAP outperformed Domain Randomization by 60% to 116% and Universal Policies (UP) by 12% to 77% in terms of average return in unseen environments.

Learning curves for Hopper and Walker2D tasks showing EAP's superior performance compared to UP and DR baselines.

Key Insights:

  • Predicting Effects Over Parameters: The core advantage of EAP is bypassing complex system identification. The robot only needs to know how its trajectory will be affected, not why (e.g., the specific friction coefficient).
  • Optimal Prediction Horizon: The authors found that a 5-step horizon ($T=5$) for error prediction provided the best balance for policy adaptation, as single-step errors were often too subtle to drive effective corrections.
  • Increased Stability: In assistive technology tasks, EAP significantly expanded the "stability region," allowing human-exoskeleton systems to recover from a wider range of external perturbations.

Limitations and Future Work

While EAP shows promise for zero-shot adaptation, its performance is inherently limited by the accuracy of the error-prediction function. Future work may involve replacing simple Multi-Layer Perceptrons (MLPs) with Recurrent Neural Networks (RNNs) to leverage historical data for more precise error estimates. Additionally, the researchers aim to validate the framework on physical hardware to assess its resilience to sensor noise and hardware latency in real-world human-robot interaction.

Summary updated

BibTeX
@inproceedings{kumar2021error,
  author = {Visak C. V. Kumar and Sehoon Ha and C. Karen Liu},
  title = {{Error-Aware Policy Learning: Zero-Shot Generalization in Partially Observable Dynamic Environments}},
  booktitle = {Robotics: Science and Systems},
  year = {2021},
  doi = {10.15607/rss.2021.xvii.065},
}
Figure