Robotic Control Using Model Based Meta Adaption

Karam Daaboul, Joel Ikels, J. Marius Zöllner

TL;DR

The Meta Adaptation Controller (MAC) allows robots to quickly adapt to new environments—like lower gravity or damaged limbs—without "forgetting" how they are supposed to behave. By mimicking the state transitions of a reference task rather than just chasing a raw reward signal, MAC prevents robots from adopting efficient but undesirable behaviors (like an ant robot rolling instead of walking) and eliminates the need for complex, hand-tuned reward functions.

What Problem Does This Paper Address?

In Model-Based Meta-Reinforcement Learning (MB-MRL), the goal is to enable a robot to adapt to unseen tasks using prior knowledge. For example, if a robot's leg breaks or the floor becomes slippery, it should quickly update its internal "world model" and adjust its movements.

However, a major problem arises: reward hacking. If you reward an ant robot for moving forward as fast as possible, and then drop it into a low-gravity environment, it might discover that rolling or jumping is faster than walking. While this maximizes the reward, it’s often undesirable behavior that could damage the hardware. To prevent this, engineers usually have to design incredibly complex reward functions for every possible scenario. This paper addresses the challenge of enforcing "preferred behavior" across varying dynamics without the manual labor of reward engineering.

Methods

The authors introduce the Meta Adaptation Controller (MAC), which builds upon the FAMLE (Fast Adaptation through Meta-Learning Embeddings) framework.

Key components include:

  • Embedding Neural Network (ENN): A dynamics model that takes a "task embedding" (a low-dimensional vector representing the current environment's physics) as an additional input. This allows the model to adapt its predictions based on the specific task.
  • Meta-Training (REPTILE): The model is trained using the REPTILE algorithm to find a set of initial parameters that can be quickly fine-tuned to new tasks with just a few gradient steps.
  • Behavioral Anchoring: This is the core innovation. Instead of a standard Model Predictive Control (MPC) that only maximizes reward, MAC uses a Reference Task (e.g., walking in normal gravity) and a Reference Policy.
  • Similarity Constraint: During planning, MAC looks for action sequences that lead to states similar to those achieved by the reference policy in the reference task. It uses cosine similarity between predicted future states and "preferred" states to ensure the robot maintains its intended gait or style while adapting to new physics.

Datasets

The researchers evaluated their approach using the MuJoCo physics engine, focusing on four challenging adaptation benchmarks:

  1. HalfCheetah-disabled: Joints of the cheetah robot are randomly blocked.
  2. HalfCheetah-pier: Changes to limb flexibility and moving ground conditions.
  3. Ant-disabled: Different legs of the ant robot are resized, requiring a change in balance.
  4. Ant-gravity: Gravity is adjusted (e.g., to 5 m/s²), which often triggers "rolling" behavior in standard agents.

Key Insights and Ideas

  • Style over Substance: The "aha moment" here is that how a robot achieves a goal is often as important as if it achieves it. By treating a known-good policy as a "behavioral anchor," the authors provide a way to transfer "style" across different physical domains.
  • The Reward Paradox: The paper highlights that a higher reward doesn't always mean a better controller. In the low-gravity ant experiment, the baseline (RMPC) achieved a much higher reward than MAC, but it did so by rolling uncontrollably—a behavior that would likely break a real robot.
  • Online Adaptation: MAC doesn't need a massive dataset of the new environment. It adapts "on the fly" using only a small window of recent observations to update its task embedding and dynamics model.

Key Results

The authors compared MAC against two baselines: RMPC (standard meta-learning with MPC) and FMPC (FAMLE with MPC).

  • Behavioral Consistency: In the Ant-gravity task, MAC successfully maintained a walking gait, whereas the RMPC baseline resorted to jumping and rolling.
  • Performance: In most "disabled" hardware scenarios (HalfCheetah and Ant), MAC outperformed both baselines in terms of total reward collected, showing that the behavioral constraint actually helps the agent find stable, effective movement patterns in difficult conditions.
  • Quantitative Edge: In the Hc-disabled task, MAC achieved a score of 10,513, significantly higher than FMPC (9,762) and RMPC (2,109).

Limitations and Future Work

  • Reference Dependency: MAC requires a pre-trained reference policy and a reference task. If a high-quality reference doesn't exist for a specific behavior, the controller has nothing to "anchor" to.
  • Similarity Threshold: The similarity threshold ($\delta$) is a hyperparameter that must be tuned. If it's too strict, the robot might fail to adapt to extreme physical changes; if it's too loose, the "undesirable" behaviors return.
  • Future Directions: The authors suggest that future work could involve more complex reference behaviors or exploring how to automatically select the best reference task from a library of known behaviors.

Summary updated

BibTeX
@inproceedings{daaboul2023robotic,
  author = {Karam Daaboul and Joel Ikels and J. Marius Zöllner},
  title = {{Robotic Control Using Model Based Meta Adaption}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  url = {https://openreview.net/forum?id=iRCT1w3z2i},
}

Loading related content...

Figure