Extremum-Seeking Action Selection for Accelerating Policy Optimization

Ya-Chien Chang, Sicun Gao

TL;DR

This paper introduces Extremum-Seeking Action Selection (ESA), a novel method to improve the efficiency of reinforcement learning (RL) for continuous control tasks. By integrating Extremum-Seeking Control (ESC) principles, ESA adaptively refines sampled actions to be closer to optimal ones, leading to faster learning and better performance, especially in challenging robotic control scenarios.

What Problem Does This Paper Address?

Reinforcement learning (RL) for continuous control, particularly in robotics, often relies on stochastic policies (like Gaussian distributions) for exploration and policy gradient estimation. However, in environments with complex or unstable dynamics, actions sampled from these broad distributions can easily fall outside "feasible control manifolds." This leads to trajectories with very low rewards, which are uninformative for policy improvement and can cause learning to stall or fail entirely. Existing solutions often involve extensive manual tuning of hyperparameters, state normalization, or reward engineering. This paper aims to provide a more general, model-free approach to improve the quality of exploratory actions, thereby accelerating RL policy optimization without requiring domain-specific pre-processing.

Methods

The core innovation is the integration of Extremum-Seeking Control (ESC) into the action selection process of standard RL algorithms. ESC is a model-free adaptive control strategy that can track local optima of an unknown objective function by injecting periodic perturbations and observing the system's response.

Here's how it's applied in the paper:

  1. Standard Action Sampling: An action, $a_t$, is first sampled from the current policy's distribution (e.g., Gaussian) at state $s_t$.
  2. ESC Perturbation: Instead of directly applying $a_t$, ESA applies a sinusoidal perturbation to it: $a_{perturbed} = a_t + v(t) + K \sin(\omega t)$. Here, $v(t)$ is an internal estimate that converges to the optimal adjustment, $K$ is the perturbation magnitude, and $\omega$ is the perturbation frequency.
  3. Q-Value Query: The perturbed action, $a_{perturbed}$, is used to query the estimated Q-value, $Q(s_t, a_{perturbed})$. This Q-value serves as the "response signal" for ESC.
  4. Adaptive Adjustment: An ESC-inspired update rule (Equation 5 in the paper) is used to update $v(t)$ based on the Q-value response. This update aims to steer $v(t)$ towards an adjustment that increases the Q-value.
  5. Action Execution: The final action applied to the environment is $a_{final} = a_t + v(t)$. This means the original sampled action is refined by the adaptive adjustment $v(t)$.

Crucially, ESA doesn't require an analytic form of the objective (Q-value function) and uses frequency-domain analysis (via high-pass filtering) to extract useful information from noisy Q-value estimates, making it robust to the inherent stochasticity of RL. The paper shows how this can be easily added to algorithms like Proximal Policy Optimization (PPO) and Soft Actor-Critic (SAC).

Datasets

The paper evaluates its method on standard continuous control environments from OpenAI Gym and MuJoCo, including:

  • Inverted Pendulum
  • Quadrotor Control (a Gazebo-based simulation with a 12-dimensional state space and 4 control inputs)
  • Hopper
  • Walker

No new datasets were introduced.

Key Insights and Ideas

  • ESC for Action Refinement: The core insight is that ESC's ability to track local optima can be repurposed to "nudge" exploratory actions towards regions with higher expected returns (Q-values), rather than just relying on the broad exploration of the policy's distribution.
  • Improving Sample Quality: ESA doesn't just increase exploration; it fundamentally improves the quality of the samples generated. This is critical in domains where poor samples lead to divergence.
  • Robustness to Non-Smoothness: Deep neural networks for Q-functions can have highly non-smooth landscapes. ESA's frequency-domain approach, particularly the use of high-pass filters, helps to overcome this by isolating useful local information and making it less susceptible to misleading analytic gradients.
  • Balancing Exploration and Exploitation: By refining sampled actions, ESA implicitly balances exploration (via the initial policy sampling) with exploitation (by steering towards higher Q-values).
  • General Applicability: The method is presented as a plug-in component, demonstrating its potential to enhance various existing policy optimization algorithms.

Key Results

  • Accelerated Learning: ESA consistently accelerates learning across various benchmark environments when added to PPO and SAC.
  • Improved Performance: ESA-based agents achieve higher final performance compared to their baselines.
  • Quadrotor Control Success: The paper highlights significant improvements in quadrotor control, where ESA helps the policy avoid divergence and achieve better path tracking. Figure 4 visually demonstrates this improvement.
  • Comparison to Parameter Noise: While adding random parameter space noise can help in early exploration, ESA demonstrates sustained effectiveness throughout training, leading to better overall performance.
  • Computational Overhead: The added computational cost for ESA is modest, reported as at most 50% longer runtime per episode.
  • Hyperparameter Sensitivity: Ablation studies show that hyperparameters like perturbation magnitude ($K$) and frequency ($\omega$) are important and need careful tuning, but effective ranges were identified. For instance, $K=0.2$ and $\omega > 10\pi$ were found to be effective in the inverted pendulum environment.

Limitations and Future Work

  • Hyperparameter Tuning: While ESA is presented as a general method, the optimal values for perturbation magnitude ($K$) and frequency ($\omega$) can still depend on the specific environment and policy. The paper acknowledges the need for careful tuning and suggests decay strategies for the ESA learning rate as the policy approaches peak performance to avoid destabilization.
  • Local Optima: Like many optimization methods, ESC (and thus ESA) is guaranteed to converge to a local optimum. It doesn't inherently solve the global optimization problem.
  • Future Work: The authors suggest that further investigation into adaptive hyperparameter tuning for ESA and exploring its application in more complex multi-agent or hierarchical RL settings could be fruitful directions. The paper also hints at the potential for ESA to be used in conjunction with other exploration strategies.

Summary updated

BibTeX
@inproceedings{chang2024extremum,
  author = {Ya-Chien Chang and Sicun Gao},
  title = {{Extremum-Seeking Action Selection for Accelerating Policy Optimization}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
}
Figure