Tracking Drift: Variation-Aware Entropy Scheduling for Non-Stationary Reinforcement Learning

Tongxi Wang, Zhuoyang Xia, Xinran Chen, Shan LiuICML 2026

TL;DR Reinforcement Learning (RL) agents often struggle when the world changes around them, either exploring too much when things are stable or too little when they drift. This paper introduces Adaptive Entropy Scheduling (AES), a principled "plug-in" mechanism that scales exploration intensity based on the square root of detected environment drift. By using internal signals like TD-error as a proxy for change, AES significantly accelerates recovery in non-stationary environments across a wide variety of tasks.

The Challenge of Environment Drift

Most RL algorithms are built on a "stationarity assumption"—the idea that rewards and physics stay the same forever. In the real world, however, robots experience wear and tear, traffic patterns evolve, and user preferences shift. This phenomenon is known as environment drift.

Current Maximum-Entropy RL methods (such as Soft Actor-Critic) use an entropy coefficient to balance exploration and exploitation. However, this coefficient is usually static or tuned specifically for stationary goals. This rigidity leads to two primary failures:

  1. Over-exploration: Wasting time acting randomly during stable periods.
  2. Under-exploration: Failing to try new strategies quickly enough after the environment changes, leading to agonizingly slow recovery.

The authors seek to answer a fundamental question: Exactly how much should exploration increase when the environment drifts?

Adaptive Entropy Scheduling (AES)

The authors bridge the gap between theory and practice by casting entropy scheduling as a dynamic-regret trade-off in Online Convex Optimization (OCO).

The Square-Root Scaling Rule

Theoretically, the paper demonstrates that the optimal entropy weight ($\lambda_t$) should follow a square-root relationship with the magnitude of the drift. Specifically, $\lambda_t \propto \sqrt{\text{cumulative drift} / t}$.

The Drift Proxy

Because an agent cannot directly "see" the underlying changes in physics or rewards, AES uses an observable proxy: the TD-error. When the environment drifts, the agent’s value predictions suddenly become inaccurate, causing spikes in the TD-error. This acts as a built-in "smoke alarm," turning a symptom of failure into a signal for a productive response (increased exploration).

How AES Works

AES is designed to be a lightweight, plug-and-play module:

  1. Extract the $q$-quantile (default 0.9) of absolute TD-errors from the current training batch.
  2. Smooth this signal using an Exponential Moving Average (EMA).
  3. Calculate the new entropy weight using the square-root scaling rule.
  4. Inject this weight back into the base algorithm (e.g., SAC, PPO, SQL).

Crucially, AES requires almost no structural changes to existing algorithms and adds negligible computational overhead.

Experimental Validation

The authors evaluated AES across three distinct task families under five non-stationarity patterns (Steady, Abrupt, Linear, Periodic, and Mixed):

  • Toy 2D Multi-goal: A simple environment where the target location changes, providing a controlled setting for reward drift.
  • MuJoCo Benchmarks: Standard continuous control tasks (Hopper, HalfCheetah, Walker2d, Ant, Humanoid) with injected drift via varying body mass and joint friction.
  • Isaac Gym: Large-scale, high-dimensional physics tasks with perturbations in gravity and joint damping.

Key Results

AES was tested as a plug-in for four major algorithms (SAC, PPO, SQL, and MEow), yielding consistent improvements across the board:

  • Faster Recovery: In abrupt change scenarios, AES reduced recovery time by nearly half. For example, in SAC, recovery time dropped from ~13.96% to 7.74% of total training steps.
  • Reduced Performance Drop: The "DropRatio" (performance lost due to drift) was significantly lower. In some "Mixed" drift tasks, AES reduced performance degradation by over 50%.
  • Stability in the Steady State: A major finding was that AES does not hurt performance when the environment is stationary. It effectively "relaxes" exploration when it isn't needed.
  • Cross-Algorithm Consistency: The method worked effectively for both off-policy (SAC) and on-policy (PPO) carriers, proving its viability as a general-purpose solution.

Limitations and Future Directions

While highly effective, AES has a few limitations:

  • Proxy Sensitivity: TD-error is a strong proxy but can be noisy. The authors suggest that other signals, such as model disagreement or critic-parameter drift, might be even more robust in certain scenarios.
  • Hyperparameter Tuning: AES introduces a few hyperparameters (like the quantile $q$ and scale $\kappa$). While the paper provides a calibration procedure, finding optimal settings for a brand-new domain might require initial tuning.

Ultimately, entropy is just one piece of the adaptation puzzle. Future work could integrate AES with other mechanisms—like adaptive learning rates or replay buffer management—to create fully "variation-aware" RL agents.

Summary updated

BibTeX
@inproceedings{wang2026tracking,
  author = {Tongxi Wang and Zhuoyang Xia and Xinran Chen and Shan Liu},
  title = {{Tracking Drift: Variation-Aware Entropy Scheduling for Non-Stationary Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=dTC2pUbFQ0},
}
Figure