Abstract
We study online policy optimization in nonlinear time-varying systems where the true dynamical models are unknown to the controller. This problem is challenging because, unlike in linear systems, the controller cannot obtain globally accurate estimations of the ground-truth dynamics using local exploration. We propose a meta-framework that combines a general online policy optimization algorithm (ALG) with a general online estimator of the dynamical system’s model parameters (EST). We show that if the hypothetical joint dynamics induced by ALG with known parameters satisfies several desired properties, the joint dynamics under inexact parameters from EST will be robust to errors. Importantly, the final regret only depends on EST’s predictions on the visited trajectory, which relaxes a bottleneck on identifying the true parameters globally. To demonstrate our framework, we develop a computationally efficient variant of Gradient-based Adaptive Policy Selection, called Memoryless GAPS (M-GAPS), and use it to instantiate ALG. Combining M-GAPS with online gradient descent to instantiate EST yields the first local regret bound for online policy optimization in nonlinear time-varying systems with unknown dynamics.
Introduction: The Challenge of Unknown Nonlinearity
Online policy optimization (OPO) is a critical tool for controlling systems that evolve in real-time, such as drones navigating shifting winds or robotic manipulators handling varying loads. However, a significant gap exists in current OPO theory. Most existing guarantees rely on one of two restrictive assumptions: either the system is linear, allowing for easy global model deduction via local exploration, or the nonlinear dynamics are perfectly known in advance.
In practice, real-world systems are highly nonlinear, time-varying, and their exact mathematical models are rarely known. Extrapolating global nonlinear dynamics from local data is notoriously difficult. This paper addresses this gap by asking: how can we optimize control policies online in nonlinear, time-varying systems without a perfect simulator or global model?
The Meta-Framework: Decoupling Control and Estimation
The authors introduce a "lazy learning" meta-framework that modularizes the problem into two interacting components:
ALG(Online Policy Optimization): This module updates the control policy parameters ($\theta_t$) to minimize cumulative costs.EST(Online Parameter Estimator): This module estimates the unknown parameters ($\hat{a}_t$) of the system's dynamics based on observed transitions.
A key theoretical contribution is the robustness analysis. The authors compare the system with unknown parameters (Figure 1) against an idealized system where parameters $a^*_t$ are known (Figure 2). They prove that if the idealized system is stable and satisfies certain properties, the system using estimates from EST will remain robust to estimation errors.
Crucially, EST does not need to learn a globally accurate model. It only needs to minimize prediction errors on the actual states visited by the system. This "trajectory-dependent" learning significantly relaxes the requirements for successful control in complex nonlinear environments.
M-GAPS: Efficiency at Scale
To instantiate the ALG component, the authors developed Memoryless Gradient-based Adaptive Policy Selection (M-GAPS). Previous state-of-the-art algorithms (like GAPS) required $O(\log T)$ memory and computation per time step to estimate gradients by processing past trajectories.
M-GAPS improves upon this by introducing an auxiliary state variable that accumulates past partial derivatives. This innovation slashes the computational and memory complexity to $O(1)$ per step while maintaining the same theoretical regret guarantees, making it suitable for high-frequency real-time control.
Key Insights: Why Trajectory-Dependent Learning Works
- Local Accuracy is Sufficient: The policy optimizer can succeed as long as the estimator accurately predicts the zeroth-order (value) and first-order (gradient) dynamics along the specific path the agent takes.
- Exploiting Natural Noise: To bound policy update errors, the estimator must get the gradients of the dynamics right. The authors prove that small amounts of natural random noise in the system act as a form of "implicit exploration," forcing the estimator to learn these gradients accurately.
- Plug-and-Play Modularity: By defining specific mathematical criteria for the interaction between
ALGandEST, the framework allows researchers to swap in different online learning algorithms for either module, provided they meet stability requirements.
Results and Theoretical Impact
The paper achieves a major theoretical milestone: the first local regret bound for online policy optimization in nonlinear, time-varying systems with unknown dynamics.
Empirically, simulations of a scalar discrete-time nonlinear system subject to random walk disturbances demonstrated the framework's effectiveness. When system parameters changed abruptly, the meta-framework successfully optimized costs and significantly outperformed traditional adaptive controllers. It maintained low tracking errors and demonstrated rapid recovery following sudden environmental shifts.
Conclusion and Future Work
While the framework provides strong guarantees, it currently relies on a "matched-disturbance" assumption, where the controller's input can theoretically cancel out unknown nonlinearities. Additionally, it assumes the nonlinear residual is affine with respect to unknown parameters to ensure stability. Future research aims to relax these assumptions, potentially extending the framework to non-affine parameters in slowly changing environments and broader classes of nonlinear dynamics.
Summary updated