TL;DR
Real-world robotic systems inevitably change over time due to mechanical wear, thermal drift, or shifting payloads, yet standard model-based reinforcement learning (MBRL) assumes environment dynamics are completely stationary. This paper introduces two algorithms, R-OMBRL and SW-OMBRL, which explicitly restrict the agent's data buffer using periodic resets or sliding windows to discard stale data. By combining these forgetting mechanisms with uncertainty-aware exploration, the authors provide the first sublinear dynamic regret guarantees for continuous, non-linear, non-stationary control systems and validate them on both complex MuJoCo simulations and physical RC car hardware.
What Problem Does This Paper Address?
Model-based reinforcement learning (MBRL) is highly valued for its sample efficiency because it learns a transition dynamics model of the environment to plan future actions. However, standard MBRL algorithms operate under a major assumption: the physics of the world never change.
In reality, a robot's joints wear out, tires lose grip, or battery voltages drop. When an agent naively aggregates all historical data to train its dynamics model under these non-stationary conditions, old data biases the model. The agent becomes overconfident in an outdated version of physics, leading to catastrophic planning failures. This paper tackles a fundamental question: How can an RL agent dynamically adapt to time-varying physics while maintaining rigorous theoretical guarantees on its performance?
Methods
The authors formalize the problem as an episodic RL task under a variation-budget model, which mathematically restricts how much the true system dynamics can change from one episode to the next within a Reproducing Kernel Hilbert Space (RKHS).
To prevent old data from corrupting the model, they propose two data-forgetting mechanisms:
- R-OMBRL (Reset-based Optimistic MBRL): The data buffer is completely emptied periodically every $H$ episodes, forcing the model to retrain only on the most recent experience.
- SW-OMBRL (Sliding-Window Optimistic MBRL): The data buffer maintains a strict sliding window of the most recent $w$ episodes, continuously discarding the oldest transitions.
Both algorithms use Optimistic Exploration, treating the epistemic uncertainty (the model's self-identified lack of knowledge) as an intrinsic reward. This guides the agent to explore parts of the state space where the dynamics might have drifted.
To scale these principles from theoretical Gaussian Processes (GPs) to high-dimensional continuous control, the authors substitute GPs with Deep Ensembles (Bayesian Neural Networks) and optimize the policy using Soft Actor-Critic (SAC). Crucially, they introduce soft resets—periodically blending the current network weights with a random initialization—to maintain neural network plasticity and prevent the model from getting stuck in old parameter regimes.
Datasets
The algorithms were evaluated on two main testbeds:
- Modified MuJoCo & Gym Benchmarks: Classic continuous control tasks—including Pendulum, HalfCheetah, Hopper, InvertedDoublePendulum, Ant, Walker2d, HumanoidStandup, and Humanoid—were modified to introduce non-stationarity. The authors simulated actuator degradation by exponentially decaying the maximum admissible torque/control authority over the course of the episodes.
- Physical RC Car Platform: A real-world, high-torque RC racecar task requiring a dynamic parking maneuver. Non-stationarity was introduced by decaying the maximum throttle over time, forcing the optimal strategy to transition from aggressive drifting to standard precision parking.
Key Insights and Ideas
- The Stale Data Mismatch: Standard variance estimates in neural network ensembles or GPs only capture statistical uncertainty assuming a fixed function. They are completely blind to temporal drift. Therefore, keeping all data makes the model confidently wrong.
- Less Data is More: Counterintuitively, throwing away perfectly good historical data is theoretically necessary to keep the model's uncertainty calibrated under non-stationarity.
- The Bias-Variance Trade-off: The buffer size ($H$ or $w$) controls a critical trade-off. A small window allows rapid adaptation to changing physics (low bias) but suffers from limited data for training (high variance). A large window provides stable data but retains stale physics (high bias).
- Weight Plasticity is Mandatory: Simply clearing the data buffer isn't enough if you are fine-tuning a neural network; the network weights can become saturated or lose plasticity. The "soft resets" introduced in this paper are vital to ensure the network remains capable of rapid relearning.
Key Results
- Theoretical Guarantees: The authors derived the first dynamic regret bounds for continuous, non-linear systems under non-stationarity, proving that sublinear dynamic regret is achievable by balancing the window size against the variation budget.
- Simulation Performance: In all MuJoCo environments, standard stationary MBRL (SOMBRL) suffered from rapidly accumulating linear regret as the dynamics drifted. In contrast, R-OMBRL and SW-OMBRL successfully adapted, flattening the regret curves across slow, medium, and fast decay rates.
- Hardware Validation: On the physical RC car, the stationary baseline failed to adapt to the decaying throttle and could no longer complete the parking maneuver. R-OMBRL successfully discarded the old "high-throttle drifting" data, adapted its internal physics model, and learned a clean, drift-free parking trajectory.
Limitations and Future Work
- A Priori Hyperparameters: The optimal reset period $H$ and window size $w$ currently must be chosen beforehand based on an assumed knowledge of the variation budget. Automatically and adaptively sizing the window based on real-time data stream discrepancies remains an open challenge.
- Types of Non-Stationarity: The empirical evaluation focused heavily on monotonic parameter decay (gradual degradation). How well these methods handle sudden, abrupt shifts (e.g., a sudden component failure) or cyclic variations (e.g., changing weather conditions) requires further study.
- Episodic Constraint: The theoretical framework relies on an episodic structure where dynamics change across episode boundaries. Extending this to fully non-episodic, continuous-time deployments is a critical next step for real-world robotics.
Summary updated