Monolithic vs. hybrid controller for multi-objective Sim-to-Real learning

Atakan Dag, Alexandre Angleraud, Wenyan Yang, Nataliya Strokina, Roel S. Pieters, Minna Lanz, Joni-Kristian Kämäräinen

Abstract

Achieving robust "Sim-to-Real" transfer for multi-objective robotic tasks remains a significant challenge. This study evaluates two architectural approaches—monolithic and hybrid switching controllers—for a goal-reaching task with obstacle avoidance. We demonstrate that hybrid controllers, which decouple specialized sub-task policies, offer superior flexibility, easier reward tuning, and significantly higher success rates when deployed on physical hardware compared to traditional monolithic architectures.

Introduction

In the world of robotics, "Sim-to-Real" is the practice of training an AI in a safe, fast, and cheap simulation before deploying it onto a physical robot. While Reinforcement Learning (RL) has become effective for single-objective tasks, real-world applications often require robots to satisfy multiple, sometimes conflicting, goals—such as reaching a target while avoiding dynamic obstacles or human coworkers. The standard approach involves a "monolithic" controller trained on a single, complex reward function. However, this method often suffers from brittle reward engineering and a lack of flexibility. This paper explores a hybrid alternative that switches between specialized policies depending on the situation.

Methodology

The researchers compared two distinct architectural approaches using the Deep Deterministic Policy Gradient (DDPG) algorithm:

  1. Monolithic Controller: A single neural network trained with a combined reward function: $r = \text{distance to target} + \text{collision penalty} + \text{success bonus}$. This approach requires precise balancing of weights; if the penalty for hitting an obstacle is too low, the robot crashes, but if it is too high, the robot may never reach the target.
  2. Hybrid Controller: This setup utilizes two separate pre-trained policies—one specialized in "avoiding" and one in "reaching." A simple distance-based switching rule, defined by a threshold ($\tau_{hyb}$), determines which policy is in control. Transitions are smoothed by using "correlated" rewards, where the avoidance policy maintains a secondary awareness of the target goal.

Experimental Setup

The models were trained in the CoppeliaSim environment and evaluated on a Franka Emika Panda 7-degree-of-freedom industrial manipulator. Real-world tracking of the target and obstacle positions was achieved using an Intel RealSense D435 camera and AprilTag markers.

Comparison of the simulation environment (left) and the real-world experimental setup (right) featuring the Franka Emika Panda robot.

Results and Discussion

The hybrid architecture demonstrated significant advantages in both flexibility and performance. A major benefit of the hybrid approach is the ability to tune the robot's "aggression" or "caution" simply by changing the switching threshold ($\tau_{hyb}$) without retraining the underlying models. In contrast, changing the safety margin for a monolithic controller typically requires a full retraining session.

Success rate versus collision rate for monolithic and hybrid controllers across various safety thresholds.

Quantitative evaluation in a standard test scenario revealed a stark performance gap: the Hybrid controller achieved a 90% success rate with only a 10% collision rate on the real robot. The Monolithic controller managed only a 30% success rate and crashed 70% of the time. These results suggest that decoupling objectives into modular policies enhances the robustness of the system against the noise and discrepancies inherent in Sim-to-Real transfer.

Conclusion

Hybrid switching controllers offer a more scalable and interpretable solution for multi-objective robotic tasks compared to monolithic RL models. While current implementations rely on "hard" switching and manual thresholds, future work will focus on implementing "soft" switching mechanisms to improve motion smoothness and exploring automated methods for learning optimal switching rules in more complex, crowded environments.

Summary updated

BibTeX
@inproceedings{dag2021monolithic,
  author = {Atakan Dag and Alexandre Angleraud and Wenyan Yang and Nataliya Strokina and Roel S. Pieters and Minna Lanz and Joni-Kristian Kämäräinen},
  title = {{Monolithic vs. hybrid controller for multi-objective Sim-to-Real learning}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  doi = {10.1109/iros51168.2021.9636426},
}
Figure