Exploring Parameter Space with Structured Noise for Meta-Reinforcement Learning

Hui Xu, Chong Zhang, Jiaxing Wang, Deqiang Ouyang, Yu Zheng, Jie Shao

Abstract

Efficient exploration remains a central challenge in Reinforcement Learning, especially in the Meta-RL paradigm where agents must adapt to novel tasks within a few gradient steps. This paper presents Exploration with Structured Noise in Parameter Space (ESNPS), a novel framework that utilizes previously acquired knowledge to guide exploration. By partitioning tasks and training specialized sub-models, ESNPS generates "structured noise" that, when injected into a base model's parameters, induces coherent and meaningful behaviors. Experimental results on MuJoCo benchmarks show that ESNPS significantly outperforms standard meta-learning and Gaussian noise-based exploration methods in terms of both performance and stability.

Introduction

In Meta-Reinforcement Learning (Meta-RL), the goal is to train an agent that can quickly generalize to new tasks from a given distribution. A critical bottleneck is the exploration-exploitation trade-off during the adaptation phase. Traditional strategies often rely on task-agnostic metrics (e.g., curiosity) or simple "dithering" (e.g., adding random noise to actions or parameters). However, these methods fail to exploit the "prior knowledge" inherent in the meta-training set. For instance, an agent that has learned to run at various speeds should use that experience to explore a new target speed, rather than resorting to random joint movements. While previous methods like MAESN attempted to use latent variables for structured noise, they often struggle with dense rewards and high-dimensional feature computation.

Methodology: The ESNPS Framework

The core innovation of ESNPS is moving exploration from the action space to the parameter space using structured noise derived from the meta-learning process itself.

The ESNPS workflow: Meta-training involves hierarchical partitioning to create sub-models, which then provide structured noise for perturbation during meta-testing.

The process consists of four main stages:

  1. Hierarchical Partitioning: Training tasks are split into several subsets (partitions) based on task characteristics. For example, in a "cheetah velocity" environment, one partition might contain tasks with low target speeds, while another contains high speeds.
  2. Meta-Training: Multiple Model-Agnostic Meta-Learning (MAML) models are trained—one "Base Model" on the entire task set and several "Sub-Models" on specific partitions. The weights of these sub-models act as the "structured noise" because they encode specific, learned behaviors (like "running fast" or "running slow").
  3. Structured Noise Injection: During adaptation to a new task, the base model is perturbed by these sub-models. Instead of adding random Gaussian noise to the weights, the system adds a scaled version of the sub-model weights: $\tilde{\theta}_j = \theta_{base} + \alpha \theta_{sub,j}$. This ensures the "noise" corresponds to a coherent behavior learned from previous experience.
  4. Adaptive Scaling and Selection: Because injecting noise into high-dimensional parameters can be destructive, the authors use a heuristic to adaptively tune the scaling factor ($\alpha$). They measure how much the noise changes the resulting action distribution; if the change is too drastic, they dial it back. Finally, they fine-tune several perturbed models and return the one that performs best on the new task.

Experimental Evaluation

The approach was evaluated using the MuJoCo physics simulator on four standard Meta-RL benchmarks: Cheetah Velocity (matching a target forward speed), Cheetah Direction (running forward or backward), Ant Velocity (a 3D quadruped matching a target speed), and Ant Direction (the quadruped moving in specific directions). The authors constructed 40 new, unseen tasks for each group to test meta-testing performance.

Key Results

ESNPS was compared against vanilla MAML and Parameter Space Noise Exploration (PSNE) using Gaussian noise.

Performance comparison of ESNPS against MAML and PSNE across four MuJoCo environments. ESNPS (red) consistently achieves higher average returns with greater stability.

The results indicate:

  • Superior Performance: ESNPS significantly outperformed both vanilla MAML and PSNE across all four MuJoCo environments.
  • Stability: The training curves for ESNPS were much smoother. While Gaussian noise caused large fluctuations in performance, structured noise led to stable, directed exploration.
  • Robustness: Even when the noise level was relatively high, ESNPS maintained the common structure of the meta-train tasks, whereas high-level Gaussian noise tended to destroy the model's performance.
  • Efficiency: Even a "simplified" version of the algorithm (skipping the final fine-tuning steps) still outperformed the competitive PSNE baseline.

Discussion and Insights

The primary insight of this work is that network weights are a form of structured knowledge. Using them as noise is far more efficient than random perturbations because it pushes the policy toward meaningful regions of the parameter space rather than random movements. This approach helps the model escape local optima, which is particularly beneficial for complex, non-convex problems like robotic locomotion.

While ESNPS shows clear advantages, it comes with increased computational costs due to the need to train an ensemble of meta-policies ($J+1$ separate MAML models). Future research will focus on identifying more computationally efficient ways to generate structured noise without requiring full sub-model training, potentially making the method more accessible for massive-scale RL problems.

Summary updated

BibTeX
@inproceedings{xu2020exploring,
  author = {Hui Xu and Chong Zhang and Jiaxing Wang and Deqiang Ouyang and Yu Zheng and Jie Shao},
  title = {{Exploring Parameter Space with Structured Noise for Meta-Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/436},
}
Figure