ACM GECCO 2024 · Melbourne, VIC, Australia · Full Paper

Multi-Objective Evolutionary Hindsight Experience Replay for Robot Manipulation Tasks

MOEHER Framework & Evolutionary Curriculum Generation
K-Means Clustering of Non-dominated Solutions
Evolutionary Global Search on NN Landscape
Figure 1: Overview of MOEHER's curriculum goal generation mechanism. Left: Pareto-optimal non-dominated solutions generated via NSGA-II are clustered using K-Means into diversified intermediate goals (one cluster center per episode), preventing redundant sampling and preserving exploration entropy. Right: Finding states within the continuous search space using NSGA-II that maximize the predictive power and extrapolation of the policy and value networks.
Abstract & Key Contributions

Reinforcement learning (RL) algorithms often face challenges in efficiently learning effective policies for sparse-reward multi-goal robot manipulation tasks, thus requiring a vast amount of experiences. The state-of-the-art algorithm in the field, Hindsight Experience Replay (HER), addresses this issue by using failed trajectories and replacing the desired goal with hindsight goals. However, HER performs poorly when the desired goal is distant from the initial state. To address this limitation, Hindsight Goal Generation (HGG) has been proposed, which generates a curriculum of goals from already visited states. This curriculum generation is based on a single objective, and does not take obstacles into account.

Here, we make a step forward by proposing Multi-Objective Evolutionary Hindsight Experience Replay (MOEHER), a novel curriculum RL algorithm that reformulates curriculum generation considering multiple objectives and obstacles. MOEHER utilizes NSGA-II to generate a curriculum that is optimized w.r.t. four objectives, namely the \(Q\)-function, the goal-proximity function, and two distance metrics, while simultaneously satisfying constraints on the obstacles. We evaluate MOEHER on four different sparse-reward robot manipulation tasks, with and without obstacles, and compare it with HER and HGG. The results demonstrate that MOEHER surpasses or performs on par with these methods on the tested tasks.

4-Objective Optimization

Concurrently optimizes the \(Q\)-network, goal-proximity potential function, Wasserstein-1 distribution distance, and Euclidean distance using NSGA-II.

Obstacle-Aware Repair

Explicitly enforces physical obstacle boundary constraints and genetic variation repairs, ensuring curriculum goals never venture inside restricted obstacle spaces.

K-Means Pareto Clustering

Applies K-Means clustering directly onto non-dominated solutions to extract diverse, non-redundant curriculum goals matched to rollout episodes.

Mathematical Formulation & Conflicting Objectives

In multi-goal reinforcement learning with sparse rewards, the agent aims to reach goals sampled from a continuous distribution \(\mathcal{G}\). MOEHER frames curriculum generation as a multi-objective optimization problem over states \(s\):

$$\min_{s} \left( -f_1(s),\; -f_2(s),\; f_3(s),\; f_4(s) \right)$$ $$\text{subject to: } \mathcal{O}^- \le m(s) \le \mathcal{O}^+, \quad s_i^{(L)} \le s_i \le s_i^{(U)}, \; i = 1, \dots, n$$
1

\(Q\)-Value Maximization

\(f_1(s) = Q_{\phi}(s, m(s), \pi_{\psi}(s, m(s)))\)

Maximizes the expected cumulative reward by evaluating states through the policy \(\pi_{\psi}\) and critic \(Q_{\phi}\), identifying promising states with high learning value.

2

Goal-Proximity Potential

\(f_2(s) = f_{\theta}^{\pi}(s)\)

Estimates the step progression toward the target via a neural potential function trained on the Kantorovich–Rubinstein duality, preventing states from collapsing into local critic maxima.

3

Wasserstein-1 Distance

\(f_3(s) = W_1(m(s), \mathcal{G})\)

Minimizes the earth mover's distance between the intermediate goal distribution and the desired goal distribution, ensuring broad exploration along feasible paths.

4

Euclidean Target Distance

\(f_4(s) = \|m(s) - g\|_2\)

Minimizes the straight-line Euclidean distance between the candidate goal and the current target goal \(g\), anchoring convergence toward task completion.

