NoRML: No-Reward Meta Learning

Yuxiang Yang, Ken Caluwaerts, Atil Iscen, Jie Tan, Chelsea FinnarXiv 2019

Introduction

Meta-reinforcement learning (Meta-RL) has shown great promise in enabling agents to adapt quickly to new tasks. However, most existing methods, such as Model-Agnostic Meta-Learning (MAML), rely on the continuous availability of a reward signal during the adaptation phase. In real-world deployments, external reward signals (e.g., motion capture data or human feedback) are often unavailable. NoRML (No-Reward Meta Learning) addresses this limitation by enabling agents to adapt to changes in environment dynamics—such as sensor drift or hardware degradation—using only raw state-transition data.

The Challenge: Reward-Free Adaptation

Traditional RL agents learn through trial and error guided by rewards. While Meta-RL trains agents to "learn how to learn," it typically assumes that the reward signal used during training remains available during deployment. If a robot's hardware fails or its environment changes (e.g., moving from a carpeted floor to a slippery one), it must adapt. If the external reward signal is missing, standard Meta-RL methods fail to provide the necessary guidance for policy updates. NoRML overcomes this by internalizing the reward structure during a meta-training phase, allowing for reward-free adaptation in the field.

Methodology

NoRML extends the MAML framework with two primary innovations designed for reward-free adaptation:

  1. Learned Advantage Function (LAF): Instead of relying on external rewards to compute policy gradients during adaptation, NoRML meta-learns a neural network $A_\psi(s_t, a_t, s_{t+1})$. This function acts as a "synthetic" reward signal, internalizing what constitutes a successful transition based on state observations alone. By including the next state $s_{t+1}$, the LAF can detect discrepancies in dynamics and guide the policy update accordingly.
  2. Parameter Offset: The authors found that the optimal policy for data collection (exploration) often differs from the optimal policy for task execution. NoRML introduces a learned vector, $\theta_{offset}$, which is added to the meta-parameters before the adaptation step. This allows the meta-optimization to decouple exploration strategies from the final adapted policy.
Conceptual comparison of parameter updates in MAML versus NoRML. The parameter offset and LAF allow NoRML to reach optimal task parameters $\theta_i^*$ more effectively than vanilla MAML.

Experimental Setup

The effectiveness of NoRML was evaluated across several simulated environments:

  • 2D Point Agent: Navigating to a target with unknown action rotations, tested with both continuous (shaped) and binary (sparse) rewards.
  • Cartpole with Sensor Bias: Balancing a pole where the angle sensor experiences random, unknown drift.
  • HalfCheetah with Swapped Actions: A locomotion task where joint torques are swapped, and localization data is removed to prevent reward-based adaptation.

Results and Discussion

NoRML demonstrates significant improvements in adaptation speed and robustness compared to baseline methods. In the HalfCheetah environment, NoRML achieved high performance after just a single rollout, whereas MAML required multiple trials to overcome noisy value function estimations.

Learning curves and the evolution of the Learned Advantage Function (LAF) for the Point Agent task. NoRML (purple) significantly outperforms MAML (yellow), particularly in sparse reward settings.

As shown in the figures above, NoRML's internal advantage function successfully learns to "shape" the gradient even when the external reward is sparse. The LAF evolves over meta-training iterations to provide a clear signal for adaptation (e.g., identifying the correct angle of action). Furthermore, NoRML proved more stable than Domain Randomization; while randomized agents often developed "jittery" gaits to remain robust, NoRML agents adapted their specific gait to the current hardware configuration.

Conclusion and Future Work

NoRML provides a robust framework for meta-learning that functions without reward feedback during adaptation. By internalizing task goals through a Learned Advantage Function and decoupling exploration via a parameter offset, it bridges the gap between laboratory training and real-world deployment. Future work includes extending NoRML to fully unsupervised adaptation and applying it to complex sim-to-real transfer scenarios where the "reality gap" can be treated as a shift in environment dynamics.

Summary updated

BibTeX
@misc{yang2019norml,
  author = {Yuxiang Yang and Ken Caluwaerts and Atil Iscen and Jie Tan and Chelsea Finn},
  title = {{NoRML: No-Reward Meta Learning}},
  year = {2019},
  eprint = {1903.01063},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.01063},
}
Figure