Wavelet Predictive Representations for Non-Stationary Reinforcement Learning

Min Wang, Xin Li, Ye He, Yao-Hui Li, Hasnaa Bennis, Riashat Islam

Introduction

In standard Reinforcement Learning (RL), agents are typically trained under the assumption that the environment is stationary—the rules of the game do not change. However, the real world is inherently "non-stationary." Weather shifts, traffic patterns evolve, and mechanical parts wear down. Non-Stationary RL (NSRL) aims to create agents capable of adapting to these continuously changing Markov Decision Processes (MDPs).

To address the limitations of current NSRL methods, researchers have introduced WISDOM (Wavelet Induced task repreSentation preDiction for nOn-stationary reinforceMent learning). By decomposing task signals into the wavelet domain, WISDOM captures both broad environmental trends and sharp, sudden changes, significantly outperforming existing methods in adaptability and sample efficiency.

The Challenge of Non-Stationary Environments

The primary challenge in NSRL is that most existing methods assume environmental changes happen in regular, predictable patterns or follow smooth transitions. They struggle significantly with "stochastic periods"—changes happening at irregular intervals—or sudden, jerky shifts in dynamics.

Traditional frequency analysis, such as Fourier Transforms, can identify what frequencies exist in a signal but lose track of when they occur. This makes it incredibly difficult for an agent to know exactly when the environment's underlying rules have shifted.

Signal decomposition comparing Fourier spectrum to Wavelet approximation and detail coefficients

The WISDOM Approach

To overcome these limitations, WISDOM leverages Wavelet Transforms (WT) to analyze task representations. Unlike Fourier transforms, wavelets provide a multi-scale analysis that preserves both time and frequency information.

WISDOM Architecture showing Task Inference, Representation Prediction, and Policy Learning modules

The architecture is built on several key components:

  • Wavelet Representation Network ($Y_\phi$): This network uses dilated causal convolutions to perform a Discrete Wavelet Transform (DWT) on sequences of task representations. It breaks the signal down into "approximation coefficients" (representing slow-moving global trends) and "detail coefficients" (representing rapid, fine-grained variations and noise).
  • Wavelet Temporal Difference (TD) Operator: Borrowing a core concept from standard RL, the authors designed a TD-style update specifically for the wavelet domain. This allows the model to explicitly track and predict how task structures evolve, rather than just reacting to them after the fact.
  • Hybrid Optimization: The model is trained using a combination of the Wavelet TD loss (for stability and structural tracking) and an Auto-Regressive (AR) loss (to reinforce long-term temporal dependencies).
  • Restored Representations: After filtering out noise in the wavelet domain, the signal is transformed back into the time domain to provide the policy with a "cleaned" and highly predictive task representation ($\hat{z}$).

Key Insights

  • Multi-Scale Perception: By looking at the environment through different frequency "lenses," the agent can ignore high-frequency jitter (noise) while remaining highly sensitive to high-frequency events (sudden task shifts).
  • The "When" Matters: The primary advantage of wavelets is localization. The agent doesn't just know the environment is changing; it knows exactly when the change started, allowing for much faster policy adjustments.
  • Theoretical Grounding: The authors theoretically proved that wavelet-domain features are informative indicators of policy performance and that their new Wavelet TD operator is guaranteed to converge.
  • Plug-and-Play Capability: WISDOM's representation module can be integrated into various downstream RL algorithms (like SAC, DDPG, or offline methods like DORA), significantly boosting their performance in non-stationary settings.

Experimental Results

The researchers evaluated WISDOM across three diverse benchmarks: Meta-World (robotic manipulation tasks with varying target positions), a Type-1 Diabetes Simulation (managing insulin with varying meal times), and MuJoCo (physics environments with changing dynamics).

  • Superior Performance & Sample Efficiency: On Meta-World tasks, WISDOM achieved near 100% success rates where baselines like PEARL or SeCBAD hovered between 10% and 80%. It also converged much faster, requiring fewer environmental interactions.
  • Robustness to Noise: When Gaussian noise was injected into state observations, WISDOM maintained its performance while baselines degraded significantly, confirming the effectiveness of wavelet-based noise filtering.
  • Computational Efficiency: Despite the mathematical complexity of wavelets, WISDOM demonstrated lower memory usage and faster runtimes per episode compared to competitive baselines.

Limitations and Future Work

While highly effective, WISDOM is sensitive to the "decomposition level" ($M$) hyperparameter—how many times the signal is split. If set too high, vital low-frequency information might be lost; if too low, insufficient noise is filtered. Currently, these levels require manual tuning for specific environments. Developing adaptive mechanisms to dynamically adjust decomposition levels during training, as well as more sophisticated methods for selecting which detail coefficients to keep, remain promising directions for future research.

Summary updated

BibTeX
@inproceedings{wang2026wavelet,
  author = {Min Wang and Xin Li and Ye He and Yao-Hui Li and Hasnaa Bennis and Riashat Islam and Mingzhong Wang},
  title = {{Wavelet Predictive Representations for Non-Stationary Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=UPEwYJn2mm},
}
Figure