Obstacle Constraint Validation: Whenever obstacles are present, candidate solutions are checked against obstacle coordinates \([\mathcal{O}^-, \mathcal{O}^+]\). If an intermediate goal falls inside an obstacle, genetic variation operators (binary crossover and polynomial mutation) iteratively resample candidates until all cluster centers are outside the obstacle boundaries.

Experimental Benchmarks on MuJoCo Manipulation Tasks

We benchmarked MOEHER against HER (uniform hindsight replay) and HGG (Hindsight Goal Generation) on 4 simulated 7-DOF Fetch manipulator tasks across 10 independent runs each.

Tasks Without Obstacles

FetchReach Results
FetchReach
FetchPush Results
FetchPush
FetchPickAndPlace Results
FetchPickAndPlace
FetchSlide Results
FetchSlide

Tasks With Obstacles (Obs)

FetchReachObs Results
FetchReachObs
FetchPushObs Results
FetchPushObs
FetchPickAndPlaceObs Results
FetchPickAndPlaceObs
FetchSlideObs Results
FetchSlideObs

Statistical Significance (Wilcoxon Rank-Sum vs. HGG)

Environment Obstacle Present? Statistic \(p\)-value Significance Status
FetchSlideObs Yes -3.6556 0.00013 Significant Improvement (p < 0.001)
FetchReachObs Yes -3.6556 0.00013 Significant Improvement (p < 0.001)
FetchPushObs Yes -2.4000 0.00820 Significant Improvement (p < 0.01)
FetchPickAndPlace No -2.3553 0.00925 Significant Improvement (p < 0.01)
FetchPickAndPlaceObs Yes -1.5045 0.06623 Near-Significant (p ≈ 0.06)
FetchReach No -0.7460 0.22782 Comparable / On Par
FetchSlide No 2.5236 0.99419 Comparable / On Par
FetchPush No 2.7418 0.99694 Comparable / On Par
Curriculum Goal Visualizations & Obstacle Avoidance

Visualization of curriculum goals generated during training. The color gradient from red to magenta illustrates the evolution of intermediate goals across successive training epochs, demonstrating how MOEHER naturally navigates around obstacles without getting trapped.

FetchPush with Obstacle Intermediate Goals
FetchPushObs: Generated curriculum goals circumventing the block obstacle on the tabletop surface.
FetchPickAndPlace with Obstacle Intermediate Goals
FetchPickAndPlaceObs: Goals lifting the object over and around the blocking wall obstacle.
FetchReach with Obstacle Intermediate Goals
FetchReachObs: Gripper trajectories smoothly bypassing the floating obstacle (magenta block).
FetchSlide with Obstacle Intermediate Goals
FetchSlideObs: Puck release trajectories directed toward the target goal zone without colliding into the table obstacle.

Task Goal and Object Sampling Areas

FetchReach Goal Sample
FetchReach Sampling Space
FetchPush Goal Sample
FetchPush Sampling Space
FetchPickAndPlace Goal Sample
FetchPick & Place Sampling Space
FetchSlide Goal Sample
FetchSlide Sampling Space
Ablation Studies
Ablation on Population and Generations
Population Size (\(M\)) & Generations (\(N\)): Evaluation on FetchPush showing that \(M=400\) and \(N=20\) achieve rapid and robust convergence while maintaining computational efficiency.
Ablation on Objective Functions
Objective Combinations: Comparison of subsets of the four fitness functions (\(f_1\), \(f_2\), \(f_3\), \(f_4\)), confirming that utilizing all four objectives yields the highest success rate and stability.
BibTeX Citation
@inproceedings{Sayar_2024,
  title     = {Multi-Objective Evolutionary Hindsight Experience Replay for Robot Manipulation Tasks},
  author    = {Sayar, Erdi and Iacca, Giovanni and Knoll, Alois},
  booktitle = {Proceedings of the Genetic and Evolutionary Computation Conference (GECCO '24)},
  pages     = {403--411},
  year      = {2024},
  month     = {July},
  publisher = {ACM},
  series    = {GECCO '24},
  doi       = {10.1145/3638529.3654045},
  url       = {https://doi.org/10.1145/3638529.3654045}
}