Skip to main content
QUICK REVIEW

[Paper Review] Automatic Parameter Optimization Using Genetic Algorithm in Deep Reinforcement Learning for Robotic Manipulation Tasks

Adarsh Sehgal, Nick Ward|arXiv (Cornell University)|Apr 7, 2022
Reinforcement Learning in RoboticsComputer Science9 citations
TL;DR

This paper proposes a novel genetic algorithm (GA)-based hyperparameter optimization framework for Deep Deterministic Policy Gradient with Hindsight Experience Replay (DDPG+HER) in robotic manipulation tasks. By automatically tuning key hyperparameters such as learning rates, exploration noise, and target network update rates, the GA+DDPG+HER method reduces learning time by up to 57% and significantly improves sample efficiency across six simulated and one real-world robotic task, outperforming baseline methods in all comparisons.

ABSTRACT

Learning agents can make use of Reinforcement Learning (RL) to decide their actions by using a reward function. However, the learning process is greatly influenced by the elect of values of the hyperparameters used in the learning algorithm. This work proposed a Deep Deterministic Policy Gradient (DDPG) and Hindsight Experience Replay (HER) based method, which makes use of the Genetic Algorithm (GA) to fine-tune the hyperparameters' values. This method (GA+DDPG+HER) experimented on six robotic manipulation tasks: FetchReach; FetchSlide; FetchPush; FetchPickAndPlace; DoorOpening; and AuboReach. Analysis of these results demonstrated a significant increase in performance and a decrease in learning time. Also, we compare and provide evidence that GA+DDPG+HER is better than the existing methods.

Motivation & Objective

  • To address the critical challenge of hyperparameter sensitivity in deep reinforcement learning (DRL) for robotic manipulation, where suboptimal settings drastically slow learning.
  • To develop an automated, reusable hyperparameter tuning method that reduces reliance on manual or heuristic tuning.
  • To evaluate the effectiveness of a genetic algorithm (GA) in optimizing DDPG+HER hyperparameters across diverse robotic tasks.
  • To compare GA+DDPG+HER against existing methods and demonstrate consistent performance gains in both simulated and real-world environments.
  • To provide open-source code and validate the method on both standard OpenAI Gym environments and custom-built Aubo-i5 robotic manipulation tasks.

Proposed method

  • A genetic algorithm (GA) is employed to search the hyperparameter space of DDPG+HER, encoding each solution as a chromosome with binary-encoded hyperparameters.
  • The GA uses ranking selection for parent selection, uniform crossover for offspring generation, and flip mutation to maintain diversity.
  • Each chromosome’s fitness is evaluated by training a DDPG+HER agent on a task and measuring the number of epochs to reach 85% success rate.
  • The algorithm iteratively evolves the population over generations, favoring hyperparameter sets that minimize training time.
  • Hyperparameters optimized include the discount factor (γ), polyak-averaging coefficient (τ), actor and critic learning rates, exploration rate (ϵ), and action noise standard deviation (η).
  • The method is tested on six simulated environments (FetchReach, FetchSlide, etc.) and one real-world Aubo-i5 robot environment, with performance measured across ten training runs.

Experimental results

Research questions

  • RQ1Can a genetic algorithm effectively optimize the hyperparameters of DDPG+HER to accelerate learning in robotic manipulation tasks?
  • RQ2How does GA+DDPG+HER compare to baseline hyperparameter settings and other optimization methods in terms of learning speed and performance?
  • RQ3To what extent does automatic hyperparameter tuning reduce the number of training epochs required to achieve a target success rate?
  • RQ4Does the optimized hyperparameter set generalize across diverse robotic manipulation tasks, including both simulated and real-world environments?
  • RQ5Is the GA-based tuning process reusable and computationally efficient for future DRL training sessions?

Key findings

  • The GA+DDPG+HER method reduced the number of training epochs required to reach 85% success rate by up to 57% compared to default hyperparameters.
  • The method consistently outperformed four other approaches on the FetchReach-v1 environment, demonstrating superior sample efficiency and faster convergence.
  • The success rate of the agent was highly sensitive to hyperparameter values, especially the polyak-averaging coefficient τ, with non-linear performance changes observed across different settings.
  • The use of Hindsight Experience Replay (HER) with optimized hyperparameters enabled effective learning even with sparse rewards, significantly outperforming shaped reward functions.
  • The GA-optimized hyperparameters were transferable and effective across six simulated robotic tasks and one real-world robotic manipulation task using the Aubo-i5 robot.
  • The method demonstrated robustness and stability, with consistent performance across ten independent training runs using the GA-optimized hyperparameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.