Boosting Robustness in Preference-Based Reinforcement Learning with Dynamic Sparsity

Calarina Muslimani, Bram Grooten, Deepak Ranganatha Sastry Mamillapalli, Mykola Pechenizkiy, Decebal Constantin Mocanu, Matthew E. Taylor

TL;DR

This paper introduces R2N, a novel algorithm for Preference-Based Reinforcement Learning (PbRL) that tackles the challenge of learning in extremely noisy environments where many irrelevant features can distract the agent. R2N leverages dynamic sparse training to enable the agent's reward model and policy to focus on task-relevant features, significantly outperforming existing methods in noisy settings.

What Problem Does This Paper Address?

Autonomous agents are increasingly expected to operate in human-centered environments, which are inherently complex and often filled with irrelevant information. Preference-Based Reinforcement Learning (PbRL) offers a promising paradigm for agents to learn from human feedback, but existing PbRL methods typically assume clean, task-relevant environments. This paper addresses the critical gap of learning in "Extremely Noisy Environments" (ENE), where a significant portion of the state space consists of irrelevant "noise" features. Without a mechanism to filter this noise, agents struggle to learn effective reward functions and policies, hindering their real-world applicability.

Methods

The core innovation of R2N is the application of Dynamic Sparse Training (DST) to the reward model within a PbRL framework. DST involves dynamically pruning and growing connections in neural networks during training to optimize their topology. Specifically, R2N:

  • Initial Pruning: Randomly prunes the input layer of the reward model to a predefined sparsity level.
  • Dynamic Pruning and Growing: Periodically prunes the weakest connections in the reward model's input layer and grows new connections in locations where the gradient is highest, using the RigL algorithm. This process allows the reward model to adapt and focus on the most informative features.
  • Extension to RL Agent: The DST approach is also applied to the actor and critic networks of the RL agent, further enhancing robustness.

This approach is novel because it specifically targets the reward learning component in PbRL for noise reduction, whereas prior DST work in RL primarily focused on the agent's policy networks.

Datasets

The experiments were conducted using the DMControl Suite [34], a standard benchmark for reinforcement learning. The authors evaluated R2N on five tasks: Cartpole-swingup, Walker-walk, Quadruped-walk, Cheetah-run, and Humanoid-stand. For the ENE setting, they artificially introduced noise by concatenating features sampled from a standard normal distribution (N(0,1)) to the original state spaces.

Key Insights and Ideas

  • Noise is a Major Hurdle for PbRL: The paper convincingly demonstrates that standard PbRL methods struggle significantly in noisy environments, highlighting the need for specialized approaches.
  • DST is Key for Reward Model Robustness: Applying dynamic sparse training not only to the agent's policy but crucially to the reward model is essential for effectively filtering irrelevant features and learning a robust reward function.
  • R2N's Adaptability: R2N's ability to dynamically adjust its network connectivity allows it to focus on task-relevant features, even when they constitute a small fraction of the overall state space.
  • Generalizability: R2N shows promise in improving the performance of various existing PbRL algorithms, suggesting its broad applicability.

Key Results

  • Outperformance in Noisy Environments: R2N consistently outperformed several sparse training baselines (SET, Static Sparse Training, L1 Regularization, DropConnect) when integrated with the PEBBLE PbRL algorithm in DMControl environments with up to 90% noise.
  • Significant Performance Boost: When integrated with other state-of-the-art PbRL algorithms (SURF and RUNE), R2N led to significant improvements in both learning efficiency (AUC) and final return across all tested environments. For instance, in Cheetah-run with 90% noise, R2N-PEBBLE achieved a 70.26% improvement in final return over PEBBLE.
  • Robustness to High Noise Levels: R2N maintained competitive or superior performance even in environments with 95% noise.
  • DST Component Importance: Ablation studies showed that applying DST to both the reward model and the RL agent's modules (as in full R2N) yielded significantly better results than applying DST to only one module.

Limitations and Future Work

  • Simulated Teacher: The experiments used a simulated teacher to generate preferences. The authors acknowledge that future work should include a human-subjects study to validate R2N's effectiveness with real human preferences.
  • ENE Setting: The current work focuses on the artificially constructed ENE setting. Future research could explore R2N's performance with real-world robot data, which might involve pixel inputs and more complex noise structures.
  • Constant Feature Relevance: The current approach assumes feature relevance is constant. An interesting extension would be to investigate continual learning scenarios where feature relevance can change across tasks.

Summary updated

BibTeX
@inproceedings{muslimani2024boosting,
  author = {Calarina Muslimani and Bram Grooten and Deepak Ranganatha Sastry Mamillapalli and Mykola Pechenizkiy and Decebal Constantin Mocanu and Matthew E. Taylor},
  title = {{Boosting Robustness in Preference-Based Reinforcement Learning with Dynamic Sparsity}},
  booktitle = {AAMAS},
  year = {2024},
  doi = {10.48550/arxiv.2406.06495},
}
Figure