Structure Learning-Based Task Decomposition for Reinforcement Learning in Non-stationary Environments

Honguk Woo, Gwangpyo Yoo, Minjong Yoo

Introduction

Standard Reinforcement Learning (RL) typically assumes a stationary Markov Decision Process (MDP), where the underlying rules and environment dynamics remain constant. However, real-world cyber-physical systems, such as autonomous drones or vehicles, operate in non-stationary environments where conditions like weather, wind speed, or road friction fluctuate over time. In these scenarios, agents often struggle to adapt or suffer from "catastrophic forgetting," where learning to handle new conditions erases the knowledge required for previous ones.

This paper proposes a novel framework that addresses non-stationarity through two primary mechanisms: Task Decomposition Embedding (TDE) and Sliding Window Orthogonal Gradient Descent (OGD). By explicitly separating stable task features from time-varying environmental factors, the framework achieves significant performance improvements over existing state-of-the-art methods.

Overview of the proposed TDE+OGD framework for non-stationary environments.

Methodology

Task Decomposition Embedding (TDE)

The TDE module treats a non-stationary environment as a sequence of tasks that share a common "time-invariant" structure but are influenced by "time-variant" hidden parameters. To extract these features, the researchers employ a CycleGAN-inspired architecture to learn a "soft-homomorphism."

As shown in the training process, an encoder-decoder structure is used to identify what remains constant across different environment states. By analyzing the difference between an actual transition and a reconstructed "base" transition, the model can effectively isolate hidden environmental variables ($v$). This explicit decomposition allows the agent to focus on the core task while remaining aware of shifting external conditions.

The training process for the auto-encoder used in Task Decomposition Embedding.

Sliding Window Orthogonal Gradient Descent (OGD)

Even with effective task decomposition, gradient interference can occur when updates for a new task accidentally overwrite knowledge from previous ones. The framework utilizes Orthogonal Gradient Descent to ensure that new learning updates are perpendicular (orthogonal) to the gradients of prior tasks.

To handle the fluid and often unpredictable nature of real-world environment shifts, the authors implement a "sliding window" approach. This allows the agent to manage which previous gradients to remain orthogonal to, facilitating continuous adaptation without the need for predefined task boundaries.

Experimental Setup and Results

The proposed TDE+OGD model was evaluated against state-of-the-art baselines (such as SLAC and LILAC) in three distinct simulation environments:

  1. 2D Navigation (pyBox2D): Navigating moving obstacles with varying speeds.
  2. Minitaur: A quadruped robot with continuously varying base weights.
  3. AirSim Drone Simulation: Navigating a drone through dynamic weather and wind conditions.

Key Findings

  • Superior Performance: In 2D navigation and Minitaur tasks, the model demonstrated up to a 46.4% improvement in average rewards over LILAC.
  • Complex Environment Robustness: In the high-fidelity AirSim drone scenario, the model achieved a 67.4% performance boost over competing methods.
  • Resilience to Uncertainty: Under high environmental unpredictability, the model's performance dropped by only ~17%, whereas the baseline LILAC's performance plummeted by over 62%.

Conclusion

By combining structure-learning task decomposition with interference-free gradient updates, this framework provides a robust solution for RL in non-stationary settings. Future work will look to incorporate hard safety constraints for mission-critical systems and explore the application of these techniques to multi-agent coordination.

Summary updated

BibTeX
@inproceedings{woo2022structure,
  author = {Honguk Woo and Gwangpyo Yoo and Minjong Yoo},
  title = {{Structure Learning-Based Task Decomposition for Reinforcement Learning in Non-stationary Environments}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20844},
}
Figure